Results 1 to 6 of 6
Thread: error pages
-
03-03-2006, 10:14 PM #1New Member
- Join Date
- Mar 2004
- Location
- zagreb
- Posts
- 4
error pages
Is it possible to have 2 different custom error pages of a same branch (let say 401) on server?
-
03-05-2006, 07:33 AM #2Web Hosting Master
- Join Date
- Dec 2002
- Location
- Prince Edward Island
- Posts
- 2,289
Yes! You can customize all your error pages to be completely different or all to be the same. I would suggest you use a combination
John
-
03-06-2006, 10:48 AM #3Web Hosting Master
- Join Date
- Mar 2003
- Location
- Canada
- Posts
- 9,072
Originally Posted by graba99RACK911 Labs | Penetration Testing | https://www.RACK911Labs.ca
www.HostingSecList.com - Security Notices for the Hosting Community.
-
03-06-2006, 11:21 AM #4Froggy Support
- Join Date
- Aug 2004
- Posts
- 1,387
Originally Posted by Pat H
-
03-07-2006, 10:40 PM #5New Member
- Join Date
- Mar 2004
- Location
- zagreb
- Posts
- 4
Originally Posted by goodydomains
-
08-31-2006, 12:12 PM #6Newbie
- Join Date
- Aug 2006
- Posts
- 5
You would need to send 401s to a PHP (or other language) script that prints content based on your other criteria (random, time of day, user agent, etc...)
Something like this in your .htaccess file should do it.
ErrorDocument 401 /error_handler.php?e=401