Page 1 of 1

htaccess doesn't work.

Posted: Wed Jun 18, 2014 5:07 pm
by evilnab
Hello,
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]
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 ?

Re: htaccess doesn't work.

Posted: Wed Jun 18, 2014 5:16 pm
by evilnab
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. ;)

Re: htaccess doesn't work.

Posted: Tue Jun 24, 2014 6:35 pm
by imperio
No idea how but htaccess file started working after i renamed it from .htaccess to htaccess and than back to .htaccess
:-))