SunQuest
           Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old February 24th, 2001, 10:32 AM
Ron Ron is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Posts: 16 Ron User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
How do I create my own 404 Error message on @Home?

They use their own...
http://members.home.net/asdf/adsf.htm

Please help!
Thanks!

Reply With Quote
  #2  
Old February 25th, 2001, 05:53 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
If they let you use .htaccess and allow you to override FileInfo, then you can override the default ErrorDocument directive. Since you might have no way of knowing whether or not they allow you to do so, you can just go ahead and upload an .htaccess and put the appropriate lines (check here -> http://httpd.apache.org/docs/mod/co...#errordocument) and see if it works or not. If it doesn't work, just give it up.

Reply With Quote
  #3  
Old February 25th, 2001, 11:41 AM
Ron Ron is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Posts: 16 Ron User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally posted by freebsd
If they let you use .htaccess and allow you to override FileInfo, then you can override the default ErrorDocument directive. Since you might have no way of knowing whether or not they allow you to do so, you can just go ahead and upload an .htaccess and put the appropriate lines (check here -> http://httpd.apache.org/docs/mod/co...#errordocument) and see if it works or not. If it doesn't work, just give it up.


So I just create a text document with just this line (for example):

ErrorDocument 404 "Page does not exist.

...and save it as ".htaccess" and that's it???
Oh yea, one problem, when I try to rename the text document it says "You must type a file name"...

Reply With Quote
  #4  
Old February 26th, 2001, 12:23 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Just create it and save it as htaccess.txt, then rename it to .htaccess from your FTP agent locally or on the server.

Reply With Quote
  #5  
Old February 26th, 2001, 02:36 AM
Ron Ron is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Posts: 16 Ron User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks...

Just makin sure I have this right:
1) create a .txt document with just the line ErrorDocument 404 "Page does not exist.
2) upload it
3) rename it to .htaccess

That's it?
Well I did that :-\ The file's there... but it doesn't work... oh well ...guess they don't have the "override FileInfo" option set

Is there any free webspace server you know of that supports what I'm tryin to do??

Thanks U!!!

Reply With Quote
  #6  
Old February 26th, 2001, 02:42 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> Is there any free webspace server you know of that supports what I'm tryin to do??

http://www.hypermart.net/

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > 404 Error Message


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway