htaccess not work

Started by mehdiops, April 20, 2017, 06:27:38 PM

Previous topic - Next topic

mehdiops

hi
i use this htaccess 


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


domain.com/post&id=50

xsilent

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?

Thanks

ManjunathPM

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
</Directory>

In the below mentioned file path
/usr/local/apache/conf.d/vhosts/<domain_name>.ga.conf

But still .htaccess file is not working

warriorlawyer

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?