Project

General

Profile

Bug #2352

.htaccess not working in apps

Added by bigfoot65 about 2 months ago. Updated about 2 months ago.

Status:
New
Priority:
High
Assignee:
Category:
App Install
Target version:
Start date:
10/14/2018
Due date:
% Done:

0%


Description

So try Gallery 3. You will get:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

The .htaccess file is:
<Files *.php>
php_flag short_open_tag on
</Files>

Tried adding it to the /etc/httpd/####-gallery3.conf file for the app and it won't work.

Changed /etc/httpd/conf.modules.d/00-mpm.conf:

Comment out line 11 and uncomment line 23

restart httpd

Installed Gallery 3 and works as expected. I have seen this issue with a few apps. Most I can disable the .htacess file, but Gallery 3 will not work with out it.

History

#1 Updated by bigfoot65 about 2 months ago

Adding custom web app options such as:

<Files *.php>
php_flag short_open_tag on
</Files>

to the /etc/httpd/####-gallery3.conf file works when the change is made.

This could affect several apps as we use this feature often.

Also available in: Atom