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

Re: [hobbit] Need help. Hobbit installed, but web access fails.



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