Welcome Guest, Not a member yet? Register   Sign In
.htaccess issues
#1

[eluser]Unknown[/eluser]
OK, so I use .htaccess to remove the index.php from the URL.
The installation is in /home/username/public_html/

This is the .htaccess code:
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|dev|image|include|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

In the condition statement, it is set to bypass the index.php for the dev, image, and include directories. It works great for the image and include directories, but it is still routing the dev sub directory to the index.php, giving me a 404 because there is no controller named "dev".

Any help would be greatly appreciated.

Keith


Messages In This Thread
.htaccess issues - by El Forum - 07-10-2008, 07:07 PM
.htaccess issues - by El Forum - 07-11-2008, 06:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB