View Single Post
  #3  
Old 25th September 2007, 00:35
unsichtbare unsichtbare is offline
Senior Member
 
Join Date: Sep 2007
Posts: 103
Thanks: 18
Thanked 2 Times in 2 Posts
Default

Thanks for the prompt reply!

httpd.conf = /etc/apache2/apache2.conf
Document Root = /var/www

apache2.conf has the line:

Include /etc/apache2/vhosts/Vhosts_ispconfig.conf

and the file looks like this


Quote:
###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 24.121.8.205:80
<VirtualHost 24.121.8.205:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: www.headgallery.com:80
######################################
#
#
<VirtualHost 24.121.8.205:80>
ServerName www.headgallery.com:80
ServerAdmin webmaster@headgallery.com
DocumentRoot /var/www/web6/web
ServerAlias headgallery.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/web6/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode On
php_admin_value open_basedir /var/www/web6/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /var/www/web6/phptmp/
php_admin_value session.save_path /var/www/web6/phptmp/
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Alias /error/ "/var/www/web6/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/web6/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web6/user/$1/web/$3
</VirtualHost>

Last edited by unsichtbare; 25th September 2007 at 01:43.
Reply With Quote