• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mod_rewrite with subdirectories

#2
[eluser]marcoss[/eluser]
You have to set the sub-folder as your RewriteBase, like this:

Code:
RewriteEngine On
    RewriteBase /sub/folder/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php/$1 [L]


Messages In This Thread
mod_rewrite with subdirectories - by El Forum - 06-23-2008, 05:40 AM
mod_rewrite with subdirectories - by El Forum - 06-23-2008, 06:33 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.