Welcome! Log In Create A New Profile


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]"]


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

Click here to login

Online Users

Guests: 105
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready