View Single Post
  #25  
Old 24th February 2006, 22:08
dfriis dfriis is offline
Junior Member
 
Join Date: Feb 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Code:
###################################
#
# ISPConfig vHost Configuration File
#         Version 1.0
#
###################################
#
NameVirtualHost 195.38.5.139:80
<VirtualHost 195.38.5.139:80>
  ServerName localhost
  ServerAdmin root@localhost
  DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: www.friisweb.se:80
######################################
#
#
<VirtualHost 195.38.5.139:80>
ServerName www.friisweb.se:80
ServerAdmin webmaster@friisweb.se
DocumentRoot /home/www/web3/web
ServerAlias friisweb.se
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml ind$
ScriptAlias  /cgi-bin/ /home/www/web3/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /home/www/web3/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 Off
Alias /error/ "/home/www/web3/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 ^/~([^/]+)(/(.*))? /home/www/web3/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/www/web3/user/$1/web/$3
</VirtualHost>
#
#
#
...and I have to say, cudos to you guys for this amazing support!
Reply With Quote