Dan Liu wrote:

Hi all,
Has anyone used 'Module mod_rewrite URL Rewriting Engine'? I need to do a redirect from
to http://url2/cgi-bin/mapserv?&map=/dir2/county.map

But it is not working. Does somebody know why?
Thanks in Advance.

Dan - without seeing the rewrite code.. its sorta hard to tell why it wouldn't be working!!!

simply put, if your host allows you to use a .htaccess and mod_rewrite.. in the .htaccess

RewriteEngine On
RewriteRule /usage.html /usage/index.html

Where /usage.html is the file that was requested, and /usage/index.html is the file that it needs to go to.

Rolf Brusletto www.phpExamples.net

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to