Apache mod rewrite .htaccess
Posted
by Sanjay
on Stack Overflow
See other posts from Stack Overflow
or by Sanjay
Published on 2010-06-03T11:41:48Z
Indexed on
2010/06/03
11:44 UTC
Read the original article
Hit count: 274
apache
|mod-rewrite
Hello,
Can anyone help to solve problem with overriding in apache2 ?
I have enabled mod_rewrite in apache2.
ut apache just ignores my .htaccess file with rewrite rules. When I add this line to my .htaccess file:
This is my virtual host configuration:
<VirtualHost *:80>
ServerName www.modomain.eu
ServerAlias mydomain.eu *.mydomain.eu mydomain.es *.mydomain.es
DocumentRoot /home/sites/mydomain.es
<Directory /home/sites/mydomain.es>
allowoverride none
</Directory>
</VirtualHost>
© Stack Overflow or respective owner