page 404

  • UniquelyYoursPC
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2997
  • Loc: Canada "A"

Post 3+ Months Ago

my host wants to know if there is a way he can have each site he host to have a diffrent 404 page
how do you do that?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • _Leo_
  • Proficient
  • Proficient
  • User avatar
  • Posts: 279
  • Loc: Buenos Aires, Argentina

Post 3+ Months Ago

Depends on the web server software. If the software supports that feature, it should be documented.
  • UniquelyYoursPC
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2997
  • Loc: Canada "A"

Post 3+ Months Ago

he is useing apachy (spelling)
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13503
  • Loc: Florida

Post 3+ Months Ago

This

You could either modify each domains root .htaccess file to include,
Code: [ Select ]
ErrorDocument 404 /custom404.html

Where "ErrorDocument 404" Tells apache to use "custom404.html" as that domains 404 page.

Or Modify the Root .htaccess file with the same "ErrorDocument" line only this time pointing to a script that checks what domain the 404 came from and redirecting to the appropreate page.
  • rDolay
  • Expert
  • Expert
  • rDolay
  • Posts: 541

Post 3+ Months Ago

joebert wrote:
This

You could either modify each domains root .htaccess file to include,
Code: [ Select ]
ErrorDocument 404 /custom404.html

Where "ErrorDocument 404" Tells apache to use "custom404.html" as that domains 404 page.

Or Modify the Root .htaccess file with the same "ErrorDocument" line only this time pointing to a script that checks what domain the 404 came from and redirecting to the appropreate page.


OR
fisrt add those lines to your .htaccess file

ErrorDocument 401 /errordocs/401.html
ErrorDocument 404 /errordocs/404.html
ErrorDocument 500 /errordocs/500.html

than create an /errordocs at the html dir of the every account which includes 404.html and other custom pages.
  • UniquelyYoursPC
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2997
  • Loc: Canada "A"

Post 3+ Months Ago

he has no .htaccess
he was going to add one some time this week i think
  • Axe
  • Genius
  • Genius
  • User avatar
  • Posts: 5739
  • Loc: Sub-level 28

Post 3+ Months Ago

He needs to CREATE the .htaccess file.

Or are you saying he has no access to override these things with a .htaccess?
  • UniquelyYoursPC
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2997
  • Loc: Canada "A"

Post 3+ Months Ago

he has access to the hole thing he owns it but he is going to add one to it so i can use a few programs and have my own 404 page
  • UniquelyYoursPC
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2997
  • Loc: Canada "A"

Post 3+ Months Ago

i have a .htaccess file but if i just upload it will it work?

Post Information

  • Total Posts in this topic: 9 posts
  • Users browsing this forum: No registered users and 113 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.