Pogledajte određenu poruku
Staro 13. 02. 2012.   #3
dinke
Super Moderator
Invented the damn thing
 
Avatar dinke
 
Datum učlanjenja: 06.06.2005
Poruke: 2.371
Hvala: 370
701 "Hvala" u 194 poruka
dinke je pravi dragi kamendinke je pravi dragi kamendinke je pravi dragi kamendinke je pravi dragi kamendinke je pravi dragi kamendinke je pravi dragi kamendinke je pravi dragi kamen
Default

Ne znam odakle ti ono "admin.php" u linku ali obzirom da je u pitanju CodeIgniter, moj "wildguess" je da si default index stranu (index.php) u CI congifu zamenio sa admin.php. Imas u manualu kako se otarasiti toga, npr za index.php bilo bi:

Kôd:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
na ovaj nacin ces linkove poput foo.com/index.php/controler/method zameniti sa foo.com/controler/method. Naravno u ovom primeru samo trebas da zamenis index sa admin.

Takodje mislim da osim ovoga nema potrebe preterano prckati sa mod_rew-om posto CI ima odlicnu ruting klasu, pogledaj http://codeigniter.com/user_guide/general/routing.html za vise informacija.
__________________
Caught in a Web|Blogodak
With great power comes great responsibility!
dinke je offline   Odgovorite uz citat
274 članova zahvaljuje dinke za poruku:
aaawamois, aatavaolens, acheaplv, acheapnew, achelmeyerneilk, aczapiewskshain, aennimancarm, aeprocaccnath, aionscalzconc, alatchawsteve, aliznaroma, alovermannmiche, amillsapclas, aninaesausatur, anorthfacemens, aoncadarr, apelmanhora, areraodel, arinalva, aringascarl, ariskaahme, arussianbran, asakamakimarc, atyraanis, bapplebattery, bilpboyc, brdvenablerayfo, btonburt, campanellawiley, candchan, cbuynecklaces, cekcruz, celebritybrautk, cellocchiwino, ceszucheldr, cfacecheap, cfakecoach, cheapestcheapes, cheaptiffany, clgroschmurie, cmmecare, cstorecanada, ctarrickdied, cteciuccihenr, dgendant, dokedziersrosen, dorflesnersalva, dswhiddendema, dyejidemcki, eambleclai, eardleyelis, ebeisermarq, ebuyaccessories, eclawgesrayf, ecoervergabr, econeclar, edressesgreen, eduplerjerr, eeblinetyron, egressettfavi, ejerseynfl, elworstermanue, emathiesokenn, emergelhous, emizeeedmu, encasteranto, engebretsrick, enhaldermjona, enpaynetruma, enzatimd, eorsearth, epromdesigns, erexk, erisselrosc, ershauerbric, esbardneymarku, esbissonetulyss, fcheapfitsole, fhrentfrokhad, fnarufsabri, fuppfide, gearringssivler, ghiangfaus, giohoergeroctav, haughbobb, hcehyun, hneprchalvale, hschherb, htzschneda, iaidimarc, ichristianheels, idvddisney, ihybhatiatimot, iiantanidamarcp, iizzisamo, ijoachimteod, imandarinoveola, inmonningequent, iocrationhumb, ioltmeierlynd, ionpanfilprest, ipluvoisestep, irdfinninwinfo, istrahinarnu, iyuriciclave, jbenjame, jciajule, jnayjaso, jsenajelia, kbierskiaria, kbosaknelle, kdlakrick, kdubykmajor, kelambkaruth, khackduan, kmcvickermarj, komalakowrein, krfkell, ksaajokuthere, ktrackeisid, kuzenskimarcn, kwinskiiren, larholburt, lartorellozadam, ldiellobryo, ldoduchschreyna, lemosellerobbi, lempelkell, lerolees, linodeetermarce, lionlyle, lmesserlymisty, lnemccalebmarli, locellelli, lrbeatleyflet, lriedldonn, lvaubelyoung, meistmaikl, menicomeodett, mgronmonte, minsmacw, mjanemiles, mlbaumrosse, mnachambevict, mnamark, msematt, naginalme, nbereznycedr, nbrabantarma, ncabeceiramilto, ncarpinonumb, ncartooncartoon, nenningmick, nesimankricki, neveningparty, ngreenbackmarti, nielneversnatha, nieningshan, nilvanodust, nkallenbemaur, nkemaneddi, nnvalentasun, norbinshan, nordinoscot, nramanyjule, nrtmanwenwe, nsinapinkthoma, nsveentreva, ntasklandruper, nteilingayan, nwiegandkatr, nydencesa, oanomar, obertoerro, ocintoyongs, oegwoodsydn, oitchmorerowe, okingtondono, okristoffflor, olmilhoanhers, orangnowshaun, oronomark, ostudiostudio, otkersonlesl, ottleroehugo, pcheapface, pdekenipproger, piehlphilr, poffenbergmason, prdpala, qlspraquemars, racmurraylize, rahrexv, rallorcole, raynormarl, rdemarckris, rdheminovemayna, reckleromarh, redmonstonwarne, renmorebufo, reppsreysh, rheldermajuli, riggeralen, rlamryan, rlaverestep, rldogarrreyna, rlingeriebuy, rnnagaminewilbu, rnslerwend, rochnersungb, rransbrowerne, rruppenthatanne, rrymerjaci, rslerkimp, rtbonadonanorbe, rtoontivernorbe, ruhnerrenek, rumbersjoey, rverydresses, rwaversteve, rylordann, rymyerkrai, sairdiscount, sceeashcons, sdressesdresses, selmasnico, semerssonn, shelmsdarr, sholesarie, skocsismoshe, snbilkissmarli, soatsomm, sosephsenbust, sowsamd, srdbaisesanfo, sriahnastazacha, stensmaik, syerssand, tarnetcalv, taslattershaq, tatttobi, teastali, tercuttinsylv, tewittgran, tezabielskyevet, tineheindevalen, tinregestevalen, tizattsolo, tjacketjacket, tjohnstonhayw, tolyottjero, tpopptrang, traditionaltrad, trestimm, tscristedema, tucholtzsamu, twaratmarc, uaneinouyesteph, udiscountbags, uolyneuxmarc, uungblutsonyo, vienvert, waskiewichowa, wholesalephones, wholesaleprices, yaircorytiffany, yatelybret, yleraymard, yntyno, yrleyange, ytelajoyetonet, yumroyarle, yusleycedr, zerganzazaneb