.htaccess file and 500 Internal Server Error

Discussion in 'Free Hosting' started by asvabjob, May 16, 2018.

  1. asvabjob

    asvabjob New Member

    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I'm getting a 500 Internal Error message when I attempt to view my post. I'm thinking that it's because of an error in my .htaccess file. Specifically the RewriteBase line. I've copied and pasted the contents of my .htaccess file below.
    The URL to my website: http://stevevonline.x10.mx/

    RewriteEngine On
    RewriteBase /stevevonline/

    RewriteRule ^c-(.*)$ catpost.php?id=$1 [L]
    RewriteRule ^ec-(.*)$ eventcatvenue.php?id=$1 [L]
    RewriteRule ^a-(.*)-(.*)$ archives.php?month=$1&year=$2 [L]
    RewriteRule ^e-(.*)-(.*)$ event-dates.php?month=$1&year=$2 [L]
    RewriteRule ^e-(.*)-(.*)$ event-dates.php?month=$1&year=$2 [L]

    RewriteCond %{REQUEST_FILENAME} !-d [NC]
    RewriteCond %{REQUEST_FILENAME} !-f [NC]
    RewriteRule ^(.*)$ viewpost.php?id=$1 [QSA,L]

    #RewriteRule ^(.*)$ viewevent.php?id=$1 [QSA,L]
    #RewriteRule ^(.*)$ viewevent.php?id=$1 [QSA,L]
     
  2. asuknr

    asuknr New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Please check whether the file having execute permission or not
     

Share This Page