User Tools

Site Tools


installation:register365

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
installation:register365 [2011/05/13 20:45]
ccagle8
installation:register365 [2011/10/13 22:37]
n00dles101
Line 19: Line 19:
 match URL into $ with ^/admin.*$ match URL into $ with ^/admin.*$
 if matched then goto END if matched then goto END
 +
 +# see if its a page with a querystring
 +
 +RULE_0_START:​
 +# get the document root
 +map path into SCRATCH:​DOCROOT from /
 +# initialize our variables
 +set SCRATCH:​ORIG_URL = %{URL}
 +set SCRATCH:​REQUEST_URI = %{URL}
 +
 +# see if theres any queries in our URL
 +match URL into $ with ^(.*)\?​(.*)$
 +if matched then
 +  set SCRATCH:​REQUEST_URI = $1
 +  set SCRATCH:​QUERY_STRING = $2
 +    set URL = /​index.php?​id=$1&​$2
 +    goto END
 +endif
 +RULE_0_END:
 +
 +# otherwise serve the page
  
 match URL into $ with /?​([A-Za-z0-9-]+)/?​$ match URL into $ with /?​([A-Za-z0-9-]+)/?​$
installation/register365.txt ยท Last modified: 2013/04/19 15:04 (external edit)