D
ddegroot
Guest
Hello All,
We got some very wierd problem... When we try to create a new subdomain for a domain, all the files give a 'Forbidden' message.
I tryed:
- Create a new subdomain (with no options selected)
- Upload a index.html file with just hello in it
When going to the site new.domain.com i get the RedHat 'Red Hat Enterprise Linux Test Page'. When going direct to the file new.domain.com/index.html i get a 'You don't have permission to access /index.html on this server.' message.
I looked up a lot of thing, like permissions, httpd.include file, error log file. nothing different from normal.
When trying the same steps with another domain, everything works great. No need to go to the file directly.
Permissions:
httpd.include
error_log:
I added the host to my windows 'host' so dns could not be the problem.
Also plesk is uptodate to the lastest version.
CPU AuthenticAMD, AMD Athlon(tm) 64 X2 Dual Core Processor 5000+
Version psa v8.6.0_build86080910.19 os_RedHat el5
OS Linux 2.6.18-8.el5
Anyone any idea? I'm out of things to try...
Thanks in advance!!
Dennis,
We got some very wierd problem... When we try to create a new subdomain for a domain, all the files give a 'Forbidden' message.
I tryed:
- Create a new subdomain (with no options selected)
- Upload a index.html file with just hello in it
When going to the site new.domain.com i get the RedHat 'Red Hat Enterprise Linux Test Page'. When going direct to the file new.domain.com/index.html i get a 'You don't have permission to access /index.html on this server.' message.
I looked up a lot of thing, like permissions, httpd.include file, error log file. nothing different from normal.
When trying the same steps with another domain, everything works great. No need to go to the file directly.
Permissions:
/var/www/vhosts/domain.com/subdomains/new/httpdocs
drwxr-x--- 2 new_domain psaserv 4096 Oct 5 19:06 .
drwxr-xr-x 7 root root 4096 Oct 5 18:53 ..
-rw-r--r-- 1 new_domain psacln 6 Oct 5 19:08 index.html
/var/www/vhosts/domain.com/subdomains/new
drwxr-xr-x 7 root root 4096 Oct 5 18:53 .
drwxr-xr-x 15 root psaserv 4096 Oct 5 18:53 ..
drwxr-x--- 2 new_domain psaserv 4096 Oct 5 18:53 cgi-bin
drwxr-x--- 2 root psaserv 4096 Oct 5 18:53 conf
drwxr-x--- 2 root psaserv 4096 Oct 5 18:53 error_docs
drwxr-x--- 2 new_domain psaserv 4096 Oct 5 19:06 httpdocs
drwxr-x--- 2 new_domain psaserv 4096 Oct 5 18:53 httpsdocs
httpd.include
<VirtualHost 192.168.1.118:80>
ServerName new.domain.com:80
DocumentRoot /var/www/vhosts/domain.com/subdomains/new/httpdocs
CustomLog /var/www/vhosts/domain.com/statistics/logs/access_log plesklog
ErrorLog /var/www/vhosts/domain.com/statistics/logs/error_log
<IfModule mod_ssl.c>
SSLEngine off
</IfModule>
<Directory /var/www/vhosts/domain.com/subdomains/new/httpdocs>
<IfModule sapi_apache2.c>
php_admin_flag engine off
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine off
</IfModule>
Options -Includes -ExecCGI
</Directory>
</VirtualHost>
error_log:
[Sun Oct 05 19:12:03 2008] [error] [client 192.168.1.223] (13)Permission denied: access to /index.html denied
[Sun Oct 05 19:12:03 2008] [error] [client 192.168.1.223] (13)Permission denied: access to /index.html denied
[Sun Oct 05 19:12:03 2008] [error] [client 192.168.1.223] (13)Permission denied: access to /index.html denied
I added the host to my windows 'host' so dns could not be the problem.
Also plesk is uptodate to the lastest version.
CPU AuthenticAMD, AMD Athlon(tm) 64 X2 Dual Core Processor 5000+
Version psa v8.6.0_build86080910.19 os_RedHat el5
OS Linux 2.6.18-8.el5
Anyone any idea? I'm out of things to try...
Thanks in advance!!
Dennis,