received 500 error after updating to apache 2.4 with easyapache

steven5493

Member
Apr 9, 2017
6
0
1
Taipei
cPanel Access Level
Root Administrator
Hi,

after updating to Apache 2.4 with easyapache, one of my web site received 500 error.

I checked and thought it could be caused by .htaccess file. I googled and it looks like I need to change AllowOverride None to AllowOverride All. I just wonder how I could change safely and permanently.


--------------------------------
my htaccess lines
Code:
AuthUserFile /dev/null
AuthGroupFile /dev/null
AuthName "Example Access Control"
AuthType Basic

php_flag session.auto_start 1

RewriteEngine On
RewriteRule ^add-p$ index_adp.php
RewriteRule ^Reservations$ Reservations_.php
RewriteRule ^Flight$ Flight.php
RewriteRule ^search$ search.php
RewriteRule ^search_IE$ search_IE.php
RewriteRule share_search$ share_search.php
RewriteRule ^Map-Travel-([a-zA-Z0-9_-]+)$ Map_T.php?L1=$1
RewriteRule ^Map-Travel-([a-zA-Z0-9_-]+);([a-zA-Z0-9_-]+)$ Map_T.php?L1=$1&L2=$2
RewriteRule ^Map-Travel-([a-zA-Z0-9_-]+);([a-zA-Z0-9_-]+);([a-zA-Z0-9_-]+)$ Map_T.php?L1=$1&L2=$2&L3=$3
RewriteRule ^Map-Travel-([a-zA-Z0-9_-]+);([a-zA-Z0-9_-]+);([a-zA-Z0-9_-]+);([a-zA-Z0-9_-]+)$ Map_T.php?L1=$1&L2=$2&L3=$3&L4=$4
RewriteRule ^share-([a-zA-Z0-9_-]+)-(.*)-(.*)-(.*).html$ share_data.php?sid=$1
RewriteRule ^share-([a-zA-Z0-9_-]+).html$ share_data.php?sid=$1
RewriteRule ^([a-zA-Z0-9_-]+).html$ search_data.php?acpid=$1
RewriteRule ^([a-zA-Z0-9_-]+)-(.*)-(.*)-(.*).html$ search_data.php?pid=$1&cont=nn&lname=$2&pname=$3&ename=$4
RewriteRule ^([a-zA-Z0-9_-]+).html$ search_data.php?pid=$1
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello,

Could you let us know the specific error message you see in /usr/local/apache/logs/error_log when this happens?

Thank you.