Complete file is like this,
Code:
#RewriteEngine on
##point to installation directory
##if it is the root dir,enter /
#RewriteBase /
#RewriteRule ^show\.php/(.*)$ show2.php?img=$1 [L]
#RewriteRule ^out\.php/([a-z]{1})(.*)$ out2.php?$1=$2 [L]
#RewriteRule ^view\.php/(.*)$ view2.php?img=$1 [L]
#RewriteRule ^image\.php/([a-z]{1})(.*)$ images2.php?$1=$2 [L]
#RewriteRule ^gallery/([0-9]+)-([^/]*)/(.*)$ gallery.php?gal=$1&img=$3 [L]
#RewriteRule ^view/([0-9]+)-([^/]*)/(.*)$ gallery_body.php?gal=$1&img=$3 [L] As I have not installed it on root directory and installed it on
www.example.com/host/
should I write host at RewriteBase,
Code:
#RewriteEngine on
##point to installation directory
##if it is the root dir,enter /host/
#RewriteBase /host/