i can pay someone $5 - $10 USD to convert a 30 line .htaccess file to
nginx for me. let me know if you’re interested and i’ll email it to you.
well, if anyone feels like taking a crack at it… check below
Rewrite Pattern Redirect URL Options -
SEFTAG required!
RewriteRule ^pages/([^/]+) index.php?t=$1
[E=SEFTAG:pages,L]
RewriteRule ^charts/([^/]+) index.php?t=$1
[E=SEFTAG:charts,L]
RewriteRule ^lists/([^/]+) index.php?t=$1
[E=SEFTAG:lists,L]
RewriteRule ^articles/([^/]+) index.php?c=$1
[E=SEFTAG:articles,L]
RewriteRule ^signup/([^/]+) signup.php
[E=SEFTAG:signup,L]
RewriteRule ^content/(.+) index.php?c=$1
[E=SEFTAG:content,L]
RewriteRule ^forum(/)+(.)$ forum.php?band_id=0
[E=SEFTAG:forum,QSA,L]
RewriteRule ^comments(/)+(.)$ comment.php
[E=SEFTAG:comments,QSA,L]
RewriteRule ^community(/)+$ index.php?t=community
[E=SEFTAG:community,QSA,L]
RewriteRule ^search(/)+$ index.php?t=search
[E=SEFTAG:search,QSA,L]
Link Masker
RewriteRule ^chart=([^/]+)$ sefjam.php?uf_str=$1 [L]
RewriteRule ^list=([^/]+)$ sefjam.php?uf_str=$1 [L]
RewriteRule ^page=([^/]+)$ sefjam.php?uf_str=$1 [L]
specific pages
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteCond %{SCRIPT_FILENAME} !(([^/]+).css)
RewriteCond %{SCRIPT_FILENAME} !(([^/]+).xml)
RewriteCond %{REQUEST_URI} !^(.epk.)$
RewriteCond %{REQUEST_URI} !^(.song_player.)$
RewriteRule ^members/([0-9]+)(/.)?$ sefjam.php?band_id=$1 [QSA,L]
RewriteRule ^([A-Za-z0-9_.-]+)/guestbook(/)?$
guestbook.php?mode=view_guestbook&template=script_guestbook.tpl&profile=$1
[QSA,L]
RewriteRule ^([A-Za-z0-9_.-]+)/epk(/)?$ epk.php?profile=$1 [QSA,L]
RewriteRule ^([A-Za-z0-9_.-]+)/contact(/)?$
contact.php?template=script_contact.tpl&profile=$1 [QSA,L]
RewriteRule ^([A-Za-z0-9_.-]+)/comments(/)?$
comment.php?mode=view_comments&type=band&template=script_comment.tpl&profile=$1
[QSA,L]
RewriteRule ^([A-Za-z0-9_.-]+)/share(/)?$
share.php?mode=form&template=script_share.tpl&profile=$1 [QSA,L]
RewriteRule ^([A-Za-z0-9_.-]+)/info(/)?$ $1/info.php [QSA,L]
RewriteRule ^([A-Za-z0-9_.-]+)/forum(/.)?$ forum.php?profile=$1 [QSA,L]
Profiles - entry
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^([^/]+)((/.+.php)?/?)$ sefjam.php?uf_name=$1&uf_path=$2
[QSA,L]
On 06/21/2011 06:40 PM, RedAMP wrote:
RewriteRule ^articles/([^/]+) index.php?c=$1
[E=SEFTAG:community,QSA,L]
RewriteCond %{ENV:REDIRECT_STATUS} ^$
contact.php?template=script_contact.tpl&profile=$1 [QSA,L]
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^([^/]+)((/.+.php)?/?)$ sefjam.php?uf_name=$1&uf_path=$2
[QSA,L]
nginx mailing list
[email protected]
nginx Info Page
okay, so nobody wants to take this task on. lol well, i’m still trying
to get it but i’m struggling with the options variable. can someone at
least explain to me how you would set the options variable (SEFTAG) as
seen in the line below?
Rewrite Pattern Redirect URL Options -
SEFTAG required!
RewriteRule ^pages/([^/]+) index.php?t=$1
[E=SEFTAG:pages,L]
On 06/22/2011 08:51 AM, RedAMP wrote:
[E=SEFTAG:lists,L]
RewriteRule ^community(/)+$ index.php?t=community
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^([A-Za-z0-9_.-]+)/contact(/)?$
RewriteCond %{SCRIPT_FILENAME} !-f
okay, so nobody wants to take this task on. lol well, i’m still trying
nginx mailing list
[email protected]
nginx Info Page
I’m also confused about how to convert ENV:REDIRECT_STATUS