Welcome Guest, Not a member yet? Register   Sign In
URL Rewrite not working correctly

Hi all, my host is dreamhost and I've been having problems with the URL rewrite. It used to work but after installing subversion on my site i need to prevent it from rewriting /svn/ and now it's been acting weird. When I go to my site, it redirects me to www.mysite.com/authcontrol however the following error shows up:
Quote:404 Error The requested URL /authcontrol was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
But when I type in www.mysite.com/index.php/authcontrol, the page shows up, but still the links all point to www.mysite.com/somelink and not www.mysite.com/index.php/somelink.

So I tried renaming my .htaccess to s.htaccess so it won't be read by the server. But nothing changes! Is the server just taking long to propage my .htaccess file? I've been on this since yesterday and nothing has changed.

Here's my .htaccess file:
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond $1 !^(svn)
    RewriteCond $1 !^(index\.php)
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI}  ^/svn [NC]
    RewriteRule ^(.*)$ index.php/$1 [QSA,L]

<IfModule !mod_rewrite.c>

    ErrorDocument 404 /index.php

Messages In This Thread
URL Rewrite not working correctly - by El Forum - 01-09-2008, 12:32 PM
URL Rewrite not working correctly - by El Forum - 01-09-2008, 01:06 PM

Theme © iAndrew 2016 - Forum software by © MyBB