View previous topic :: View next topic |
Author |
Message |
puertoblack2003 -
Joined: 08 Oct 2006 Posts: 87
|
Posted: Wed Oct 03, 2007 9:12 pm Post subject: GameScipt Rewrite |
|
|
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 |
|
|
admin Site Admin
Joined: 03 Mar 2002 Posts: 1295
|
Posted: Wed Oct 03, 2007 11:02 pm Post subject: Re: GameScipt Rewrite |
|
|
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 |
|
|
puertoblack2003 -
Joined: 08 Oct 2006 Posts: 87
|
Posted: Fri Oct 05, 2007 8:20 pm Post subject: Re: GameScipt Rewrite |
|
|
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 |
|
|
|