I’m having the same problem and it’s driving me nuts!
New installation of Ubuntu 8.04 Server with Virtualmin (through install.sh). It’s behind a firewall but everything else works.
All of my virtual servers serves www through /var/www
config for default
[code:1]NameVirtualHost 192.168.237.99:80
NameVirtualHost 194.218.3.10:80
<VirtualHost *>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
[/code:1]
Virtual Server Conf
[code:1]<VirtualHost 194.218.3.10:80>
SuexecUserGroup "#1001" "#1002"
ServerName twoheadedboy.org
ServerAlias www.twoheadedboy.org webmail.twoheadedboy.org admin.twoheadedboy.org lists.twoheadedboy.org
DocumentRoot /home/twoheadedboy/public_html
ErrorLog /var/log/virtualmin/twoheadedboy.org_error_log
CustomLog /var/log/virtualmin/twoheadedboy.org_access_log combined
ScriptAlias /cgi-bin/ /home/twoheadedboy/cgi-bin/
ScriptAlias /awstats /home/twoheadedboy/cgi-bin
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/twoheadedboy/public_html>
Options -Indexes IncludesNOEXEC FollowSymLinks
allow from all
AllowOverride All
</Directory>
<Directory /home/twoheadedboy/cgi-bin>
allow from all
</Directory>
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.twoheadedboy.org
RewriteRule ^(.) https://twoheadedboy.org:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.twoheadedboy.org
RewriteRule ^(.) https://twoheadedboy.org:10000/ [R]
Alias /dav /home/twoheadedboy/public_html
Alias /pipermail /var/lib/mailman/archives/public
<Location /dav>
DAV On
AuthType Basic
AuthName twoheadedboy.org
AuthUserFile /home/twoheadedboy/etc/dav.digest.passwd
Require valid-user
ForceType text/plain
Satisfy All
</Location>
<Files awstats.pl>
AuthName "twoheadedboy.org statistics"
AuthType Basic
AuthUserFile /home/twoheadedboy/.awstats-htpasswd
require valid-user
</Files>
RedirectMatch /cgi-bin/mailman/([^/])(.) https://twoheadedboy.org:10000/virtualmin-mailman/unauthenticated/$1.cgi$2
RedirectMatch /mailman/([^/])(.) https://twoheadedboy.org:10000/virtualmin-mailman/unauthenticated/$1.cgi$2
</VirtualHost>
[/code:1]
This is how they look default. I’ve tried a few variations but no luck so far.
Any ideas? Thanks.