Forum Moderators: phranque
RewriteRule ^index\.html$ /welcome.php [L]
The problem is I don't want the result to look like this:
[mydomain.com...] in the address bar
instead I want
[mydomain.com...] in the address bar and still rewrite it to welcome.php
How can this be done?
As part of a more general question: How can it be made such that when a file is requested, it is returned but the address bar only shows the top-level domain, does it involve setting your file as a default homepage on the server?
Check out the Apache mod_dir documentation [httpd.apache.org].
Oh, and after your last post, here's the mod_rewrite document [httpd.apache.org] as well - worth a print-and-read.
Cheers,
Jim