View Single Post
  #9  
Old 4th October 2006, 12:20
pimvh pimvh is offline
Junior Member
 
Join Date: Oct 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm not sure...is this ok?
Change the domainname in IP adress I'm testing this with a server at home.


# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 192.168.2.130:80
<VirtualHost 192.168.2.130:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: www.localdomain:80
######################################
#
#
<VirtualHost 192.168.2.130:80>
ServerName 192.168.2.130:80
ServerAdmin webmaster@localdomain
DocumentRoot /var/www/web1/web
ServerAlias localdomain
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.j
ScriptAlias /cgi-bin/ /var/www/web1/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web1/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>
Reply With Quote