View Single Post
  #3  
Old 21st June 2008, 06:19
freesqrt freesqrt is offline
Member
 
Join Date: Dec 2007
Posts: 82
Thanks: 7
Thanked 1 Time in 1 Post
Default

Dear Falko,
part of Vhosts_ispconfig.conf contains:

###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 10.0.0.1:80
<VirtualHost 10.0.0.1:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
NameVirtualHost 80.1.1.27:80
<VirtualHost 80.1.1.27:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
#
#
#
######################################
# Vhost: www.mydomain.com:80
######################################
#
#
<VirtualHost 80.1.1.27:80>
ServerName www.mydomain.com:80
ServerAdmin webmaster@mydomain.com
DocumentRoot /home/web2/web
ServerAlias mydomain.com
DirectoryIndex welcome.php index.php index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
Alias /cgi-bin/ /home/web2/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /home/web2/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
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Alias /error/ "/home/web2/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/web2/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/web2/user/$1/web/$3
</VirtualHost>
#
#
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$

inaddition I added invalid IP (10.0.0.1) so ifconfig shows:

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
eth0 Link encap:Ethernet HWaddr 00:18:FE:FE:7D:EC
inet addr:85.185.67.253 Bcast:80.1.1.27 Mask:255.255.255.192
inet6 addr: fe80::218:feff:fefe:7dec/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:54741170 errors:0 dropped:0 overruns:0 frame:0
TX packets:16181065 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10370595 (9.8 MiB) TX bytes:2683348748 (2.4 GiB)
Interrupt:16 Memory:f8000000-f8012100

eth0:1 Link encap:Ethernet HWaddr 00:18:FE:FE:7D:EC
inet addr:10.0.0.1 Bcast:10.0.15.255 Mask:255.255.240.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:16 Memory:f8000000-f8012100

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1165899 errors:0 dropped:0 overruns:0 frame:0
TX packets:1165899 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:906691076 (864.6 MiB) TX bytes:906691076 (864.6 MiB)
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

Any idea?
__________________
freesqrt
Reply With Quote