Bug 62485 - rewriterule is not activated when followsymlinks is off
Summary: rewriterule is not activated when followsymlinks is off
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_rewrite (show other bugs)
Version: 2.4.18
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-23 00:39 UTC by Brad Lanam
Modified: 2018-06-23 00:39 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brad Lanam 2018-06-23 00:39:05 UTC
mod_rewrite creates this error:

[Fri Jun 22 17:28:21.938763 2018] [rewrite:error] [pid 10045] [client 75.37.35.2
13:42662] AH00670: Options FollowSymLinks and SymLinksIfOwnerMatch are both off,
 so the RewriteRule directive is also forbidden due to its similar ability to ci
rcumvent directory restrictions : /var/www/ballroomdj.org/forum/

I do NOT want to turn on followsymlinks, and I do want to 
use rewriterule.

I see that 43036 is a duplicate.  

But .htaccess files are disallowed.

Does apache have a method to determine whether the directive comes from
within a .htaccess file as opposed to the main configuration?