- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: 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
Discussions
Discussions
Forums
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
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 11:45 AM
тАО12-08-2003 11:45 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2003 11:58 AM
тАО12-08-2003 11:58 AM
Re: Linux/Apache
If so, did you put your 'ErrorDocument' line within one of them? If you did, then this would explain it.
Otherwise we need to look further.
What does the 404 error you are getting look like? (can you save the out-putted HTML page, and attach it to a reply?). It might be possible that a proxy server is configured between you and your host, and that is seeing a 404 and showing it's own failure message.
Another possiblity is that the request is being redirected to somewhere else (iptables redirect, or similar NAT). To check this, have a look at the log files when you make your connection. The 'access_log' should show a 404 connection, as well as an associated 'error_log' entry (i.e.:
10.10.10.10 - - [09/Dec/2003:11:57:25 +1100] "GET /blah/ HTTP/1.0" 404 1054 "-
" "-"
and
[Tue Dec 09 11:57:25 2003] [error] [client 10.10.10.10] File does not exist: /
var/www/html/blah
). Show us these if you have them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2003 12:14 PM
тАО12-08-2003 12:14 PM
Re: Linux/Apache
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
--------------------------------------------------------------------------------
Please try the following:
If you typed the page address in the Address bar, make sure that it is spelled correctly.
Open the rockfish home page, and then look for links to the information you want.
Click the Back button to try another link.
Click Search to look for information on the Internet.
HTTP 404 - File not found
Internet Explorer
#############################################
The only files I see for logs are: mrtg and usage. I cant seem to find a log. I'll keep looking.
root@rockfish html]# pwd
/var/www/html
[root@rockfish html]# ll
total 8
drwxr-xr-x 2 root root 4096 Aug 21 11:26 mrtg
drwxr-xr-x 2 webalizer root 4096 Dec 2 04:02 usage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2003 12:24 PM
тАО12-08-2003 12:24 PM
Re: Linux/Apache
10.100.222.49 - - [08/Dec/2003:20:06:10 -0500] "GET /ihs_fac_acct_rpt.html HTTP/1.1" 200 19256 "http://portal/RoleBased/Roles_cs/pr_view_frameset.aspx" "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)"
10.100.222.49 - - [08/Dec/2003:20:06:20 -0500] "GET /period1/NORTH_CORP.html HTTP/1.1" 200 3985 "http://rockfish/ihs_fac_acct_rpt.html" "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)"
10.100.222.49 - - [08/Dec/2003:20:06:24 -0500] "GET /period1/NORTH_CORP_mec.html HTTP/1.1" 200 5560 "http://rockfish/period1/NORTH_CORP.html" "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)"
10.100.222.49 - - [08/Dec/2003:20:06:27 -0500] "GET /period1/2898_adjdt.txt HTTP/1.1" 404 53 "http://rockfish/period1/NORTH_CORP_mec.html" "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)"
##########################################
Another tail of another access error log:
Mon Dec 08 20:01:12 2003] [info] (104)Connection reset by peer: core_output_filter: writing data to the network
[Mon Dec 08 20:01:12 2003] [info] (32)Broken pipe: core_output_filter: writing data to the network
[Mon Dec 08 20:06:27 2003] [error] [client 10.100.222.49] File does not exist: /asu/fininterface/fsprd/webreports/period1/2898_adjdt.txt, re
ferer: http://rockfish/period1/NORTH_CORP_mec.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2003 01:57 PM
тАО12-08-2003 01:57 PM
Re: Linux/Apache
From your PC do a
telnet server 80
GET /document/path HTTP/1.0
You need two returns after the GET and case matters. This should show you what the server delivers. If this is the missing.html document look for proxy settings etc., else you still have an issue with the server.
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2003 02:51 PM
тАО12-08-2003 02:51 PM
Re: Linux/Apache
Martin's suggestion is the logical next step.
Did you look at the proxy settings in IE on your machine?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2003 03:55 PM
тАО12-08-2003 03:55 PM
Re: Linux/Apache
I think they came up with it because web designers keep changing 404 pages to suit their site's design making it hard for the user to realise that the page he/she is looking at is, in fact, an error page.
I'm sure a search on Google would clear this subject up - I think it's been talked to death.
This guy http://www.onlinetransmissions.com/articles/art_error_guidelines.asp
says you have to have an error page bigger than 512 bytes for IE 5+ to display it. (otherwise it displays it's own)
Hope this helps,
Cristi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2003 05:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2003 09:38 PM
тАО12-08-2003 09:38 PM
Re: Linux/Apache
1. To add an entry to your virtual host like the following:
ErrorDocument 404 "Your message"
or
ErrorDocument 404 /missing.html
if you rather using second option -then you must create the file missing.html in the DocumentRoot folder and to add the desired lines to it.
If you use Internet Explorer then you must take Stuart's advice and uncheck the "Show Friendly HTTP error messages" option otherwise you'll see IE's message.
Best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2003 11:24 PM
тАО12-08-2003 11:24 PM
Re: Linux/Apache
10x
RPM