Validation Failure

4 posts / 0 new
Last post
#1 Mon, 08/01/2011 - 14:49
rmcapovilla

Validation Failure

Hi all,

I have a scheduled validation check that runs weekly, last week everything was fine, but with the new updated version (3.87 gpl) I'm getting this:

xyz.com.br
Apache website : Missing Apache <Directory> block for HTML directory /home/xyz/public_html/

This is my apache conf for this vserver:

<VirtualHost 209.160.72.248:80>
SuexecUserGroup "#1029" "#1005"
ServerName xyz.com.br
ServerAlias www.xyz.com.br
ServerAlias webmail.xyz.com.br
ServerAlias admin.xyz.com.br
DocumentRoot /home/xyz/public_html
ErrorLog /var/log/virtualmin/xyz.com.br_error_log
CustomLog /var/log/virtualmin/xyz.com.br_access_log combined
ScriptAlias /cgi-bin/ /home/xyz/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/xyz/public_html>
Options -Indexes +IncludesNOEXEC +FollowSymLinks +ExecCGI
allow from all
AllowOverride All
AddHandler fcgid-script .php
AddHandler fcgid-script .php5
FCGIWrapper /home/xyz/fcgi-bin/php5.fcgi .php
FCGIWrapper /home/xyz/fcgi-bin/php5.fcgi .php5
</Directory>
<Directory /home/xyz/cgi-bin>
allow from all
</Directory>
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.xyz.com.br
RewriteRule ^(.*) https://xyz.com.br:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.xyz.com.br
RewriteRule ^(.*) https://xyz.com.br:10000/ [R]
RemoveHandler .php
RemoveHandler .php5
IPCCommTimeout 300
IPCConnectTimeout 20
</VirtualHost>

I got the same message if I try to run a manually of scheduled validation. Any ideas?

PS: The website is running without problems so far, this is just a warning message.

EDIT: NVM FOUND THE PROBLEM..... sry guys

The problem was in ServerConfiguration -> Website Options -> Website documents sub-directory was public_html/ instead of public_html

Mon, 08/01/2011 - 14:54
andreychek

Hrm, it looks like Virtualmin thinks something is awry with the Apache config, but I don't see a problem jumping out at me.

We may want to do an Apache config syntax check, just to make sure that is in order. Which distro are you using?

-Eric

Mon, 08/01/2011 - 14:56 (Reply to #2)
rmcapovilla

NVM FOUND THE PROBLEM..... sry guys

The problem was in ServerConfiguration -> Website Options -> Website documents sub-directory was public_html/ instead of public_html

Mon, 08/01/2011 - 16:47
helpmin

The server alias is not correct.

Topic locked