in reply to How do I create friendlier URLS?
So http://www.mydomain.com/bar ends up as http://www.mydomain.com/cgi-bin/foo.cgi?call=bar.html#start the engine RewriteEngine on #this needs to be set to allow the URL manipulation Options +FollowSymlinks #the directory the manipulations will take place on RewriteBase / # mod_rewrite allows you to use Regular Expressions # to define the manipulations RewriteRule ^(.*\.html)$ cgi-bin/foo.cgi?call=$1
see: http://httpd.apache.org/docs/2.0/misc/rewriteguide.html
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How do I create friendlier URLS?
by blogical (Pilgrim) on Feb 23, 2007 at 02:52 UTC |