Forum Moderators: phranque
I want that if Web browser asks for
[localhost...]
Apache returns the file
main.htm
Below there are lasts lines of my apache2.conf:
# NameVirtualHost *
# Include the virtual host configurations:
# Include /etc/apache2/sites-enabled/[^.#]*
DocumentRoot /var/www
RewriteEngine on
RewriteRule ^index\.php$ /main.htm
The module mod_rewrite is loaded (I'm sure on it) but if the browser asks for
[localhost...]
Apache returns the file index.php... It seems RewriteRule doesn't work!
What's the matter?
Thanks in advance.