Status
Not open for further replies.

ICanSurfNow

Active Member
35
2010
0
0
I'm getting a 500 Internal Server Error

Here is my .htacess below :

Code:
ErrorDocument 404 /index.php
Options -Indexes

RewriteEngine on
RewriteRule free-download-(.*)\.htm$ /index.php?q=$1
RewriteRule ^page-([0-9]{1,3})\.htm$ /index.php?page=$1
RewriteRule ^site/([-a-zA-Z0-9_\.]{3,255})$ /index.php? URL=$1&page=1
RewriteRule ^site/([-a-zA-Z0-9_\.]{3,255})/page-([0-9]{1,3})\.htm$ /index.php? URL=$1&page=$2
RewriteRule free-direct-download-([0-9]{1,11})-(.*)\.htm$ /go.php?go=Download&id=$1&title=$2&top=0
RewriteRule free-xxx-direct-download-([0-9]{1,11})-(.*)\.htm$ /go2.php?go=Download&id=$1&title=$2&top=0
RewriteRule top-direct-download-([0-9]{1,11})-(.*)\.htm$ /go.php?go=Download&id=$1&title=$2&top=1
RewriteRule top-xxx-direct-download-([0-9]{1,11})-(.*)\.htm$ /go2.php?go=Download&id=$1&title=$2&top=1
RewriteRule query-(.*)-([0-9]{1,3})\.htm$ /index.php?q=$1&page=$2
RewriteRule type-([a-zA-Z]{2,8})\.htm$ /index.php?type=$1
RewriteRule porno-([a-zA-Z]{2,8})\.htm$ /xxxindex.php?type=$1

RewriteRule gamespg-([0-9]{1,3})\.htm$ /index.php?type=Game&page=$1
RewriteRule appspg-([0-9]{1,3})\.htm$ /index.php?type=App&page=$1
RewriteRule tvpg-([0-9]{1,3})\.htm$ /index.php?type=TV&page=$1
RewriteRule moviespg-([0-9]{1,3})\.htm$ /index.php?type=Movie&page=$1
RewriteRule musicpg-([0-9]{1,3})\.htm$ /index.php?type=Music&page=$1
RewriteRule ebookpg-([0-9]{1,3})\.htm$ /index.php?type=eBook&page=$1
RewriteRule templatepg-([0-9]{1,3})\.htm$ /index.php?type=Template&page=$1
RewriteRule scriptpg-([0-9]{1,3})\.htm$ /index.php?type=Script&page=$1
RewriteRule xxxpg-([0-9]{1,3})\.htm$ /xxxindex.php?type=Xxx&page=$1
RewriteRule otherpg-([0-9]{1,3})\.htm$ /index.php?type=Other&page=$1
RewriteRule macpg-([0-9]{1,3})\.htm$ /index.php?type=Mac&page=$1
RewriteRule streampg-([0-9]{1,3})\.htm$ /index.php?type=Stream&page=$1
RewriteRule mobilepg-([0-9]{1,3})\.htm$ /index.php?type=Mobile&page=$1

RewriteRule gamesquery-(.*)-([0-9]{1,3})\.htm$ /index.php?type=Game&q=$1&page=$2
RewriteRule appsquery-(.*)-([0-9]{1,3})\.htm$ /index.php?type=App&q=$1&page=$2
RewriteRule tvquery-(.*)-([0-9]{1,3})\.htm$ /index.php?type=TV&q=$1&page=$2
RewriteRule moviesquery-(.*)-([0-9]{1,3})\.htm$ /index.php?type=Movie&q=$1&page=$2
RewriteRule musicquery-(.*)-([0-9]{1,3})\.htm$ /index.php?type=Music&q=$1&page=$2
RewriteRule ebookquery-(.*)-([0-9]{1,3})\.htm$ /index.php?type=eBook&q=$1&page=$2
RewriteRule templatequery-(.*)-([0-9]{1,3})\.htm$ /index.php?type=Template&q=$1&page=$2
RewriteRule scriptquery-(.*)-([0-9]{1,3})\.htm$ /index.php?type=Script&q=$1&page=$2
RewriteRule xxxquery-(.*)-([0-9]{1,3})\.htm$ /xxxindex.php?type=Xxx&q=$1&page=$2
RewriteRule otherquery-(.*)-([0-9]{1,3})\.htm$ /index.php?type=Other&q=$1&page=$2
RewriteRule macquery-(.*)-([0-9]{1,3})\.htm$ /index.php?type=Mac&q=$1&page=$2
RewriteRule streamquery-(.*)-([0-9]{1,3})\.htm$ /index.php?type=Stream&q=$1&page=$2
RewriteRule mobilequery-(.*)-([0-9]{1,3})\.htm$ /index.php?type=Mobile&q=$1&page=$2

RewriteRule top-([a-zA-Z]{2,8})\.htm$ /top.php?toptype=$1

RewriteRule topsites/?$ http://www.mywebsite.com

RewriteRule admin/([a-zA-Z]{8,14})\.inc$ http://www.mywebsite.com

RewriteRule news-([0-9]{1,11})-(.*)\.html$ /news/page.php?id=$1&title=$2
RewriteRule news_katz-([0-9]{1,11})-(.*)\.html$ /news/page_katz.php?id=$1&title=$2
RewriteRule news_*****-([0-9]{1,11})-(.*)\.html$ /news/page_*****.php?id=$1&title=$2
 
14 comments
500 internal error = Fucked up bandwidth..This maybe 1 reason..

Try to restore your default htaccess and if the error persist then its your bandwidth, you will need to contact your host provider then.
 
by the way icanhost.me are you hosted at them? because their servers are fucked up..Their unlimited plans are not legit as their bandwidth is not unmetered.
 
haha ... I'm not hosted by them.
And I got unmetered hosting.
Anyway the problem is that the Rewrite rule was modified in Apache 2.2 .
And i do not know how to fix/modify the .htaccess to the new apache.
 
Go to cpanel -> error logs and check, there will be file permission error.
CHmod all folders to 775 and files to 644 and this will be fixed !
No .htaccess issue
 
lmao Shub the error 500 is to do with a malformed htaccess rule this is like 90% of the time so i doubt CHMOD the folders and fiels will have a difference !
 
but that generic error message is thrown by the apache engine and not php, he said logs was TURNED OFF so that would not help and if he had modified the htaccess before he got the message then its the htaccess rule for sure !
 
Status
Not open for further replies.
Back
Top