Login
Register
Home
Wiki Knowledge Base
FreeDNS
Facebook
Linux Support
Control Web Panel
MENU
Home
Help
Search
Login
Register
Control Web Panel
»
WebPanel
»
Apache
»
htaccess not working on /usr/local/apache/htdocs
« previous
next »
Print
Pages: [
1
]
Author
Topic: htaccess not working on /usr/local/apache/htdocs (Read 3559 times)
0 Members and 1 Guest are viewing this topic.
SteveMoretz
Newbie
Posts: 5
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.
Logged
Starburst
Hero Member
Posts: 1077
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.
Logged
Print
Pages: [
1
]
« previous
next »
Control Web Panel
»
WebPanel
»
Apache
»
htaccess not working on /usr/local/apache/htdocs