I have configured Amazon EC2 instance with Amazon Linux AMI 64 bit
and I have uploaded my website, whole code is working but issue with .htaccess
RewriteRule
are not working. I have done all changes in httpd.conf
file but I think it might be a permission issue.
please help me regarding this.
here is my htaccess
code
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^friosworld\.com$ [NC]
RewriteRule ^(.*)$ http://www.friosworld.com/$1 [R=301,L]
and one more thing I have found via googling
httpd.conf
file code
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
I think problem is in this block of code. but I don't know what is the problem!
I have also changed AllowOverride None
to AllowOverride All
but still not working!!