Author Topic: htaccess not working on /usr/local/apache/htdocs  (Read 3359 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
htaccess not working on /usr/local/apache/htdocs
« on: September 23, 2020, 02:09:05 PM »
Hi I'm using

RewriteEngine on
Options -Multiviews
RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]


as an example but it is not getting redirected.

Offline
****
Re: htaccess not working on /usr/local/apache/htdocs
« Reply #1 on: September 23, 2020, 05:10:47 PM »
Why are you trying to use the pageholder/Main website?

From what I have noticed that directory/site doesn't have any permissions for PHP or .htaccess

We just have a generic HTML file that replaced the Default one.