htaccess doesn't work.
htaccess doesn't work.
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 ?
Re: htaccess doesn't work.
No idea how but htaccess file started working after i renamed it from .htaccess to htaccess and than back to .htaccess
You may close the topic. ;)
You may close the topic. ;)
Re: htaccess doesn't work.
:-))No idea how but htaccess file started working after i renamed it from .htaccess to htaccess and than back to .htaccess