On Jan 24, 2007, at 1:21 AM, Igor Sysoev wrote:
On Wed, 24 Jan 2007, Jason B wrote:
RewriteRule ^index.html$ index%{HTTP_COOKIE['cookieName']}.html
location = /index.html {
set $name "";
if ($http_cookie ~ "cookieName=([^;]+)(?:;|$)") {
set $name $1;
}
index index$name.html;
}
would this also work?
if ($http_cookie ~ "cookieName=([^;]+)(?:;|$)") {
rewrite index$1 ;
}
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
| FindMeOn.com - The cure for Multiple Web Personality Disorder
| Web Identity Management and 3D Social Networking
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
| RoadSound.com - Tools For Bands, Stuff For Fans
| Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -