Re: Debugging apache configs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 4/30/20 6:08 PM, @lbutlr wrote:
I'm trying to troubleshoot a Domain that is loading the wrong content (Well, I am sure it is loading the RIGHT content, but not the INTENED content) and was wondering if there is a flag for apachectl that will show me what apache thinks the document root is for each vhost? And possibly a way of piping in a URL and having apache spit back where that URL points to locally and the steps taken to get there (redirect, proxy, lookup, whatever).

A trace, essentially.


Not directly, but

httpd -t -D DUMP_VHOSTS

is a good start. It at least tells you what names are handled by what bits of the configuration file(s).

--
Rich Bowen - rbowen@xxxxxxxxxxx
http://rcbowen.com/
@rbowen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux