Welcome! Log In Create A New Profile

Advanced

Shorty Rewrite Rules

Posted by macindy 
Shorty Rewrite Rules
November 21, 2009 01:48AM
Hi everybody!

I have a short-url rewrite script from get-shorty.com/

The .htaccess rules are
[quote="RewriteEngine on

RewriteCond %{REQUEST_URI} !((.+\\..+)|(^/[a-z0-9_-]+/$)|(^/[a-z0-9_-]+$)) [NC]
RewriteRule (.*)$ forward.php [QSA,L]"]

[/quote]

How can I rewrite this in nginx? Thanks in advantage!
macindy
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 89
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready