The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

received 500 error after updating to apache 2.4 with easyapache

Discussion in 'EasyApache' started by steven5493, Apr 9, 2017.

  1. steven5493

    steven5493 Registered

    Joined:
    Apr 9, 2017
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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
    
     
    #1 steven5493, Apr 9, 2017
    Last edited by a moderator: Apr 9, 2017
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

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

    Thank you.
     
Loading...

Share This Page