View previous topic :: View next topic |
Author |
Message |
phlackee -
Joined: 22 Feb 2008 Posts: 1
|
Posted: Wed Feb 27, 2008 8:33 pm Post subject: SILVERSTRIPE help |
|
|
Can anyone help me translate this for abyss.
Code: | ### SILVERSTRIPE START ###
RewriteEngine On
RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$
RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
### SILVERSTRIPE END ### |
[/code] |
|
Back to top |
|
|
pkSML -
Joined: 29 May 2006 Posts: 955 Location: Michigan, USA
|
Posted: Thu Feb 28, 2008 12:16 am Post subject: |
|
|
Variable path regex: ^(.*)$
Case sensitive: no
condition 1:
Variable: REQUEST_URI
Operator: Does not match with
Expression: (\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$
condition 2:
Variable: REQUEST_FILENAME
Operator: Is not a file
Apply to subrequests too: sure, why not?!?
If rule matches: internal redirection (I don't know here)
Redirect to: sapphire/main.php?url=%1&
Append query string: yes
Escape redirection location: no
Next action: stop
Let us know if this works. _________________ Stephen
Need a LitlURL?
http://CodeBin.yi.org |
|
Back to top |
|
|
|