Quote:
|
Originally Posted by falko
|
Code:
root@web:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:4C:4E:80:00
inet addr:10.10.0.10 Bcast:10.10.0.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:4cff:fe4e:8000/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:173913 errors:0 dropped:0 overruns:0 frame:0
TX packets:133843 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:158764664 (151.4 MiB) TX bytes:57708645 (55.0 MiB)
Interrupt:12 Base address:0xaf00
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:8605 errors:0 dropped:0 overruns:0 frame:0
TX packets:8605 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:581373 (567.7 KiB) TX bytes:581373 (567.7 KiB)
Quote:
|
Originally Posted by falko
and what's in Vhosts_ispconfig.conf?
|
Code:
root@web:~# less /etc/apache2/vhosts/Vhosts_ispconfig.conf
###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 10.10.0.10:80
<VirtualHost 10.10.0.10:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: www.fiwiyaad.com:80
######################################
#
#
<VirtualHost 10.10.0.10:80>
ServerName www.fiwiyaad.com:80
ServerAdmin webmaster@fiwiyaad.com
<VirtualHost 10.10.0.10:80>
ServerName www.fiwiyaad.com:80
ServerAdmin webmaster@fiwiyaad.com
DocumentRoot /var/www/web7/web
ServerAlias fiwiyaad.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 i
ndex.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias /cgi-bin/ /var/www/web7/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web7/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
AddType application/vnd.wap.wmlscriptc .wmlsc .wsc
AddType text/vnd.wap.wml .wml
AddType text/vnd.wap.wmlscript .ws .wmlscript
AddType image/vnd.wap.wbmp .wbmp
Alias /error/ "/var/www/web7/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/web7/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web7/user/$1/web/$3
</VirtualHost>
#
#
#
END