Re: httpd config issue with documentroot



Roger N. Clark (change username to rnclark) wrote:
Alan > In message <43DEE139.2050607@xxxxxxxxx>
"Roger N. Clark (change username to rnclark)"
<username@xxxxxxxxx> wrote:

What do the error logs in /var/log/httpd/ say about it?

error_log:
File does not exist: /var/www/html/index.html/


Well? What's the problem?


The system adds the trailing / and says file does not exist.
If I delete the / in the url and hit return, the system
adds back the / and gives the error. If I delete
the index.html/ so it just reads something like
"http://www.aserver.com"; it works fine and reads the index.html
file in the /var/www/html/ directory. But enter the url:
"http://www.aserver.com/index.html"; and it fails giving the
above error message. For the case "http://www.aserver.com";
I can make unique changes to the index.html file and it reads
and displays them just fine. So there is not a permission
issue.

Problem solved!

It was not a server problem at all, but a mozilla problem
with its cache. I was working at a location that had intermittent
web access. Apparently when the net went down at certain points,
the data in the cache was not right. When I went back to that
page, which in one case happened to be the home directory,
it failed to load the page. How it got the trailing / in the url
I can't figure out. When I cleared the cache, the problem went away.

That is.... amazingly silly. I'm glad it works for you now. Are you sure you
didn't change anything else?


.



Relevant Pages

  • Re: Images not cached at subdomain URL
    ... you may receive the follow error message: ... Open the web site in Internet Explorer on a machine ... > does not cache any images at all when the subdomain URL is called ... > the images are cached normally. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: UnLocker and secure removing of USB peripherals
    ... the error message. ... Somehow the system had remained stuck ... in write back cacheing despite the alternative being ... cache hadn't been flushed). ...
    (microsoft.public.windowsxp.general)
  • Re: Infopath "Insufficient Security Privilege" on Share Point Serv
    ... "Clear the IE cache on the affected machines. ... If this doesn’t help also clear the InfoPath cache. ... Under the FormCache2 open the folder ... Security Privilege" error message and the form does not open. ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: How do I get a page to maintain control states?
    ... error message so that the user doesn't even have to use the back ... I assume the page is coming from IE's cache cause the time is the same ... >- if something is wrong I would redisplay the whole form with the error ... It could be also a IE settings. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Handling Maximun Length Exceed error in global.asax
    ... I am trying to handle th HttpException raised when you upload a file ... I changed the property maxRequestLength and I set it to 10000, ... again because it should show the error message. ... then the error message appears so I am pretty sure that its a cache ...
    (microsoft.public.dotnet.framework.aspnet)