PDA

View Full Version : .htaccess files


nicholas
06-29-2003, 08:21 AM
Subject Creating .htaccess files
Author nicholas

How do I create a custom 404 page?

First, create the html page that you want to be shown when a 404 error
occurs, name it 404.html, and upload to your data directory.
Next, create a file called .htaccess and put this in it:
&ErrorDocument 404 http://www.yourdomain.com/404.html
Upload this to your data directory.


Subject Password protection
Author nicholas

How do I use password protection?

File path: /home/yourdomain.com/data/.htaccess or .htpasswd