Re: [users@httpd] cleanest/fastest way of redirecting aliases to canonical server names

2011-01-29 Thread Jeroen Geilman
On 1/29/11 2:38 AM, Christoph Anton Mitterer wrote: Hi. I'm having a vhost, which is reachable via one canonical name, e.g. example.org, and also via several aliases, e.g. www.example.org, example.com, etc. I want that whenever requests are made via one of the aliases, that those are

Re: [users@httpd] problem with extra numbers after %h hostname/ip address in access_log

2011-01-29 Thread Jeroen Geilman
On 1/28/11 5:25 PM, Randy Tejas wrote: Hello, I'm seeing a problem in my logs where there are extra numbers at the end of an ip address: 10.56.194.252194.252 10.56.195.63.195.63 Apache seems to be duplicating the last two octects. Anybody seen this before and how to fix? Server version:

Re: [users@httpd] cleanest/fastest way of redirecting aliases to canonical server names

2011-01-29 Thread Joost de Heer
2) - two vhosts, the first having only the canonical name as ServerName (no ServerAlias) 3) Two vhosts, the first having a bogus servername (e.g. 'redirecthost'), in which you do the redirection, and the second, which has the canonical name. If you use NVH and none of the hosts match, the

Re: [users@httpd] cleanest/fastest way of redirecting aliases to canonical server names

2011-01-29 Thread Jeroen Geilman
On 1/29/11 12:49 PM, Joost de Heer wrote: 2) - two vhosts, the first having only the canonical name as ServerName (no ServerAlias) 3) Two vhosts, the first having a bogus servername (e.g. 'redirecthost'), in which you do the redirection, and the second, which has the canonical name.

Re: [users@httpd] Incompatibilities between mod_remoteip and the server-info server-status handlers?

2011-01-29 Thread Jeroen Geilman
On 1/28/11 6:27 PM, J.Lance Wilkinson wrote: I've got a set of identical webservers, all Apache 2.2.6, with configurations such that authorized IP addresses are allowed access to locations handled by the server-info and server-status handlers. These work fine when visiting the individual

Re: [users@httpd] mod_dir with HTTPS

2011-01-29 Thread Jeroen Geilman
On 1/28/11 4:02 AM, Tao Lei wrote: Hello. It seems that mod_dir does not work properly with SSL (https). When working with http, there is no problem: If url http://www.abc.com/test; is requested, apache appends a / to the url and then respones to browser with code 301, telling it to request

Re: [users@httpd] problem with extra numbers after %h hostname/ip address in access_log

2011-01-29 Thread Igor Galić
- Randy Tejas randyte...@yahoo.com wrote: Sorry I do not have control over software version as it is in a global solaris zone. I have been restarting with svcadm restart svc:/network/http:apache2 or /usr/apache2/bin/apachectl restart Brrr... right.. Solaris stock Apache httpd is..

Re: [users@httpd] mod_dir with HTTPS

2011-01-29 Thread Igor Galić
- Jeroen Geilman jer...@adaptr.nl wrote: On 1/28/11 4:02 AM, Tao Lei wrote: Hello. It seems that mod_dir does not work properly with SSL (https). This is moo-poo. When working with http, there is no problem: If url http://www.abc.com/test; is requested, apache appends a / to