No of visitors who read this post: 302
Category: Web
Type: Question
No votes yet

Hello,

Can I make two 404 pages for one website in is?

 I need one to be for the public and one for a members who log in.  

Thanks.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

# Comment Id: 56817

You can create one 404 page for your site. Also, you can make two. But you have to got a several idea about create a 404 page.

You have to maintain two steps.

Step one- modified the httpd.conf file

Find out your web sever configuration file it called as httpd.conf

Now you have to find out the block of statements, it signifies your servers behavior and location. You can fond it here- /etc/httpd/httpd.conf, /usr/local/www/conf/httpd.conf

In typed server, it will be look like that I given below-

<VirtualHost www.intuitive.com>
ServerName www.intuitive.com
ServerAdmin taylor@administration.com
DocumentRoot /usr/local/www/intuitive.com
ErrorLog logs/intuitive/error_log
TransferLog logs/intuitive/access_log
</VirtualHost>

The process is going with it's way. Visit here for a detailed- http://www.404-error-page.com/404-create-a-custom-404-error-page.shtml

You can visit this site also for a better idea- http://en.wikipedia.org/wiki/HTTP_404