Quote:
Originally posted by wsjb78
"New" approaches are to turn those parameters into "directory" path with the ReWrite function. However that does slow down the overall performance...
|
You can also turn parameters into a directory structure by using the ScriptAlias directive. Instead of ScriptAliasing a directory to a directory, you point a directory to a script:
ScriptAlias /dynamic/ /web/dynamic/handler.pl
Then a request such as:
http://www.domain.com/dynamic/param1...m3/param4.html
Would call the script /web/dynamic/handler.pl with the PATH_INFO environment variable set to /param1/param2/param3/param4.html
__________________
<!--<font size="1">"Did you ever hear anyone say 'that work had better be banned because I might read it and it might be very damaging to me'?"
Joseph Henry Jackson,
American Journalist, 1894-1946</font>-->
<font size="1">"I know you believe you understand what you think I said, but I am not sure you realize that what you heard is not what I meant."<br>--Richard Nixon</font>
|