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
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: