View Single Post
  #2  
Old 12th September 2008, 20:13
runbuck runbuck is offline
Junior Member
 
Join Date: Nov 2007
Posts: 16
Thanks: 1
Thanked 0 Times in 0 Posts
Default Here is the Vhosts_ispconfig.conf file

This is the comment for the site I am talking about.

######################################
# Vhost: www.leveragency.com:80
######################################
#
#
<VirtualHost 192.168.0.188:80>
ServerName www.leveragency.com:80
ServerAdmin webmaster@leveragency.com
DocumentRoot /var/www/web10/web
ServerAlias leveragency.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ErrorLog /var/www/web10/log/error.log
Alias /error/ "/var/www/web10/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web10/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web10/user/$1/web/$3
</VirtualHost>
#
#


And the header of the file ... global statements in the same file is:
###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 192.168.0.1:80
<VirtualHost 192.168.0.1:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
NameVirtualHost 192.168.0.188:80
<VirtualHost 192.168.0.188:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>

#
Reply With Quote