The following is .htaccess file i used with apache , now i want the same functionality with lighttpd , but since lighttpd do not support .htaccess then what should i do then ??
Thanks In Advance.
PHP 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]
~