htaccess doesn't work.
Posted: Wed Jun 18, 2014 5:07 pm
Hello,
htaccess seems not to be working , i've tried using htaccess to display error pages and it didnt work , tried to use
and it didn't work either.
the .htaccess is located in /web/mydomain.com/public_html
Any idea what is wrong or any solution to fix that ?
htaccess seems not to be working , i've tried using htaccess to display error pages and it didnt work , tried to use
Code: Select all
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1%{REQUEST_URI} [R=301,QSA,NC,L]
the .htaccess is located in /web/mydomain.com/public_html
Any idea what is wrong or any solution to fix that ?