Pogledajte određenu poruku
Staro 22. 10. 2009.   #3
void
novi član
 
Datum učlanjenja: 21.10.2009
Lokacija: usa
Poruke: 2
Hvala: 0
0 "Hvala" u 0 poruka
void is on a distinguished road
Default

Evo ti primer koji se koristi u Kohana projektima:

Kôd:
# Turn on URL rewriting
RewriteEngine On

# Installation directory
RewriteBase /

# Protect application and system files from being viewed
RewriteRule ^(application|modules|system) - [F,L]

# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# Rewrite all other URLs to index.php/URL
RewriteRule .* index.php/$0 [PT,L]
Mozes maknuti (ili komentirati):
# Protect application and system files from being viewed
RewriteRule ^(application|modules|system) - [F,L]


Izmeni index.php u /boot/server.php/$0

Poslednja izmena od void : 22. 10. 2009. u 00:15.
void je offline   Odgovorite uz citat