Hi all.
Sorry for my english.
I have instaled isconfig 3 on a debian 6.
All works fine, ftp , dns , mail , web ....
But when i tried to execute a php page, i got this error.
ERROR 403 - Forbidden!.
In the error LOG i got this:
[Thu Oct 18 13:10:28 2012] [error] [client 80.**.49.**] client denied by server configuration: /var/www/***.es/web/gon.php
and the .vhost conf apache look this.
Code:
<Directory /var/www/servidorweb.gonetaplicaciones.es>
AllowOverride None
Order Deny,Allow
Deny from all
</Directory>
<VirtualHost *:80>
DocumentRoot /var/www/servidorweb.gonetaplicaciones.es/web
ServerName servidorweb.gonetaplicaciones.es
ServerAlias www.servidorweb.gonetaplicaciones.es
ServerAdmin webmaster@servidorweb.gonetaplicaciones.es
ErrorLog /var/log/ispconfig/httpd/servidorweb.gonetaplicaciones.es/error.log
Alias /error/ "/var/www/servidorweb.gonetaplicaciones.es/web/error/"
ErrorDocument 400 /error/400.html
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 405 /error/405.html
ErrorDocument 500 /error/500.html
ErrorDocument 502 /error/502.html
ErrorDocument 503 /error/503.html
<IfModule mod_ssl.c>
</IfModule>
<Directory /var/www/servidorweb.gonetaplicaciones.es/web>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/clients/client0/web1/web>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# suexec enabled
<IfModule mod_suexec.c>
SuexecUserGroup web1 client0
</IfModule>
# Clear PHP settings of this website
<FilesMatch "\.ph(p3?|tml)$">
SetHandler None
</FilesMatch>
# php as fast-cgi enabled
# For config options see: http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html
<IfModule mod_fcgid.c>
IdleTimeout 300
ProcessLifeTime 3600
# MaxProcessCount 1000
DefaultMinClassProcessCount 0
DefaultMaxClassProcessCount 100
IPCConnectTimeout 3
IPCCommTimeout 360
BusyTimeout 300
</IfModule>
<Directory /var/www/servidorweb.gonetaplicaciones.es/web>
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper /var/www/php-fcgi-scripts/web1/.php-fcgi-starter .php
Options +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/clients/client0/web1/web>
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper /var/www/php-fcgi-scripts/web1/.php-fcgi-starter .php
Options +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# add support for apache mpm_itk
<IfModule mpm_itk_module>
AssignUserId web1 client0
</IfModule>
<IfModule mod_dav_fs.c>
# Do not execute PHP files in webdav directory
<Directory /var/www/clients/client0/web1/webdav>
<FilesMatch "\.ph(p3?|tml)$">
SetHandler None
</FilesMatch>
</Directory>
DavLockDB /var/www/clients/client0/web1/tmp/DavLock
# DO NOT REMOVE THE COMMENTS!
# IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
# WEBDAV BEGIN
# WEBDAV END
</IfModule>
</VirtualHost>
Now, when i tri a .html page, i got response whitout problem.
But php dont work in vhost !!
But i have and alias whit phpmyadmin, and this WORKS FINE !!!. The server can execute php pages, but any that i dont see any in the configuration file.
Pls HELP !!!!
Recent comments
8 hours 56 min ago
18 hours 24 min ago
19 hours 13 min ago
22 hours 46 min ago
1 day 3 hours ago
1 day 3 hours ago
1 day 5 hours ago
1 day 15 hours ago
1 day 20 hours ago
1 day 22 hours ago