frankhunt wrote: > On 10/03/2010 03:09 PM, wes wrote: >> try sudo httpd2 -S or apache2 -S >> >> this should give you a list of hosts it's configured for, and which >> config file it read the config for that host from. >> >> -wes >> >> On Sun, Oct 3, 2010 at 9:25 AM, Linux Guy <[email protected] >> <mailto:[email protected]>> wrote: >> >> Probably not specifically a 10.10 issue, but perplexing nonetheless: >> here's the deal . . . >> for legacy reasons my website DocumentRoot is /web/httpd/htdocs/ >> -- no >> matter what I change in the apache2 configuration files >> (/etc/apache2/apache2.conf, /etc/apache2/sites-available/default) the >> server tries to go to /etc/apache2/htdocs. My question is - where is >> apache2 getting this incorrect config? I have scoured my system >> looking >> for places that this config info may be hiding but cannot find it. >> ServerRoot is set to /web/httpd (which contains the log files) but >> there >> is nothing in either access_log or error_log so that pointer is not >> working wither. I need to get this server stood up soon - anybody got >> any ideas here? >> >> -- >> frank hunt >> (L0F) R0B-ZAR1 >> befuddled linux admin >> erstwhile photographer >> hillsboro oregon >> >> _______________________________________________ >> PLUG mailing list >> [email protected] <mailto:[email protected]> >> http://lists.pdxlinux.org/mailman/listinfo/plug >> >> > #server5:/root=> apache2 -S > VirtualHost configuration: > 192.168.0.199:* is a NameVirtualHost > default server www.myhost.com > (/etc/apache2/sites-enabled/000-default:2) > port * namevhost www.myhost.com > (/etc/apache2/sites-enabled/000-default:2) > Syntax OK > > Looks like it is looking in the right file in the right directory. > FYI, These config files, in fact the entire /etc/apache2 directory are > EXACTLY the same as on the four other servers here. Three are Debian > (2-5.0, 1-4.0) and one is Ubuntu 10.4. They all work just fine. Wonder > if there is some weirdness introduced by 10.10? > > > -- > frank hunt > (L0F) R0B-ZAR1 > befuddled linux admin > erstwhile photographer > hillsboro oregon >
The culprit was incorrectly formatted virtual host configs. You'd think there would be some kind of error more appropriate to the problem. Anyway - 3 days of chasing my tail and now we're golden. Thanks for all the help . . . -- frank hunt (L0F) R0B-ZAR1 befuddled linux admin erstwhile photographer hillsboro oregon _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
