This is what happened. I installed Joomla at
http://alpha.stanmed.net and I get a 404 if I access the site as
http://alpha.stanmed.net or
http://www.alpha.stanmed.net But the site is accessible at
http://alpha.stanmed.net/index.php and
http://www.alpha.stanmed.net/index.phpIf I add the index.php, it works fine (when SEO is turned on).
Now, I have Apache 1.x from on my webhosting company's servers, and my webroot is ~/public_html but the above joomla installation is at ~/public_html/alpha
If I access
http://www.stanmed.net/alpha, then everything works fine, I do not get a 404.
But I also have another joomla installtion at ~/public_html/beta and I can access beta.stanmed.net whichever way I want (as descibed above for alpha), and it works just fine.
Here is the .htaccess of my ~/public_html
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^([^\.]+[^/])$ http://%{HTTP_HOST}/$1/ [R=301,L]
RewriteCond %{REQUEST_URI} !^/alpha/
RewriteCond %{HTTP_HOST} ^(www\.)?alpha\.
RewriteRule ^(.*)$ alpha/$1 [L]
RewriteCond %{REQUEST_URI} !^/beta/
RewriteCond %{HTTP_HOST} ^(www\.)?beta\.
RewriteRule ^(.*)$ beta/$1 [L]
RewriteCond %{REQUEST_URI} !^/home/
RewriteCond %{HTTP_HOST} ^(www\.)?stanmed\.
RewriteRule ^(.*)$ home/$1 [L]
Apart from this, the configuration.php and .htaccess of both the alpha and the beta sites look similar. Any pointers? Please let me know if you need any other information.
Thanks a lot
