Pogledajte određenu poruku
Staro 13. 02. 2012.   #1
spezia
član
Certified
 
Datum učlanjenja: 21.05.2010
Lokacija: Nis
Poruke: 54
Hvala: 24
443 "Hvala" u 10 poruka
spezia is on a distinguished roadspezia is on a distinguished roadspezia is on a distinguished roadspezia is on a distinguished roadspezia is on a distinguished road
Default Mod rewrite - uklanjanje .php i codeigniter

Pozdrav,

Ako ima slicna tema nek neko baci link, preko google nisam nasao ono sti mi treba...

recimo imam ovakav url

http://test.localhost/admin.php/skola/profesor/djak

Meni treba da se ukloni .php i da bude

http://test.localhost/admin/skola/profesor/djak

Problem je sto posle ne vidi /skola/profesor/djak i ispisuje
The requested URL was not found on this server.

Probao sam razne tutoriale i nisam razumeo gde gresim..,


Probao sam ovako
Kôd:
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{QUERY_STRING} (.*)  
RewriteRule ^admin$ admin.php/$1 [NC,L]
Meni ovo kaze, ako nadjes u url "admin" zameni sa admin.php... Samo neznam sta cu sa ovim nastavkom /skola/profesor/djak...
spezia je offline   Odgovorite uz citat
261 članova zahvaljuje spezia za poruku:
aaawamois, aaleragail, acheaplv, achelmeyerneilk, aczapiewskshain, aennimancarm, aeprocaccnath, aionscalzconc, alatchawsteve, aliznaroma, allen4jim, amillsapclas, aninaesausatur, anorthfacemens, aoncadarr, apelmanhora, areraodel, arinalva, ariskaahme, arussianbran, asakamakimarc, atyraanis, bilpboyc, brdvenablerayfo, btonburt, calmoncenath, caltouchenath, campanellawiley, candchan, cbuynecklaces, celebritybrautk, ceszucheldr, cfacecheap, cfakecoach, cheapestcheapes, cheaptiffany, clgroschmurie, cmmecare, cstorecanada, ctarrickdied, cteciuccihenr, dgendant, dokedziersrosen, dorflesnersalva, dswhiddendema, dyejidemcki, eabuechersophi, eambleclai, eardleyelis, ebeisermarq, ebuyaccessories, eclawgesrayf, ecoervergabr, econeclar, edressesgreen, eduplerjerr, eeblinetyron, egressettfavi, ejerseynfl, elworstermanue, emathiesokenn, emergelhous, emizeeedmu, encasteranto, enereebthom, engebretsrick, enhaldermjona, enpaynetruma, enzatimd, eorsearth, eoulterjord, epromdesigns, erexk, erisselrosc, ershauerbric, esbissonetulyss, fcheapfitsole, fhrentfrokhad, fuppfide, gearringssivler, ghiangfaus, haughbobb, hlaschalbe, hschherb, htzschneda, iaidimarc, ichristianheels, idvddisney, ihybhatiatimot, iiantanidamarcp, iizzisamo, ijoachimteod, imandarinoveola, inejennieroxan, inmonningequent, iocrationhumb, ioltmeierlynd, ionpanfilprest, ipluvoisestep, irdfinninwinfo, iyuriciclave, jbenjame, jciajule, jnayjaso, jsenajelia, kbierskiaria, kbosaknelle, kdlakrick, kdubykmajor, kelambkaruth, khackduan, klockelmo, komalakowrein, ksaajokuthere, ktrackeisid, kuzenskimarcn, kwinskiiren, larholburt, lartorellozadam, lclachlandust, ldiellobryo, ldoduchschreyna, lemosellerobbi, lempelkell, linodeetermarce, lionlyle, lmesserlymisty, lnemccalebmarli, locellelli, lriedldonn, lvaubelyoung, meistmaikl, menicomeodett, metwmper, mgronmonte, minsmacw, mjanemiles, mlbaumrosse, mnachambevict, mnamark, msematt, naginalme, nbereznycedr, nbrabantarma, ncartooncartoon, nenningmick, nesimankricki, ngreenbackmarti, nielneversnatha, nieningshan, nilvanodust, nipionidieg, nkallenbemaur, nkemaneddi, nnvalentasun, nohlingjeni, norbinshan, nramanyjule, nrtmanwenwe, nsveentreva, ntasklandruper, nteilingayan, nwiegandkatr, oanomar, obertoerro, ocintoyongs, oegwoodsydn, okristoffflor, oldutkomigue, olmilhoanhers, orangnowshaun, oronomark, osjoem, ostudiostudio, otkersonlesl, ottleroehugo, pcheapface, pdekenipproger, piehlphilr, poffenbergmason, prdpala, qlspraquemars, racmurraylize, rahrexv, rallorcole, raynormarl, rdemarckris, rdheminovemayna, redmonstonwarne, refnerrein, renmorebufo, reppsreysh, rheldermajuli, rlamryan, rlaverestep, rldogarrreyna, rlingeriebuy, rnnagaminewilbu, rochnersungb, ronicodemumilag, rransbrowerne, rruppenthatanne, rrymerjaci, rslerkimp, rtbonadonanorbe, rtoontivernorbe, ruhnerrenek, rumbersjoey, rverydresses, rwaversteve, rylordann, rymyerkrai, saccorsiamos, sairdiscount, sceeashcons, sdressesdresses, semerssonn, shelmsdarr, sholesarie, skocsismoshe, soatsomm, sosephsenbust, sowsamd, srdbaisesanfo, sriahnastazacha, stensmaik, stwiesarie, syerssand, tarnetcalv, taslattershaq, tatttobi, teastali, tewittgran, tezabielskyevet, tineheindevalen, tinregestevalen, tizattsolo, tjacketjacket, tolyottjero, tpopptrang, traditionaltrad, trestimm, tscristedema, tucholtzsamu, twaratmarc, uaneinouyesteph, udiscountbags, uolyneuxmarc, uungblutsonyo, vienvert, waskiewichowa, wholesalephones, wholesaleprices, yaircorytiffany, yatelybret, yleraymard, yntyno, yrleyange, ytelajoyetonet, yumroyarle, zerganzazaneb