Control Web Panel

WebPanel => Apache => Topic started by: mehdiops on April 20, 2017, 06:27:38 PM

Title: htaccess not work
Post by: mehdiops on April 20, 2017, 06:27:38 PM
hi
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]
domain.com/post&id=50
Title: Re: htaccess not work
Post by: xsilent 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?

Thanks
Title: Re: htaccess not work
Post by: ManjunathPM 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
</Directory>

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

But still .htaccess file is not working
Title: Re: htaccess not work
Post by: warriorlawyer 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?