How to redirect or show a page rather than "Forbidden" when i have directory listings off (htaccess/unix)
Use the ErrorDocument directive of Apache to display a custom error document.
The appropriate error code for Forbidden is 403.
Use the ErrorDocument directive of Apache to display a custom error document.
The appropriate error code for Forbidden is 403.