apache helping went I don't want it to help

Alex Beamish talexb-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Wed Jun 22 19:16:12 UTC 2005


On 6/22/05, David Thornton <david-FkEgs2FKm2NvBvnq28/GKQ at public.gmane.org> wrote:
> update:
> 
> version apache 1.3.33
> 
> logs:
> 
> <ip> - - [01/Jun/2005:05:06:24 -0400] "GET /myfile HTTP/1.0" 200 333
> "http://www.me.com/" "Mozilla/5.0 (Windows; U; Windows NT 5.1;
>  en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1"
> 
> <ip> - - [01/Jun/2005:05:06:25 -0400] "GET /myfile.html HTTP/1.0" 200
> 333 "http://www.me.com/" "Mozilla/5.0 (Windows; U; Windows NT 5.1;
>  en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1"
> 
> nice eh?

Yes -- now there's proof in the logs of what happened, so either
Apache is running in a mode where it returns the myfile.html when
asked for myfile, or perha[s there's a sym-link between myfile and
myfile.html. There may be other answers as well.

> David Thornton wrote:
> 
> > Hey guys,
> >
> > Maybe you guys can help me out with a little trouble I'm having.
> > I have a client who wants to stop apache from doing something it does
> > by default.
> >
> > If you have a file in htdocs called myfile.html
> >
> > you can surf to that file like this:
> >
> > http://www.me.com/myfile.html
> >
> > but transparently you can also use:
> >
> > http://www.me.com/myfile
> >
> > and you get the same file.
> >
> > My client wants to turn off this "feature" because it is "Ruining the
> > web reports".
> >
> > I've read:
> >
> > http://httpd.apache.org/docs/content-negotiation.html
> >
> > and I thought that a -MultiViews in Options would do the trick but it
> > didn't.
> >
> > Any pointers or help would be greatly apprecaited.
> >
> > david
> >
> 
> 
> --
> Let one walk alone,
> committing no sin with few wishes,
> like an elephant in the forest.
> -- ghost in the shell 2: Innocence
> 
> --
> The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
>
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list