I have phpBB3 in a sub-directory named forums. When you visit the site root, it properly redirects to /forums. However, I would like to make use of the phpBB error pages, such as 404, etc., outside of the /forums directory.
Is there a way to do this by editing the site root's .htaccess file? Right now, I am using custom error pages, but don't want to maintain them to update the standalone CSS as I switch between phpBB versions and styles. I'd like to remove the ErrorDocument stuff and have it use the routing in the /forums directory.
Current site root .htaccess:
Code: Select all
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Options -Indexes
ErrorDocument 403 /customerrors/403.html
ErrorDocument 401 /customerrors/401.html
ErrorDocument 500 /customerrors/500.html
ErrorDocument 400 /customerrors/400.html
ErrorDocument 404 /customerrors/404.html
Thanks!