Page 1 of 1
403 Forbidden
Posted: Tue Sep 27, 2005 2:29 pm
by John Cartwright
Ok! Well, I have an htaccess file in /root/web/share/, and when I add to my blank htaccess RewriteEngine On I get
Forbidden
You don't have permission to access /share/ on this server.
Apache/2.0.52 (Win32) PHP/4.3.10 Server at localhost Port 80
I have no idea why mod rewrite is causing this, any ideas?
Posted: Tue Sep 27, 2005 2:46 pm
by Buddha443556
Total guess but maybe:
EDIT: before any rewrite stuff
Posted: Tue Sep 27, 2005 3:12 pm
by pickle
Does this happen when you have just the blank .htaccess file in there? If not, are the entire contents of that .htaccess file:
???
Posted: Tue Sep 27, 2005 3:16 pm
by John Cartwright
Buddha443556 wrote:Total guess but maybe:
If you are refering to the actual httpd.conf then could you be a bit more specific.
If you are refering to the .htaccess file, the rewrite engine on is the only thing on the file.
Posted: Tue Sep 27, 2005 3:23 pm
by Buddha443556
Jcart wrote:Buddha443556 wrote:Total guess but maybe:
If you are refering to the actual httpd.conf then could you be a bit more specific.
If you are refering to the .htaccess file, the rewrite engine on is the only thing on the file.
I was referring to the .htaccess. Yes, put it before the rewrite engine on.
Posted: Tue Sep 27, 2005 3:25 pm
by John Cartwright
Oh cool, seemed to work.. could you explain?
Posted: Tue Sep 27, 2005 3:30 pm
by Buddha443556
Jcart wrote:Oh cool, seemed to work.. could you explain?
Mod_Rewrite needs to be able to follow symlinks, that just turned them on.