WEB SERVER CUSTOMIZATION
The 404 HTTP error must be handled by /pages.php script on your site or you will get "Page not found" errors when trying to access any page except main page . The installer attempts to configure error handling as needed, but in some cases it cannot be done automatically. If the installer couldn’t customize the web server configuration, you will need to make the required changes described in this section manually.
For the Apache web server, add the following lines to the file named .htaccess in the root folder of the installed system (or create the file if it does not exist):
|
Options –Indexes
ErrorDocument 404 /pages.php |
Note: If the system isn’t located in the root folder of the virtual server, you will need to specify the full path in the redirect line. Example: ErrorDocument 404 /myfolder/pages.php.
Note: If web server settings don’t allow customization by .htaccess files, you should add these lines to the configuration section of your virtual host in Apache main configuration file (or ask server administrator to do so).
For the IIS web server, set up the error 404 handler for the website as a URL pointing to the pages.php. Do not specify the domain name. It must look like /pages.php or /myfolder/pages.php.
|