[Nottingham] Apache configs

Martin martin at ml1.co.uk
Fri Jan 3 17:48:50 UTC 2014


On 03/01/14 17:23, Jason Irwin wrote:
> Is there anyway to get Apache to tell you which virtualhost is selected
> for a particular request and, more importantly, *why*?
> 
> I've got two defined, they both look correct to be but I can tell from
> the errors I get that Apache has selected the one I don't want it to.

You may well get some useful clues from:
"http://whatever-yourhost/server-info".

And that little gem is enabled by:

/etc/apache2/modules.d/00_mod_info.conf

and by enabling the "INFO" parameter when starting Apache.


Good luck!
Martin


-- 
- ------------------ - ----------------------------------------
-    Martin Lomas    - OpenPGP (GPG/PGP) Public Key: 0xCEE1D3B7
- martin @ ml1 co uk - Import from   hkp://subkeys.pgp.net   or
- ------------------ - http:// ml1 .co .uk/martin_ml1_co_uk.gpg



More information about the Nottingham mailing list