- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Linux/Apache
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 01:29 AM
12-08-2003 01:29 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 01:34 AM
12-08-2003 01:34 AM
SolutionIn this file, you'll file a sesction on customizable error response. I think the bit you want to change uncomment is
ErrorDocument 404 /missing.html
This will display "missing.html" instead of the standard 404 message.
When done either restart apache or "kill -1" the "httpd" process that has a parent of 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 01:38 AM
12-08-2003 01:38 AM
Re: Linux/Apache
ErrorDocument 404 "Document not found"
and then restart httpd service.
Regards,
Sergejs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 01:52 AM
12-08-2003 01:52 AM
Re: Linux/Apache
Search in httpd.conf for
#ErrorDocument 404 /missing.html
uncomment (take # out), and make sure missing.html is in your / path (usually /var/www/html).
Some of your clients, though, won't use server page and display their own error 404 page. There's not much you can do from the server side, except making missing.html as simple as possible (html, text, no image but .gif or .png, no swf or other fun stuff).
hth
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2003 03:13 AM
12-08-2003 03:13 AM
Re: Linux/Apache
This will tell you exactly what resource is bing requested, what the error is and what the source IP address(user) was.
This should be enough to track down the error.
httpd.conf is usually in /etc/httpd/conf
error_log usually is in /etc/httpd/logs
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com