GameScipt Rewrite

 
Post new topic   Reply to topic    Aprelium Forum Index -> URL Rewriting
View previous topic :: View next topic  
Author Message
puertoblack2003
-


Joined: 08 Oct 2006
Posts: 87

PostPosted: Wed Oct 03, 2007 9:12 pm    Post subject: GameScipt Rewrite Reply with quote

Hey guys,

ok i have to implement this rewrite to get his gamescript working right because I'm getting internal error because of the rewrite not correct been at it for 2 days and got a headache and refuse to give up.

this is the whole rule:

Quote:
RewriteEngine on
RewriteRule ^(.*)\.html$ index.php?params=$1 [L]

## Edit the following, remove the "#" at the beginning of the "Rewrite" lines to enable hotlink protection

## Allow MySpace
# RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?myspace.com [NC]
# RewriteCond %{HTTP_REFERER} !^http(s)?://(profile\.)?myspace.com [NC]
## ... LiveJournal
# RewriteCond %{HTTP_REFERER} !^http(s)?://(.*\.)?livejournal.com [NC]
## ... Blogger
# RewriteCond %{HTTP_REFERER} !^http(s)?://(.*\.)?blogspot.com [NC]
## ... your own site (edit URL here:)
# RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?YOURSITE.com [NC]
## send inappropriate hotlinkers to "hotlink.swf"
#RewriteRule \.(swf)$ hotlink.swf [NC,L]
#

## Remove the "#" at the beginning of the next three lines, and edit "YOURSITE.com" appropriately to rewrite all non-www links to www.
# RewriteBase /
# RewriteCond %{HTTP_HOST} !^www\.YOURSITE\.com [NC]
# RewriteRule ^(.*) http://www.YOURSITE.com/$1 [L,R=301]

## Remove the "#" at the beginning of the following lines to enable 'secure' uploadfiles directory protection.
# <Directory /uploadfiles>
# deny from all
# </Directory>

## Remove the "#" at the beginning of the next line to turn off directory indexes.
# Options -Indexes



and this what i have setup and mine u I'm a beginner for this


Quote:
^(.*)\.html$ index.php?params=$1 [L] Perform an internal redirection /arcade Continue with the next rule


straight form abysss web config.


and thats not working correctly i'm still getting internal error.th author of the script stated that rewrite rule has to be setup.



Can anybody help me getting this setup please.Willing to donate through paypal for your time thank you...
Back to top View user's profile Send private message
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1295

PostPosted: Wed Oct 03, 2007 11:02 pm    Post subject: Re: GameScipt Rewrite Reply with quote

puertoblack2003,

If the script is in /arcade, then the rewrite rule is:

* Virtual Path Regular expression: ^/arcade/(.*)\.html$
* Perform an internal redirection
* Redirect to: /arcade/index.php?params=$1
* Next Action: stop matching.
_________________
Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com
Back to top View user's profile Send private message
puertoblack2003
-


Joined: 08 Oct 2006
Posts: 87

PostPosted: Fri Oct 05, 2007 8:20 pm    Post subject: Re: GameScipt Rewrite Reply with quote

admin wrote:
puertoblack2003,

If the script is in /arcade, then the rewrite rule is:

* Virtual Path Regular expression: ^/arcade/(.*)\.html$
* Perform an internal redirection
* Redirect to: /arcade/index.php?params=$1
* Next Action: stop matching.


you made it so simple..lol thanks that did work i appreciated it very very much...man i just can't never get it right.
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> URL Rewriting All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group