Thread: Suexec Problems
View Single Post
  #12  
Old 5th May 2006, 00:01
mphayesuk mphayesuk is offline
Senior Member
 
Join Date: Sep 2005
Location: UK, East Midlands
Posts: 517
Thanks: 1
Thanked 3 Times in 3 Posts
Send a message via MSN to mphayesuk
Default

ok the "-" > "_" fixed my ftp problem (I Hope), but I am still having a problem with the perl scripts so here is the vhosts file.

###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost xxx.xxx.xxx.4:80
<VirtualHost xxx.xxx.xxx.4:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: www.touch-one.co.uk:80
######################################
#
#
<VirtualHost xxx.xxx.xxx.4:80>
SuexecUserGroup web4_user1 web4
ServerName www.touch-one.co.uk:80
ServerAdmin webmaster@touch-one.co.uk
DocumentRoot /srv/www/web4/web
ServerAlias touch-one.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
ScriptAlias /cgi-bin/ /srv/www/web4/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /srv/www/web4/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 /srv/www/web4/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /srv/www/web4/phptmp/
php_admin_value session.save_path /srv/www/web4/phptmp/
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Alias /error/ "/srv/www/web4/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 ^/~([^/]+)(/(.*))? /srv/www/web4/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /srv/www/web4/user/$1/web/$3
</VirtualHost>
#
#
#

Everything looks fine to me. Just to point out that I have two public addresses .4 and .3.

Thanks
Reply With Quote