[ale] apache question

Jonathan Glass jonathan.glass at ibb.gatech.edu
Tue Jun 10 13:36:08 EDT 2003


On Tue, 2003-06-10 at 12:21, Rodgers, Phil wrote:
> can mod_rewrite change the url  www.foo.com to
> www.bar.com?page=2&site=3 .  If so can someone help me figure out how?
> 
> Philip Rodgers
> Manager of Information Systems
> Engle, Martin, and Associates
> (678)553-0722
> prodgers at englemartin.com

First, have you read the online docs?
http://httpd.apache.org/docs/mod/mod_rewrite.html


Here are all possible substitution combinations and their meanings:

Inside per-server configuration (httpd.conf)
for request ``GET /somepath/pathinfo'':


Given Rule                                      Resulting Substitution
----------------------------------------------  ----------------------------------
^/somepath(.*) http://thishost/otherpath$1 [R]   http://thishost/otherpath/pathinfo


-- 
Jonathan Glass <jonathan.glass at ibb.gatech.edu>

_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list