Perhaps try:
Code:
Redirect /index.php http://www.mydomain.com/joomla/
Given with the default setup there's no index.html? Or doesnt that matter?
If I may butt into this thread too as Im trying to achieve something similar.
I have an existing static html site and am considering moving to a CMS, drupal in this case. What I'd like to do is install drupal to a subdirectory so I can mess about with it while the old site is still live etc and once Im ready just switch over to the CMS.
However I'd prefer if the drupal subdirectory is invisible to any visitors.
e.g. at the moment I have:
www.mydomain.com/drupal/
using the suggested .htaccess in the top directory of mysite.com:
Code:
Redirect /index.php http://www.mydomain.com/drupal/
Whenever anyone visits
www.mydomain.com they're automatically redirected to
www.mydomain.com/drupal/
However, Id like this redirection to be invisible i.e. all a visitor sees in their address bar is:
www.mydomain.com despite viewing the contents of
www.mydomain.com/drupal/
Is this posible or should I just install drupal to the top directory of the site?
Thanks.