<VirtualHost *:80>
DocumentRoot /var/clients/client0/web5/web
ServerName webmail.westechsolutions.com
ServerAdmin
webmaster@webmail.westechsolutions.com
ErrorLog /var/clients/client0/web5/log/error.log
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
<Directory /var/www/webmail.westechsolutions.com/web>
Options None
AllowOverride Indexes AuthConfig Limit FileInfo
Order allow,deny
Allow from all
</Directory>
<Directory /var/clients/client0/web5/web>
# suphp enabled
suPHP_Engine on
# suPHP_UserGroup web5 client0
AddHandler x-httpd-suphp .php .php3 .php4 .php5
suPHP_AddHandler x-httpd-suphp
php_flag magic_quotes_gpc off
</Directory>
#php_value magic_quotes_gpc 0
#php_value_admin magic_quotes_gpc 0
php_flag magic_quotes_gpc off
#php_flag_admin magic_quotes_gpc off
</VirtualHost>
Note: I commented out:
#php_value magic_quotes_gpc 0
#php_value_admin magic_quotes_gpc 0
and added:
php_flag magic_quotes_gpc off
#php_flag_admin magic_quotes_gpc off
to the bottom, even when these were enabled it was not working.
In addition, I added:
php_flag magic_quotes_gpc off
to the <Directory /> section. Thanks for the reply Till, ISPConfig rocks!
Recent comments
1 day 3 hours ago
1 day 8 hours ago
1 day 13 hours ago
1 day 14 hours ago
2 days 5 hours ago
2 days 5 hours ago
2 days 10 hours ago
2 days 16 hours ago
2 days 17 hours ago
2 days 18 hours ago