Forum Moderators: phranque
Forbidden
You don't have permission to access /example/ on this server.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Your custom error documents for 403 are working (which can be seen if you generate just a pure 403 error), but in this case the 500 internal server error is taking precedence over this incidental 403 error.
Here are the details from our Apache error log regarding the 500 internal server error:
[Thu Mar 10 13:33:22 2011] [error] [client 220.255.nn.nnn] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
# Skip all rules for robots.txt and custom error document requests
RewriteRule ^(robots\.txt|403-error-page\.html|500-error-page\.html)$ - [L]
# Skip all rules for robots.txt and custom error document requests
RewriteRule ^(robots\.txt|[0-9]{3}-error-page\.html)$ - [L]
ErrorDocument 403 /errors/403-error.html
ErrorDocument 404 /errors/404-error.php
ErrorDocument 410 /errors/410-error.php
ErrorDocument 403 http://example.com/errors/403-error.html
ErrorDocument 404 403 http://example.com/errors/404-error.php
ErrorDocument 410 403 http://example.com/errors/410-error.php