Hi there
I was using a script for imagehosting
it got .htaccess file
but when I move to nginx the url is giving some problem.
I am not very good with coding so I am asking for some help with you guys.
[code]
Options +FollowSymLinks
RewriteEngine on
##point to installation directory
##if it is the root dir,enter /
##else /otherdir
RewriteBase /
## uncomment(i.e:remove # ) below lines if the static url doesn't work
## and rename files show.php -> show2.php, out.php -> out2.php, view.php -> view2.php, images.php -> images2.php,
#RewriteRule ^show\.php/(.*)$ show2.php?img=$1 [L]
#RewriteRule ^out\.php/([a-z]{1})(.*)$ out2.php?$1=$2&%{QUERY_STRING} [L]
#RewriteRule ^view\.php/(.*)$ view2.php?img=$1 [L]
#RewriteRule ^images\.php/([a-z]{1})(.*)$ images2.php?$1=$2&%{QUERY_STRING} [L]
RewriteRule ^users/(.*)\.html$ user.php?user=$1 [L]
RewriteRule ^gallery/([0-9]+)-([^/]*)/(.*)$ gallery.php?gal=$1&img=$3 [L]
RewriteRule ^viewimg/([0-9]+)-([^/]*)/(.*)$ gallery_body.php?gal=$1&img=$3 [L]
[/code]
Please help me thanks
Edited 1 time(s). Last edit at 01/16/2011 07:50AM by deepmob.