I'm clueless about .htaccess rewrites

I’ve got a script and the rewrites are kicking my butt

RewriteEngine on

RewriteCond %{REQUEST_URI} /([0-9a-z]{1,9})$ [NC]
RewriteRule ^(.*) http://URL/?%1

RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]


–C

“The dumber people think you are, the more surprised they’re going to
be when you kill them.” - Sir William Clayton

On Mon, Aug 15, 2011 at 2:13 PM, Chris [email protected] wrote:

RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]

http://catb.org/~esr/faqs/smart-questions.html
http://wiki.nginx.org/HttpRewriteModule

Resolved it since it was Apache .htaccess rewrites by doing a reverse
proxy

Try http://www.anilcetin.com/convert-apache-htaccess-to-nginx/ . Its
good at converting rewrites but converting other stuff can be a bit
buggy.


omega13a
Owner and Founder of UFT
http://www.fedtrek.com