Menu

Not working under Apache!

Anonymous
2003-03-22
2003-03-22
  • Anonymous

    Anonymous - 2003-03-22

    I'm trying to run under Apache, but all I get is a 500 error. Here is what I've done:

    /etc/webmin/config:
    Added the line webprefix=/webmin
    Changed theme to Default Webmin Theme

    httpd.conf:

    Alias /webmin "/usr/libexec/webmin"
    <Directory "/usr/libexec/webmin">
        Options ExecCGI
        DirectoryIndex index.cgi
    SetEnv WEBMIN_CONFIG /etc/webmin
    SetEnv WEBMIN_VAR /var/webmin
    SetEnv SERVER_ROOT /usr/libexec/webmin
    SetEnv MINISERV_CONFIG /etc/webmin/miniserv.conf
    AuthName "securearea"
    AuthType Basic
    AuthUserFile /path/to/my/authfile
    require user xxxxxx
    </Directory>

    My add handler .cgi is not hased.

    I then excicuted these commands excactly as they appear:

    chown -R root:root /usr/libexec/webmin
    chmod -R 6755 /usr/libexec/webmin
    find . -name "*.cgi" -o -name "*.pl" | perl perlpath.pl "/usr/bin/perl -U" -

    But, like I said, all I get is a 500 error.
    Thanks in advance for any suggestions!

     
    • Anonymous

      Anonymous - 2003-03-22

      Also, getting this in my ssl error log

      access to /webmin/ failed, reason: user root not allowed access

       

Log in to post a comment.