[BNM] Weird mod rewrite problem

Julian Blundell old at w34u.com
Tue Nov 4 15:07:22 GMT 2008


Hi

Just doing my first mod rewrite stuff, but I just get

Forbidden You don't have permission to access /potter_profile.php on this
server.

------------------------------
Apache/1.3.37 Server at test3.w34u.com Port 80

The contents of the .htaccess file looks like this


AuthUserFile /usr/local/etc/.htpasswd
AuthGroupFile /dev/null
AuthName "Pease enter the test area password"
AuthType Basic
require valid-user

# Turn on the rewriting engine
RewriteEngine On

RewriteRule ^potters/([A-Za-z0-9-]+)/?$ potter_profile.php?id=$1 [NC,L]

It ain't that complicated, any ideas anybody?

Jules


More information about the BNMlist mailing list. Powered by Wessex Networks