[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
virtual_server
- From: "Angel Marin" <anmar gmx net>
- To: <tux-list redhat com>
- Subject: virtual_server
- Date: Wed, 13 Mar 2002 19:41:54 +0100
I have a production server with virtual_server feature enabled, I have
noticed that when a request is made to an URL that is a directory
(http://some.domain.tld/some_dir) without the last "/" tux response is a
HTTP 301 code and redirects the request to
(http://some.domain.tld/some_dir/) as expected.
The problem is if you have an url starting with www. if you request
http://www.some.domain.tld/some_dir tux redirects the client to
http://some.domain.tld/some_dir/
I also noticed that the request is stored in the logs without the www. part
so it is not possible to analyse the log files correctly as you don't know
how many requests you get with or without the www. in the url.
Then I had to comment the lines that strips off the www part of the url and
recompile my kernel.
Conclusion: the redirection without the www. is not the desired behaviour,
but it could also be useful for some of us a configuration option (lets say
mass_hosting_hash -> 4 or so) to disable the www strip off.
(this has been tested with tux2-full-2.4.17-final-A1 and tux-2.2.3)
Angel.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]