Thread: ISPConfig httpd
View Single Post
  #6  
Old 7th August 2006, 14:34
brightshadow brightshadow is offline
Junior Member
 
Join Date: Aug 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Code:
ls -la /root/ispconfig
total 108
drwxr-xr-x  9 root root  4096 Aug  4 17:27 .
drwxr-x--- 18 root root  4096 Aug  7 07:22 ..
-rwxr-xr-x  1 root root 40157 Jul 21 12:02 cronolog
-rwxr-xr-x  1 root root  9673 Jul 21 12:02 cronosplit
drwxr-xr-x 12 root root  4096 Jul 21 11:25 httpd
drwxr-xr-x 12 root root  4096 Jul 21 12:02 isp
-rw-r--r--  1 root root     0 Aug  7 00:16 .ispconfig_lock
-rw-r--r--  1 root root     8 Aug  7 00:16 .old_path_httpd_root
drwxr-xr-x  6 root root  4096 Jul 21 11:21 openssl
drwxr-xr-x  6 root root  4096 Jul 21 11:30 php
drwxr-xr-x  4 root root  4096 Jul 21 12:02 scripts
drwxr-xr-x  4 root root  4096 Jul 21 12:02 standard_cgis
drwxr-xr-x  2 root root  4096 Jul 21 12:02 sv
-rwx------  1 root root  9389 Jul 21 12:02 uninstall
Vhosts_ispconfig.conf:
Code:
###################################
#
# ISPConfig vHost Configuration File
#         Version 1.0
#
###################################
#
NameVirtualHost 75.27.81.221:80
<VirtualHost 75.27.81.221:80>
  ServerName localhost
  ServerAdmin root@localhost
  DocumentRoot /var/www/sharedip
</VirtualHost>
NameVirtualHost 75.27.81.221:80
<VirtualHost 75.27.81.221:80>
  ServerName localhost
  ServerAdmin root@localhost
  DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: db.er-center.com:80
######################################
#
#
<VirtualHost 75.27.81.221:80>
ServerName db.er-center.com:80
ServerAdmin webmaster@er-center.com
DocumentRoot /var/www/web8/web
ServerAlias er-center.com 
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
ScriptAlias  /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
<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 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/
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
</VirtualHost>
#
#
#
Reply With Quote