Had a client who's ex-admin screwed up the server with proxy and other configs that I have to fix.
I removed / modifed the httpd.conf and unfortunately as before, site is still showing index directory instead of actual site content. The data is all uploaded correctly with index.hml and all. I even did a complete recreate / restore from last backup.
Please tell me if the httpd.conf modifications I made is wrong. This is the last portion of it in order:
NameVirtualHost xxx.202.65.162:80
<Location /whm-server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
ExtendedStatus On
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteMap LeechProtect prg:/usr/local/cpanel/bin/leechprotect
</IfModule>
<VirtualHost xxx.202.65.162>
BytesLog domlogs/server.customerdomain.com-bytes_log
ServerName server.customerdomain.com
DocumentRoot /usr/local/apache/htdocs
</VirtualHost>
<VirtualHost xxx.202.65.162>
ServerAlias customerdomain.com
ServerAdmin matt@customerdomain
DocumentRoot /home/mrethers/public_html
BytesLog domlogs/customerdomain.com-bytes_log
ServerName www.customerdomain.com
<IfModule mod_userdir.c>
Userdir disabled
Userdir enabled mrethers
</IfModule>
User mrethers
Group mrethers
CustomLog /usr/local/apache/domlogs/customerdomain.com combined
ScriptAlias /cgi-bin/ /home/mrethers/public_html/cgi-bin/
</VirtualHost>
ErrorDocument 400 /400.shtml
ErrorDocument 401 /401.shtml
ErrorDocument 403 /403.shtml
ErrorDocument 404 /404.shtml
ErrorDocument 500 /500.shtml
ScriptAlias /cgi-sys/ /usr/local/cpanel/cgi-sys/
Alias /sys_cpanel/ /usr/local/cpanel/sys_cpanel/
Alias /java-sys/ /usr/local/cpanel/java-sys/
Alias /img-sys/ /usr/local/cpanel/img-sys/
Alias /akopia/ /usr/local/cpanel/3rdparty/interchange/share/akopia/
Alias /neo-images/ /usr/local/cpanel/base/neomail/neo-images/
ScriptAliasMatch ^/cpanel/(.*) /usr/local/cpanel/cgi-sys/redirect.cgi
ScriptAlias /cpanel /usr/local/cpanel/cgi-sys/redirect.cgi
ScriptAlias /whm /usr/local/cpanel/cgi-sys/whmredirect.cgi
ScriptAlias /securewhm /usr/local/cpanel/cgi-sys/swhmredirect.cgi
ScriptAlias /webmail /usr/local/cpanel/cgi-sys/wredirect.cgi
ScriptAliasMatch ^/webmail/(.*) /usr/local/cpanel/cgi-sys/wredirect.cgi
ScriptAliasMatch ^/kpanel/(.*) /usr/local/cpanel/cgi-sys/redirect.cgi
ScriptAlias /controlpanel /usr/local/cpanel/cgi-sys/redirect.cgi
ScriptAlias /securecontrolpanel /usr/local/cpanel/cgi-sys/sredirect.cgi
Alias /mailman/archives/ /usr/local/cpanel/3rdparty/mailman/archives/public/
ScriptAlias /mailman/ /usr/local/cpanel/3rdparty/mailman/cgi-bin/
Alias /pipermail/ /usr/local/cpanel/3rdparty/mailman/archives/public/
Alias /interchange/ /usr/local/cpanel/3rdparty/interchange/share/interchange/
Alias /interchange-5/ /usr/local/cpanel/3rdparty/interchange/share/interchange-5/



LinkBack URL
About LinkBacks
Reply With Quote




