Internal Server Error

Status
Not open for further replies.

blood

New Member
Messages
7
Reaction score
0
Points
0
please can you allow these options for me to access my site

# ionCube Loaders - Required for the cms to function
# GD2 image library - Required for image thumbnails to function
# Apache mod_rewrite - Required for SEO friendly url's
# allow_url_fopen Enabled

REASON IS FOR THIS TO WORK
Code:
RewriteEngine On 
RewriteRule ^story-([0-9]*).html index.php?page=Story&id=$1 [L]
RewriteRule ^archive-(.*)-(.*).html index.php?page=Archive&archive_month=$1-$2 [L]
RewriteRule ^archive.html index.php?page=Archive [L]

RewriteRule ^articles.html index.php?page=Articles [L]
RewriteRule ^article-(.*).html index.php?page=Articles&action=showarticle&id=$1 [L]
RewriteRule ^articlenav-(.*)-page-(.*).html index.php?page=Articles&action=showarticle&id=$1&nav=$2 [L]
RewriteRule ^(.*)-(.*)-artnav.html index.php?page=Articles&action=cat&type=$1&nav=$2 [L]

RewriteRule ^articlelist.html index.php?page=Articles&action=cat&type=Article [L]
RewriteRule ^previews.html index.php?page=Articles&action=cat&type=Preview [L]
RewriteRule ^reviews.html index.php?page=Articles&action=cat&type=Review [L]
RewriteRule ^features.html index.php?page=Articles&action=cat&type=Feature [L]

RewriteRule ^cheatlist-(.*)-(.*)-(.*).html index.php?page=Cheats&start=$1&cat=$2&nav=$3 [L]
RewriteRule ^cheat-(.*)-(.*).html index.php?page=Cheats&action=show&game=$1&platform=$2 [L]

RewriteRule ^companylist-(.*)-(.*).html index.php?page=Companies&start=$1&nav=$2 [L]
RewriteRule ^company-(.*).html index.php?page=Companies&action=show&t=$1 [L]
RewriteRule ^companies.html index.php?page=Companies [L]

RewriteRule ^linklist-(.*)-(.*).html index.php?page=Links&action=cat&cat_id=$1&nav=$2 [L]
RewriteRule ^link-(.*).html index.php?page=Links&action=out&id=$1 [L]
RewriteRule ^links.html index.php?page=Links [L]
RewriteRule ^linkcat-(.*).html index.php?page=Links&action=cat&cat_id=$1 [L]
RewriteRule ^linknav-(.*)-(.*).html index.php?page=Links&action=cat&cat_id=$1&nav=$2 [L]

RewriteRule ^medialist-(.*)-(.*).html index.php?page=Media&action=cat&cat_id=$1&nav=$2 [L]
RewriteRule ^media-(.*).html index.php?page=Media&action=showfile&id=$1 [L]
RewriteRule ^media.html index.php?page=Media [L]
RewriteRule ^mediacat-(.*).html index.php?page=Media&action=cat&cat_id=$1 [L]
RewriteRule ^medianav-(.*)-(.*).html index.php?page=Media&action=cat&cat_id=$1&nav=$2 [L]

RewriteRule ^gamestatadd-(.*)-(.*).html index.php?page=Games&action=showgame&id=$1&add=$2 [L]
RewriteRule ^gamestatrem-(.*)-(.*).html index.php?page=Games&action=showgame&id=$1&remove=$2 [L]
RewriteRule ^gamemedia-(.*)-(.*).html index.php?page=Games&action=showgame&id=$1&show=Media&nav=$2 [L]
RewriteRule ^gamelist-(.*)-(.*)-(.*)-(.*).html index.php?page=Games&start=$1&cat=$2&nav=$3&genre=$4 [L]
RewriteRule ^games.html index.php?page=Games [L]
RewriteRule ^game-(.*).html index.php?page=Games&action=showgame&id=$1 [L]
RewriteRule ^gameinfo-(.*)-(.*).html index.php?page=Games&action=showgame&id=$1&show=$2 [L]
RewriteRule ^topgames-(.*).html index.php?page=Top+Games&cat=$1 [L]

RewriteRule ^members.html index.php?page=Members [L]
RewriteRule ^memberlist-(.*)-(.*).html index.php?page=Members&start=$1&nav=$2 [L]

RewriteRule ^system-(.*) index.php?page=Console&p=$1 [L]
RewriteRule ^online.html index.php?page=Online [L]

RewriteRule ^usercp.html index.php?page=User+CP [L]
RewriteRule ^editprofile-do.html index.php?page=Edit+Profile&edit=do [L]
RewriteRule ^editprofile.html index.php?page=Edit+Profile [L]
RewriteRule ^inbox.html index.php?page=User+CP&action=messages [L]

RewriteRule ^search.html index.php?page=Search&exec=Search [L]
RewriteRule ^gamesearch.html index.php?page=Search&exec=Search&t=games [L]
RewriteRule ^cheatsearch.html index.php?page=Search&exec=Search&t=cheats [L]
RewriteRule ^filesearch.html index.php?page=Search&exec=Search&t=file [L]
RewriteRule ^forumsearch.html index.php?page=Search&exec=Search&t=forums [L]

RewriteRule ^contact.html index.php?page=Contact [L]
RewriteRule ^contact-thanks.html index.php?page=Contact&action=thanks [L]

RewriteRule ^logout.html index.php?page=Logout [L]
RewriteRule ^logout-yes.html index.php?page=Logout&logmeout [L]

RewriteRule ^profile-(.*).html index.php?page=User+Profile&u=$1 [L]
RewriteRule ^allshouts.html shoutbox_all.php [L]
RewriteRule ^admin.html admin.php [L]
RewriteRule ^admincp admin.php [L]
RewriteRule ^company-(.*).html index.php?page=Company&action=show&t=$1 [L]

RewriteRule ^topgames.html index.php?page=Top+Games [L]
RewriteRule ^register.html index.php?page=Register [L]
RewriteRule ^cheats.html index.php?page=Cheats [L]

RewriteRule ^pages.html index.php?page=Page [L]
RewriteRule ^page-(.*).html index.php?page=Page&action=showpage&id=$1 [L]

RewriteRule ^forums.html forums.php?page=Forums [L]
RewriteRule ^forum-(.*).html forums.php?page=Forums&show=forum&id=$1 [L]
RewriteRule ^thread-(.*).html forums.php?page=Forums&show=thread&id=$1 [L]
RewriteRule ^newthread-(.*).html forums.php?page=Forums&show=newthread&fid=$1 [L]
RewriteRule ^reply-(.*)-(.*).html forums.php?page=Forums&show=reply&id=$1&fid=$2 [L]
RewriteRule ^threadnav-(.*)-(.*).html forums.php?page=Forums&show=forum&id=$1&nav=$2 [L]
RewriteRule ^postnav-(.*)-(.*).html forums.php?page=Forums&show=thread&id=$1&nav=$2 [L]

RewriteRule ^video.html filecat-13.html [L]
RewriteRule ^video-(.*).html video.php?id=$1 [L]
RewriteRule ^files.html index.php?page=Files [L]
RewriteRule ^filecat-(.*).html index.php?page=Files&action=cat&cat_id=$1 [L]
RewriteRule ^file-(.*).html index.php?page=Files&action=showfile&id=$1 [L]
RewriteRule ^(.*)-(.*)-filenav.html index.php?page=Files&action=cat&cat_id=$1&nav=$2 [L]

RewriteRule ^submit-news.html index.php?page=Submit+News [L]
RewriteRule ^submit-file.html index.php?page=Submit&type=File [L]
RewriteRule ^submit-article.html index.php?page=Submit&type=Article [L]
RewriteRule ^submitcheat-(.*)-(.*).html index.php?page=Submit&type=Cheats&game=$1&platform=$2 [L]
RewriteRule ^submit-media.html index.php?page=Submit&type=Media [L]
RewriteRule ^submit-link.html index.php?page=Submit&type=Links [L]

php_value register_globals 1

 

YamiKaitou

Member
Messages
636
Reaction score
0
Points
16
GD and mod_rewrite should work fine, unless something has changed recently
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
The problem would be register_globals at the bottom of that. We don't allow register globals because it is a huge security risk.

-Corey
 

blood

New Member
Messages
7
Reaction score
0
Points
0
The problem would be register_globals at the bottom of that. We don't allow register globals because it is a huge security risk.

-Corey

do u know if there is anyway of doing it without register_globals
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
I'm not sure, you'd have to speak to the script creator.

-Corey
 

blood

New Member
Messages
7
Reaction score
0
Points
0
I'm not sure, you'd have to speak to the script creator.

well i tried the php_flag register_globals 1 code in my .HTACCESS but that dont seem to help me either, theres gotta be a way of allowing it, a code or somthing.

if i had to change my files to allow them to work without it i would need to edit over 2000 files.
Edit:
if you set

"AllowOverride Options" or "AllowOverride All" privileges)

then i wouldnt be a risk, then i could use the .htaccess code
 
Last edited:

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
Yes I know that but like I said register_globals is a huge security risk not just to your site but to everyone on the server. We will not let it be turned on sorry. The creator of your script should probably re-rewrite it with security in mind.

-Corey
 

blood

New Member
Messages
7
Reaction score
0
Points
0
yes but i was saying you DONT NEED it on aslong as

"AllowOverride Options" or "AllowOverride All" privileges)

are set then it can be done VIA HTACCESS Without harming anyones site or server
 

Starshine

Legend Killer
Messages
14,423
Reaction score
0
Points
0
yes but i was saying you DONT NEED it on aslong as

"AllowOverride Options" or "AllowOverride All" privileges)

are set then it can be done VIA HTACCESS Without harming anyones site or server

I really don't think you will get him to change his mind. He's made it quite clear the setting is disabled for security reasons. Please don't try and make an argument over this.
 

blood

New Member
Messages
7
Reaction score
0
Points
0
the register_globals dont need to be changed, how many more times, when u use the code in a HTACCESS file it will only allow for the files above the HTACCESS file nothing below, it wont give me all the permissions, that the main one would. it will grant permissions for my files to insert into SQL tables.
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
If I turn it on for your account that means any scripts you put up could be compromised by it which in turn compromises the security of the server. It is staying off for everyone. There is a reason it will not even be included in PHP6
 
Status
Not open for further replies.
Top