Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: flaviove on August 04, 2009, 11:02:03 PM
-
Hi All,
Is it possible to desable "session.use_trans_sid" on a SME Server 8.0 beta4?
If so, what should I do?
Thanks in advance,
Flávio Veras
-
hi
you could start telling us WHERE session.use_trans_sid is used..
ciao
Stefano
-
You, too, could start... by using search or Google:
http://www.olate.co.uk/articles/252
It helps shutting off PHP's session IDs from bots and having
silly code strings improperly being listed in search engines.
-
You, too, could start... by using search or Google:
http://www.olate.co.uk/articles/252
It helps shutting off PHP's session IDs from bots and having
silly code strings improperly being listed in search engines.
I suggest we keep it friendly here. From the context of OP's question it is not clear to everybody that it is PHP related here. If you desire an answer to questions it is best to describe your question as specific as possible. Stefano was only asking for more details here.
Now over to a answer of the original question:
If you want to change this setting on your server you will have to create a custom template fragment:
mkdir -p /etc/e-smith/templates-custom/etc/php.ini
cp /etc/e-smith/template/etc/php.in/80ModuleSettings16Session /etc/e-smith/templates-custom/etc/php.ini
Now we need to modify the copied template fragment. You can use any editor but we will assume nano here:
nano /etc/e-smith/template-custom/etc/php.in/80ModuleSettings16Session
Now edit the last line to read:
80ModuleSettings16Session:session.use_trans_sid = 0
Save your file, in the case you use nano, press Ctrl+x, and choose Y to save.
Last steps we need to do is regenerate the configuration file and reload it:
expand-template /etc/php.ini
sv t httpd-e-smith
-
You, too, could start... by using search or Google:
http://www.olate.co.uk/articles/252 (http://www.olate.co.uk/articles/252)
interesting.. so I should search with google?
ROTFL..
normally I use my crystall ball, but I'm moving to a new house and it's somewhere, in a box..
I suggest you and the OP to read carefully this (http://www.catb.org/%7Eesr/faqs/smart-questions.html) before posting..
It helps shutting off PHP's session IDs from bots and having
silly code strings improperly being listed in search engines.
thank you for the explanation..
as php.ini is a templated file, create a copy of the fragment that contains that value (/etc/e-smith/templates/etc/php.ini/80ModuleSettings16Session) into the same directory under the templates-custom tree, modify it, save it, expand php.ini, restart apache
that's all
next time, please, help us to help you, thank you
Stefano
edit: cactus.. you're too fast :-)
-
interesting.. so I should search with google?
ROTFL..
Exactly. I was being wry.
Cactus: Wry, not unfriendly.
I try not to lecture or otherwise be patronising.
Is SME8 really ready for such CMS-orientated stuff?
-
edit: cactus.. you're too fast :-)
:-)
-
Hi Everyboby.
Thank you everybody for the fast replay and orientations.
I was just installing in a SMEServer 8b4 box "horde groupware v1.2.3", before install it they ask to run "test.php". I did it and one of the item on a check list was "disable session.use_trans_sid" and I didn´t find anywhere how to do this.
Best regards,
Flávio Veras
-
<?php ini_set('session.use_trans_sid', 0); ?>
YMMV, I hope you are only testing...
-
<?php ini_set('session.use_trans_sid', 0); ?>
YMMV, I hope you are only testing...
Yes that can be done as well, but is not the most effective way of doing so, see my earlier instructions as that will only be applicable to code you write yourself not very handy when installing packages like horde in case of the OP.
-
What would probably be the most useful fact to the OP
might be an assertion that SME8 is ready for Horde... or not.
-
What would probably be the most useful fact to the OP
might be an assertion that SME8 is ready for Horde... or not.
I am not sure I understand what you mean with that. SME 8 comes with horde installed, aprt from that that does not seem to be OP's question.
-
I am not sure I understand what you mean with that. SME 8 comes with horde installed, aprt from that that does not seem to be OP's question.
My assumption was that OP meant Kronolith (which uses Horde etc).
Anyway the OP can speak for themselves, hopefully we've put them
on some sort of resolution path or 'orientation';~)