why "You don't have permission to access /a/ on this se

New to mod_rewrite? This is a good place to start.

why "You don't have permission to access /a/ on this se

Postby lbw » Wed Apr 28, 2004 1:41 am

hello

here is my conf :

---------------------------------------------------------
ProxyRequests off
ProxyPass / http://secu.proxy.com/
<Location />
ProxyPassReverse http://secu.proxy.com/
</Location>

RewriteEngine On
RewriteLog logs/rewrite.log
RewriteLogLevel 9
RewriteRule etc/passwd / [F]
RewriteRule etc/shadow / [F]
RewriteRule /./ / [F]
RewriteRule /../ / [F]
RewriteRule ^/$ http://secu.proxy.com/ [P]
RewriteRule ^/$ http://secu.proxy.com/a/ [P]
RewriteRule .* / [F]
---------------------------------------------------------

the reverse proxy is "proxy.com" and the server "secu.proxy.com"
i have no idea about why i can't reach http://secu.proxy.com/a/ whereas i put a rule in this way...
if i try "http://secu.proxy.com/a/ ", it answers "You don't have permission to access /a on this server."(error 403)

moreover; how could i accept all the /a/ directory and not just the url http://secu.proxy.com/a/

could you help me?
all the best,



(of course, it works if i delete the rewrite rules.)
lbw
 

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 39 guests

cron