View Single Post
  #19  
Old 5th November 2008, 19:03
StevenD StevenD is offline
Member
 
Join Date: Oct 2008
Posts: 43
Thanks: 8
Thanked 0 Times in 0 Posts
Default

Hi Falko,

Here's the contents of VHosts_ispconfig.conf

Code:
###################################
#
# ISPConfig vHost Configuration File
#         Version 1.0
#
###################################
#
NameVirtualHost 192.168.2.3:80
<VirtualHost 192.168.2.3:80>
  ServerName localhost
  ServerAdmin root@localhost
  DocumentRoot /var/www/sharedip
  <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
    RewriteRule .* - [F]
  </IfModule>
</VirtualHost>
#
#
######################################
# Vhost: www.mydomain.co.uk:80
######################################
#
#
<VirtualHost 192.168.2.3:80>
ServerName www.mydomain.co.uk:80
ServerAdmin webmaster@mydomain.co.uk
DocumentRoot /var/www/web8/web
ServerAlias f-football.co.uk
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
Alias  /cgi-bin/ /var/www/web8/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web8/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_flag safe_mode On
php_admin_value open_basedir /var/www/web8/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /var/www/web8/phptmp/
php_admin_value session.save_path /var/www/web8/phptmp/
<IfModule mod_ruby.c>
  <Directory /var/www/web8/web>
    Options +ExecCGI
  </Directory>
  RubyRequire apache/ruby-run
  #RubySafeLevel 0
  <Files *.rb>
    SetHandler ruby-object
    RubyHandler Apache::RubyRun.instance
  </Files>
  <Files *.rbx>
    SetHandler ruby-object
    RubyHandler Apache::RubyRun.instance
  </Files>
</IfModule>
<IfModule mod_python.c>
 <Directory /var/www/web8/web>
   Options +Indexes +FollowSymLinks +MultiViews
   AllowOverride Indexes AuthConfig Limit FileInfo
   Order allow,deny
   allow from all
   AddHandler mod_python .py
   PythonHandler mod_python.publisher
   PythonDebug On
 </Directory>
</IfModule>
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Alias /error/ "/var/www/web8/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/web8/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web8/user/$1/web/$3
<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
  RewriteRule .* - [F]
</IfModule>
</VirtualHost>
#
#
#
ifconfig returned
Code:
eth0      Link encap:Ethernet  HWaddr 00:14:2A:EF:4C:6F
          inet addr:192.168.2.3  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::214:2aff:feef:4c6f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:713100 errors:0 dropped:0 overruns:0 frame:0
          TX packets:718881 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:162484815 (154.9 MiB)  TX bytes:174411771 (166.3 MiB)
          Interrupt:169 Base address:0xe200

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:16215 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16215 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6321355 (6.0 MiB)  TX bytes:6321355 (6.0 MiB)
in my browsers address bar I just typed in [url]www.mydomain.co.uk/url]

Thanks

Steve

Last edited by StevenD; 5th November 2008 at 20:23.
Reply With Quote