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: 115
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready