Hello!
I want to install suPHP by this thread:
http://www.howtoforge.com/suphp_debian_etch_ispconfig
Want to know about this: "Now remove all the phpadmin entries within the original Vhosts_ispconfig.conf file."
my Vhosts is:
Code:
<VirtualHost 192.168.123.116:80>
<IfModule mod_php5.c>
php_admin_value open_basedir "/var/www/web1/:/tmp/"
</IfModule>
SuexecUserGroup itex1_r web1
ServerName www.domain.com:80
ServerAdmin webmaster@domain.com
DocumentRoot /var/www/web1/web
ServerAlias domain.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
ErrorLog /var/www/web1/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_flag safe_mode Off
Alias /stats "/var/www/web1/web/webalizer"
Alias /error/ "/var/www/web1/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/web1/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</IfModule>
</VirtualHost>
I need to remove line:
php_admin_flag safe_mode Off
<IfModule mod_php5.c>
php_admin_value open_basedir "/var/www/web1/:/tmp/"
</IfModule>
from my Vhosts file? And after suPHP instalation I can use this directive:
<IfModule mod_php5.c>
php_admin_value open_basedir "/var/www/web1/:/tmp/"
</IfModule>
in my vhosts?
Thnks.
Recent comments
14 hours 48 min ago
21 hours 29 min ago
1 day 1 hour ago
1 day 2 hours ago
1 day 11 hours ago
1 day 20 hours ago
1 day 21 hours ago
2 days 1 hour ago
2 days 5 hours ago
2 days 6 hours ago