Re: Sessions: APACHE HACK instead of -trans-sid?

From: Date: Mon, 20 Nov 2000 19:14:31 +0000
Subject: Re: Sessions: APACHE HACK instead of -trans-sid?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-26311@lists.php.net to get a copy of this message
I remember seeing a mod_rewrite tip on phpbuilder.com at some point that explains just such a thing. I can't find it now (but I didn't look very hard.) The apache docs on mod_rewrite are great and should make all things pretty clear. One caution: Make sure that you are prepared for search engines spiders. If you include session ids in the URLs so that they look unique static files, you can get hit hard. me@artwells.com http://www.artwells.com/ That which indicates nothing introduces everything. On Sun, 19 Nov 2000, Derek Sivers wrote: > I've heard the other alternative to PHP's --enable-trans-sid option is an > Apache hack. > > I've seen it used on Amazon.com. It appends a unique ID at the end of your > URL *ALWAYS*, at the Apache level, not the HTML/PHP level, and just knows > to filter it out and process the other parts of the URL that it needs. > > My site is already doing something similar to this. And I own/run the > server, and can hack-up Apache all I want. > > Does anyone know HOW to do it though, or perhaps direct me to a URL about > what mod_rewrite-type thing I need? > > (I'm asking my PHP friends here, because you guys already know what > --enable-trans-sid is...) > > > Thanks! > > > >

« previous php.general (#26311) next »