There's a problem with the 2 VirtualHost entries I had to add for SSL. Now
every request to httpd is being handled by these VirtualHosts, even requests
for with hostnames that don't match them.
Here's my current config:
VirtualHost *
ServerName blah.mysite.com
...
VirtualHost
OK, so I added NameVirtualHost foo.mysite.com:80 and NameVirtualHost
foo.mysite.com:443 above their respective sections and it seems to work
despite not being recommended as per the docs, but this was the only way to
do it because all my domains: mysite.com, othersite.com, etc point to a
single
SSL Stuff...
/VirtualHost
My question was specifically why putting the hostname as opposed to the addr
in the NameVirtualHost was discouraged in the docs (they don't explain it
any further)?
On Fri, Dec 18, 2009 at 11:41 AM, Frank Gingras
francois.ging...@gmail.comwrote:
Jonathan Mast wrote
I have a single webserver (1 IP) to which many DNS entries point to. Up
till now I've haven't needed SSL and the following config pattern has worked
fine for me:
VirtualHost *
ServerName foo.mysite.com
...
/VirtualHost
VirtualHost *
ServerName bar.mysite.com
...
/VirtualHost
However, when I
I'm thinking that the host name actually is required in the VirtualHost
declaration.
But the 2 separate VirtualHost entries worked, thanks
On Tue, Dec 15, 2009 at 10:53 AM, Eric Covener cove...@gmail.com wrote:
On Tue, Dec 15, 2009 at 10:48 AM, Jonathan Mast
jhmast.develo...@gmail.com wrote
I separate URLs and query strings in my customlog format. How do I force a
hyphen to be written when there is no query string? The apache docs refer
this feature, which is automatic for %b amongst other fields, but I cannot
find how force this behavior for the %q field.
thanks
I was wondering just how accurate the entries in the httpd logs are,
specifically whether or not they may be double counting some requests.
We developed an adserver for client and before we connect it to a database,
the only way we can count the number of times it has been called is by
searching