SetEnvIf & SESSION_USE_TRANS_SID=0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

first at all, I'm sorry for my english, I'll do my best :-)

We have a website which works with session.use_trans_sid set to On. Everything works just fine, but when googlebot comes on the website and does its job, it's also getting the php's session id in the URL. I've search a lot about this problem and one of the solution which could do what I want, disabling session.use_trans_sid if User-Agent is ^googlebot, doesn't work. Here is what I tried, in a .htaccess file :

SetEnvIf User-Agent "^googlebot" SESSION_USE_TRANS_SID=0
- EnvVar is properly set up but has no effect if I check a phpinfo (session.use_trans_sid still to On)

I can't disable session.use_trans_sid for the whole website, but only if googlebot is coming.

Thanks a lot for your help !

Regards,
Sylvain, France


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux