hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Design and Content : Web Design and Content Tutorials : error pages
Reply

Web Design and Content Tutorials Tutorials on web design and content.
Forum Jump

error pages

Reply Post New Thread In Web Design and Content Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 03-03-2006, 10:14 PM
graba99 graba99 is offline
New Member
 
Join Date: Mar 2004
Location: zagreb
Posts: 2

error pages


Is it possible to have 2 different custom error pages of a same branch (let say 401) on server?

Reply With Quote


Sponsored Links
  #2  
Old 03-05-2006, 07:33 AM
jmweb jmweb is offline
Web Hosting Master
 
Join Date: Dec 2002
Location: Prince Edward Island
Posts: 2,287
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

Reply With Quote
  #3  
Old 03-06-2006, 10:48 AM
Patrick Patrick is offline
Stairway To Hosting
 
Join Date: Mar 2003
Location: Canada
Posts: 8,054
Quote:
Originally Posted by graba99
Is it possible to have 2 different custom error pages of a same branch (let say 401) on server?
Just a little confused, do you mean you want 2 different 404 error pages for example? Like one time it'll show one thing... then the next, the other one... all random?

Reply With Quote
Sponsored Links
  #4  
Old 03-06-2006, 11:21 AM
StackHost StackHost is offline
Froggy Support
 
Join Date: Aug 2004
Posts: 1,384
Quote:
Originally Posted by Pat H
Just a little confused, do you mean you want 2 different 404 error pages for example? Like one time it'll show one thing... then the next, the other one... all random?
I think that is what he is asking, two 401 pages, each showing at different times or randomly. Is that correct OP?

Reply With Quote
  #5  
Old 03-07-2006, 10:40 PM
graba99 graba99 is offline
New Member
 
Join Date: Mar 2004
Location: zagreb
Posts: 2
Quote:
Originally Posted by goodydomains
I think that is what he is asking, two 401 pages, each showing at different times or randomly. Is that correct OP?
yes, kind of this, is it possible?

Reply With Quote
  #6  
Old 08-31-2006, 12:12 PM
jcornelius jcornelius is offline
New Member
 
Join Date: Aug 2006
Posts: 2
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

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Mozilla Firefox 23 Will Block Mix SSL Content by Default Web Hosting News 2013-04-12 11:39:07
Expired SSL Certificate Brings Down Windows Azure Cloud Web Hosting News 2013-02-25 10:38:00
Certified Hosting Deploys Varnish HTTP Caching for Faster Hosting Services Web Hosting News 2012-02-28 14:10:30
Google+ Business Pages – Implications for Search Marketing Blog 2012-01-25 09:58:46
Web Host 1&1 Experiences Server Outage Web Hosting News 2011-09-26 17:29:11


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?