[hobbit] Need help. Hobbit installed, but web access fails.
Josh Luthman
josh at imaginenetworksllc.com
Fri Jan 29 23:41:15 CET 2010
Or mv the conf.d one out and put the config (once) in httpd.conf
Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373
"The secret to creativity is knowing how to hide your sources."
--- Albert Einstein
On Fri, Jan 29, 2010 at 5:37 PM, Kii NODA <kii.noda at gmail.com> wrote:
> Scratch that, it was you who duplicated the config by copying your
> httpd.conf to httpd.conf.old. Still, as Josh previously suggested, can you
> make sure that your conf.d files are included?
>
>
> On Sat, Jan 30, 2010 at 12:32 AM, Kii NODA <kii.noda at gmail.com> wrote:
>
>> Ahhaaaa! :)
>>
>> Try grepping your way through your configs in order to find where that
>> previous Alias is declared and remove it. Something like this:
>>
>> grep -E -r "Alias.*xymon" /etc/httpd
>>
>> You'll see all the files that match and the actual matches so you'll know
>> what to remove.
>>
>> Or maybe even grep for "/var/www/xymon" in there, I have a good feeling
>> that you'll find where the problem is.
>>
>> --
>> kN
>>
>>
>> On Sat, Jan 30, 2010 at 12:16 AM, Ming Qian <
>> childpsych.columbia at gmail.com> wrote:
>>
>>> [root at pons /etc/httpd/conf]# pwd
>>> /etc/httpd/conf
>>> [root at pons /etc/httpd/conf]# ls
>>> httpd.conf magic Makefile ssl.crl ssl.crt ssl.csr ssl.key ssl.prm
>>> [root at pons /etc/httpd/conf]# cp httpd.conf httpd.conf.old
>>> [root at pons /etc/httpd/conf]# cat ../conf.d/hobbit-apache.conf >>
>>> httpd.conf
>>> [root at pons /etc/httpd/conf]# /etc/init.d/httpd status
>>> httpd (pid 30689 30688 30687 30686 30685 30684 30683 30682 30679) is
>>> running...
>>> [root at pons /etc/httpd/conf]# /etc/init.d/httpd restart
>>> Stopping httpd: [ OK ]
>>> Starting httpd: [Fri Jan 29 17:15:43 2010] [warn] The Alias directive in
>>> /etc/httpd/conf/httpd.conf at line 1043 will probably never match because it
>>> overlaps an earlier Alias.
>>> [Fri Jan 29 17:15:43 2010] [warn] The ScriptAlias directive in
>>> /etc/httpd/conf/httpd.conf at line 1050 will probably never match because it
>>> overlaps an earlier ScriptAlias.
>>> [Fri Jan 29 17:15:43 2010] [warn] The ScriptAlias directive in
>>> /etc/httpd/conf/httpd.conf at line 1058 will probably never match because it
>>> overlaps an earlier ScriptAlias.
>>> [ OK ]
>>> [root at pons /etc/httpd/conf]#
>>
>>
>>
>
>
> --
> kN
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20100129/2c415b11/attachment.html>
More information about the Xymon
mailing list