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 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 /home/xyz/cgi-bin>
allow from all

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

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

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

NVM FOUND THE PROBLEM… sry guys

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

The server alias is not correct.