By the way,<br><br>there is a php website in the directory: /var/www/html/php_site<br>and it works.<br><br>I am confused.<br>I appreciate your help.<br><br>Bruce<br><br><br><br><div class="gmail_quote">On Fri, Jan 29, 2010 at 3:42 PM, Ming Qian <span dir="ltr"><<a href="mailto:qianm@childpsych.columbia.edu">qianm@childpsych.columbia.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dear All,<br><br>I installed xymon on my redhat linux. The installation is successful, but the web access failed.<br>
<br>Here is information:<br><br><br>[root@pons /home]# ll | grep xymon<br>drwxr-xr-x   8 xymon    xymon    4096 Jan 28 16:44 xymon<br>
[root@pons /home]# cd xymon/<br>[root@pons /home/xymon]# ll<br>total 40<br>drwxr-xr-x   2 xymon xymon 4096 Jan 28 16:39 cgi-bin<br>drwxr-xr-x   2 xymon xymon 4096 Jan 28 16:39 cgi-secure<br>drwxr-xr-x   7 xymon root  4096 Jan 28 16:39 client<br>

drwxr-xr-x  10 xymon xymon 4096 Jan 28 16:39 data<br>drwxr-xr-x   9 xymon xymon 4096 Jan 28 16:39 server<br><br><br>[root@pons /home/xymon]# uname -a<br>Linux pons 2.6.9-67.0.4.ELsmp #1 SMP Fri Jan 18 05:00:00 EST 2008 x86_64 x86_64 x86_64 GNU/Linux<br>

<br><br>[root@pons /etc/httpd/conf.d]# pwd<br>/etc/httpd/conf.d<br>[root@pons /etc/httpd/conf.d]# ls<br>hobbit-apache.conf  perl.conf  php.conf  python.conf  README  ssl.conf  webalizer.conf  welcome.conf<br>[root@pons /etc/httpd/conf.d]#<br>

<br><br># This file is for Apache 1.3.x and Apache 2.0.x<br>#<br># Add this to your Apache configuration, it makes<br># the Xymon webpages and cgi-scripts available in the<br># "/xymon" and "/xymon-cgi" URLs.<br>

<br><br># NB: The "Alias" line below must NOT be used if you have<br>#     the Xymon webfiles as the root URL. In that case,<br>#     you should instead set this:<br>#<br>#DocumentRoot "/home/xymon/server/www"<br>

<br>Alias /xymon/  "/home/xymon/server/www/"<br><Directory "/home/xymon/server/www"><br>    Options Indexes FollowSymLinks Includes MultiViews<br>    Order allow,deny<br>    Allow from all<br></Directory><br>

<br>ScriptAlias /xymon-cgi/ "/home/xymon/cgi-bin/"<br><Directory "/home/xymon/cgi-bin"><br>    AllowOverride None<br>    Options ExecCGI Includes<br>    Order allow,deny<br>    Allow from all<br>

</Directory><br><br>ScriptAlias /xymon-seccgi/ "/home/xymon/cgi-secure/"<br><Directory "/home/xymon/cgi-secure"><br>    AllowOverride None<br>    Options ExecCGI Includes<br>    Order allow,deny<br>

    Allow from all<br><br>    # Password file where users with access to these scripts are kept.<br>    # Create it with "htpasswd -c /home/xymon/server/etc/hobbitpasswd USERNAME"<br>    # Add more users / change passwords with "htpasswd /home/xymon/server/etc/hobbitpasswd USERNAME"<br>

    #<br>    # You can also use a group file to restrict admin access to members of a<br>    # group, instead of anyone who is logged in. In that case you must setup<br>    # the "hobbitgroups" file, and change the "Require" settings to require<br>

    # a specific group membership. See the Apache docs for more details.<br><br>    AuthUserFile /home/xymon/server/etc/hobbitpasswd<br>    AuthGroupFile /home/xymon/server/etc/hobbitgroups<br>    AuthType Basic<br>    AuthName "Xymon Administration"<br>

<br>    # "valid-user" restricts access to anyone who is logged in.<br>    Require valid-user<br><br>    # "group admins" restricts access to users who have logged in, AND<br>    # are members of the "admins" group in hobbitgroups.<br>

    # Require group admins<br><br></Directory><br><br><br><br><br>And,<br><br>the httpd log shows:<br><br>[Fri Jan 29 15:01:20 2010] [error] [client 192.168.71.55] File does not exist: /var/www/html/xymon<br><br><br>

<br><br><br>Thanks a lot,<br>Best,<br><font color="#888888">Ming<br><br>
</font></blockquote></div><br>