Do you know if the Virtual Server owner attempted to setup authentication for that particular domain?
No i am not sure, how can i find that out?
is this relevant :
AuthName “mydomain.com statistics”
AuthType Basic
AuthUserFile /home/mydomain/.awstats-htpasswd
require valid-user
some extra things may help :
I didnt change my DNS name to point to EC2 server yet and im testing it by adding domain name to HOSTS file. is it important? i need to be sure its working before i go for changing DNS.
and here is the VirtualHost section of my httpd.conf
SuexecUserGroup "#503" "#504"
ServerName mydomain.com
ServerAlias www.mydomain.com
ServerAlias webmail.mydomain.com
ServerAlias admin.mydomain.com
DocumentRoot /home/mydomain/public_html
ErrorLog /var/log/virtualmin/mydomain.com_error_log
CustomLog /var/log/virtualmin/mydomain.com_access_log combined
ScriptAlias /cgi-bin/ /home/mydomain/cgi-bin/
ScriptAlias /awstats/ /home/mydomain/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
Order allow,deny
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
allow from all
require all granted
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
allow from all
require all granted
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.mydomain.com
RewriteRule ^(.*) https://mydomain.com:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.mydomain.com
RewriteRule ^(.*) https://mydomain.com:9001/ [R]
AuthName "mydomain.com statistics"
AuthType Basic
AuthUserFile /home/mydomain/.awstats-htpasswd
require valid-user
Alias /dav /home/mydomain/public_html
DAV on
AuthType Basic
AuthName "mydomain.com"
AuthUserFile /home/mydomain/etc/dav.digest.passwd
Require valid-user
ForceType text/plain
Satisfy All
RemoveHandler .php
RemoveHandler .php5
RewriteEngine off
and 10.202.29.240 is my private IP , is that correct?
should i give “Execute” permission to Home/Mydomain/ folder? (which cause error 500)?