From: Trevor M. <de...@ha...> - 2003-08-26 23:03:43
|
Hi, I am trying to get Webmin to run under Apache 1.3.28. I have followed the directions give under the FAQ and the configuration device given to another user, but I am missing something. My httpd.conf and webmin conf are below. I am looking to type https://www.hailix.com/webmin and have the program start. I have to punch through a proxy and firewall at work that will only allow 443 and 80 traffic through. Any help is appreciated. Thanks, Trevor webmin Conf file: passwd_pindex=1 ld_env=LD_LIBRARY_PATH passwd_file=/etc/shadow passwd_uindex=0 find_pid_command=ps auwwwx | grep NAME | grep -v grep | awk '{ print $2 }' by_view=0 path=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin os_type=Solaris os_version=2.6 real_os_type=Redhat Linux real_os_version=9.0 log=1 theme=default nohostname= noremember=1 webprefix=/webmin webprefixnoredir=1 referers=localhost stud.hailix.com MY Apache Conf file: ### Section 1: Global Environment # ServerType standalone ServerRoot "/etc/httpd" PidFile /var/run/httpd.pid ResourceConfig /dev/null AccessConfig /dev/null Timeout 300 KeepAlive On MaxKeepAliveRequests 0 KeepAliveTimeout 5 MinSpareServers 1 MaxSpareServers 64 StartServers 1 MaxClients 256 MaxRequestsPerChild 100000 ########################################################### # Webmin ConfigurationParameters #ProxyRequests off #ProxyPass /webmin https://stud.hailix.com:10000/ #ProxyPassReverse https://stud.hailix.com:10000 /webmin #Redirect /webmin https://stud.hailix.com:10000/ ########################################################### ### Section 2: 'Main' server configuration # Port 80 <IfDefine SSL> Listen 80 Listen 443 </IfDefine> User www Group www ServerAdmin tr...@ha... ServerName www.hailix.com DocumentRoot "/home/httpd/pub" #DocumentRoot "/usr/libexec/webmin" <Directory "/usr/libexec/webmin"> AddHandler cgi-script .cgi DirectoryIndex index.cgi Options ExecCGI SetEnv WEBMIN_CONFIG /etc/webmin SetEnv WEBMIN_VAR /var/webmin SetEnv SERVER_ROOT /usr/libexec/webmin SetEnv MINISERV_CONFIG /etc/webmin/miniserv.conf AuthName Webmin AuthType basic AuthUserFile /etc/webmin/htusers require valid-user </Directory> <Directory /> Options None AllowOverride None Order deny,allow Deny from all </Directory> <Directory "/home/httpd/pub"> Options None AllowOverride None Order allow,deny Allow from all </Directory> <Files .pl> Options None AllowOverride None Order deny,allow Deny from all </Files> # Use name-based virtual hosting. # NameVirtualHost 12.208.xxx.xxx <VirtualHost 12.208.xxx.xx> ServerAdmin web...@ha... DocumentRoot /home/httpd/pub/hailix/ ServerName www.hailix.com ScriptAlias /cgi-bin/ /home/httpd/pub/hailix/cgi-bin/ ErrorLog /var/log/httpd/hailix-error_log #CustomLog /var/log/httpd/hailix-access_log common env=!nimda #CustomLog /var/log/httpd/hailix-access_log </VirtualHost> <IfModule mod_dir.c> DirectoryIndex index.htm index.html index.php index.php3 default.html index.cgi </IfModule> #<IfModule mod_include.c> #Include conf/mmap.conf #</IfModule> UseCanonicalName On <IfModule mod_mime.c> TypesConfig /etc/httpd/conf/mime.types </IfModule> DefaultType text/plain HostnameLookups Off ErrorLog /var/log/httpd/error_log LogLevel warn LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined SetEnvIf Request_URI \.gif$ gif-image CustomLog /var/log/httpd/access_log combined env=!gif-image ServerSignature Off <IFModule mod_alias.c> ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/" <Directory "/home/httpd/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory> </IFModule> <IFModule mod_mime.c> AddType application/x-httpd-php .php AddType application/x-httpd-php .php3 AddType application/x-httpd-php-source .phps </IFModule> <IfModule mod_mime.c> AddEncoding x-compress Z AddEncoding x-gzip gz tgz AddType application/x-tar .tgz </IfModule> ErrorDocument 500 "The server made a boo boo. #ErrorDocument 404 http://192.168.1.5/error.htm ErrorDocument 403 "Access Forbidden -- Go away. <IfModule mod_setenvif.c> BrowserMatch "Mozilla/2" nokeepalive BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 BrowserMatch "RealPlayer 4\.0" force-response-1.0 BrowserMatch "Java/1\.0" force-response-1.0 BrowserMatch "JDK/1\.0" force-response-1.0 </IfModule> ### Section 3: Virtual Hosts # <IfDefine SSL> AddType application/x-x509-ca-cert .crt AddType application/x-pkcs7-crl .crl </IfDefine> <IfModule mod_ssl.c> SSLPassPhraseDialog builtin SSLSessionCache dbm:/var/run/ssl_scache SSLSessionCacheTimeout 300 SSLMutex file:/var/run/ssl_mutex SSLRandomSeed startup builtin SSLRandomSeed connect builtin SSLLog /var/log/httpd/ssl_engine_log SSLLogLevel warn </IfModule> <IfDefine SSL> <VirtualHost _default_:443> DocumentRoot "/home/httpd/pub" ServerName www.hailix.com ServerAdmin tr...@ha... ErrorLog /var/log/httpd/error_log SSLEngine on SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL SSLCertificateFile /etc/ssl/certs/server.crt SSLCertificateKeyFile /etc/ssl/private/server.key SSLCACertificatePath /etc/ssl/certs SSLCACertificateFile /etc/ssl/certs/ca.crt #SSLCARevocationPath /etc/ssl/crl SSLVerifyClient none SSLVerifyDepth 10 SSLOptions +ExportCertData +StrictRequire SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown SetEnvIf Request_URI \.gif$ gif-image CustomLog /var/log/httpd/ssl_request_log \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" env=!gif-image </VirtualHost> </IfDefine> |