page 404

  • UniquelyYoursPC
  • Web Master
  • Web Master
  • User avatar
  • Joined: Jan 22, 2003
  • Posts: 2998
  • Loc: Canada "A"
  • Status: Offline

Post April 24th, 2004, 11:52 am

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?
Custom Built Computers & The Top Quality Hardware Money Can Buy
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post April 24th, 2004, 11:52 am

  • _Leo_
  • Proficient
  • Proficient
  • User avatar
  • Joined: Feb 17, 2004
  • Posts: 279
  • Loc: Buenos Aires, Argentina
  • Status: Offline

Post April 24th, 2004, 12:59 pm

Depends on the web server software. If the software supports that feature, it should be documented.
  • UniquelyYoursPC
  • Web Master
  • Web Master
  • User avatar
  • Joined: Jan 22, 2003
  • Posts: 2998
  • Loc: Canada "A"
  • Status: Offline

Post April 24th, 2004, 1:21 pm

he is useing apachy (spelling)
Custom Built Computers & The Top Quality Hardware Money Can Buy
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post April 24th, 2004, 2:18 pm

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.
Strong with this one, the sudo is.
  • rDolay
  • Expert
  • Expert
  • No Avatar
  • Joined: Jan 16, 2004
  • Posts: 541
  • Status: Offline

Post April 24th, 2004, 3:10 pm

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.
Best Wrist Watches
  • UniquelyYoursPC
  • Web Master
  • Web Master
  • User avatar
  • Joined: Jan 22, 2003
  • Posts: 2998
  • Loc: Canada "A"
  • Status: Offline

Post April 25th, 2004, 9:09 am

he has no .htaccess
he was going to add one some time this week i think
Custom Built Computers & The Top Quality Hardware Money Can Buy
  • Axe
  • Genius
  • Genius
  • User avatar
  • Joined: Jan 07, 2004
  • Posts: 5744
  • Loc: Sub-level 28
  • Status: Offline

Post April 25th, 2004, 9:57 am

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
  • Joined: Jan 22, 2003
  • Posts: 2998
  • Loc: Canada "A"
  • Status: Offline

Post April 25th, 2004, 3:17 pm

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
Custom Built Computers & The Top Quality Hardware Money Can Buy
  • UniquelyYoursPC
  • Web Master
  • Web Master
  • User avatar
  • Joined: Jan 22, 2003
  • Posts: 2998
  • Loc: Canada "A"
  • Status: Offline

Post April 25th, 2004, 3:19 pm

i have a .htaccess file but if i just upload it will it work?
Custom Built Computers & The Top Quality Hardware Money Can Buy

Post Information

  • Total Posts in this topic: 9 posts
  • Users browsing this forum: No registered users and 280 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
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.