.htaccess file and 500 Internal Server Error

Status
Not open for further replies.

asvabjob

New Member
Messages
7
Reaction score
0
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]
 

asuknr

New Member
Messages
2
Reaction score
0
Points
1
Please check whether the file having execute permission or not
 

asvabjob

New Member
Messages
7
Reaction score
0
Points
1
I figured it out. I had the wrong baseline. I changed it to /stevevonline.x10.mx/ and works fine.
 
Status
Not open for further replies.
Top