SILVERSTRIPE help

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


Joined: 22 Feb 2008
Posts: 1

PostPosted: Wed Feb 27, 2008 8:33 pm    Post subject: SILVERSTRIPE help Reply with quote

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 View user's profile Send private message
pkSML
-


Joined: 29 May 2006
Posts: 952
Location: Michigan, USA

PostPosted: Thu Feb 28, 2008 12:16 am    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
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