X Nations - View Single Post - Search Engine question
View Single Post
Old 07-12-2003, 10:09 AM   #23
NetRodent
NetRodent should edit this
X Cuseme
 
NetRodent's Avatar
 
Join Date: Jun 2003
Location: In the walls of your house.
Posts: 154
xBucks: 443
Send a message via ICQ to NetRodent
Default

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">&quot;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'?&quot;
Joseph Henry Jackson,
American Journalist, 1894-1946</font>-->
<font size="1">&quot;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.&quot;<br>--Richard Nixon</font>
NetRodent is offline   Reply With Quote