Author Topic: htaccess not work  (Read 7471 times)

0 Members and 1 Guest are viewing this topic.

htaccess not work
« on: April 20, 2017, 06:27:38 PM »
i use this htaccess 
Code: [Select]

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php?page=/$1

my link website is this but at cwp not work

Code: [Select]

Re: htaccess not work
« Reply #1 on: May 29, 2017, 07:06:41 AM »
I also get same problem..

I have a fresh installed cwp 9.8.240.

Then I install and configure CSF firewall..

Then i try to open my website, i've got 500 internal server error.

I pretty sure this happen because htaccess not working, because i got error when install wordpress. it says mod_rewrite doesn't work.

How to fix this? why a fresh installed CWP will get this error?


Re: htaccess not work
« Reply #2 on: December 05, 2019, 10:59:35 AM »
Same problem with me.
I have also edited this file and turned on

<Directory "/home/<user_name>/public_html">
   Options -Indexes -FollowSymLinks +SymLinksIfOwnerMatch
   AllowOverride All

In the below mentioned file path

But still .htaccess file is not working

Re: htaccess not work
« Reply #3 on: December 22, 2019, 08:24:58 PM »
Hey, you guys did u solve the problem?
I got a subdomain on my uncle's web site but all I got is this error. Any help?