Page MenuHomePhabricator

Relax restrictions on .htaccess
Closed, ResolvedPublic

Description

At the moment, the Apache configuration denies by "AllowOverride None" all local customizations with .htaccess. This should be relaxed.

My use case is setting environment variables with "SetEnv" directives for CGI scripts; this needs assessment whether suphp can be rooted with that.


Version: unspecified
Severity: enhancement

Details

Reference
bz46003

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:37 AM
bzimport set Reference to bz46003.

Pending code review of the module startup code. In principle, there should be no insurmountable problems.

After review of the code, restrictions have been relaxed to:

AllowOverride AuthConfig FileInfo Options=IncludesNOEXEC

This still provides opportunity for foot-shooting with ill-considered SetEnv, but you get to shoot your own foot only.

Restricted Application added a subscriber: StudiesWorld. · View Herald Transcript