Re: [PHP] Changing values in .htaccess

2006-09-29 Thread Google Kreme
On 28 Sep 2006, at 22:23 , Curt Zirzow wrote: As i mentioned using .htaccess should be your last resort; there is a big performance hit big? You're joking. It's a miniscule hit in all but the most contrived of circumstances. Even the most complex websites are rarely more than 4 or 5

Re: [PHP] Changing values in .htaccess

2006-09-29 Thread Martin Marques
On Thu, 28 Sep 2006, Curt Zirzow wrote: On 9/28/06, Google Kreme [EMAIL PROTECTED] wrote: On 28 Sep 2006, at 14:30 , Curt Zirzow wrote: If you can, set this on a per directory setting in your virtualhost setting within a Directory or Location, instead of turning on .htaccess. Er... why?

Re: [PHP] Changing values in .htaccess

2006-09-29 Thread tedd
At 2:53 AM -0600 9/29/06, Google Kreme wrote: I also prefer to put custom php directives into htaccess, but that's probably just my personal preference. I agree, I just found several uses for .htaccess that I can not live without -- it's great. What references would you recommend? Thanks.

Re: [PHP] Changing values in .htaccess

2006-09-29 Thread Richard Lynch
On Thu, September 28, 2006 3:15 pm, Martin Marques wrote: I'm trying helplessly to get session.use_trans_sid to true in one directory that needs it. So I put this in an .htaccess file: php_value session.use_trans_sid 1 If both Cookies and trans_sid are on and if your browser accepts cookies,

Re: [PHP] Changing values in .htaccess

2006-09-29 Thread Google Kreme
On 29 Sep 2006, at 08:24 , tedd wrote: At 2:53 AM -0600 9/29/06, Google Kreme wrote: I also prefer to put custom php directives into htaccess, but that's probably just my personal preference. I agree, I just found several uses for .htaccess that I can not live without -- it's great. What

[PHP] Changing values in .htaccess

2006-09-28 Thread Martin Marques
I'm trying helplessly to get session.use_trans_sid to true in one directory that needs it. So I put this in an .htaccess file: php_value session.use_trans_sid 1 The thing is, it didn't work. I also tried changing 1 to On with no luck at all. Ideas are welcome. -- 21:50:04 up 2 days,

Re: [PHP] Changing values in .htaccess

2006-09-28 Thread Curt Zirzow
On 9/28/06, Martin Marques martin@bugs.unl.edu.ar wrote: I'm trying helplessly to get session.use_trans_sid to true in one directory that needs it. So I put this in an .htaccess file: php_value session.use_trans_sid 1 The thing is, it didn't work. I also tried changing 1 to On with no luck at

Re: [PHP] Changing values in .htaccess

2006-09-28 Thread Martin Marques
yOn Thu, 28 Sep 2006, Curt Zirzow wrote: On 9/28/06, Martin Marques martin@bugs.unl.edu.ar wrote: I'm trying helplessly to get session.use_trans_sid to true in one directory that needs it. So I put this in an .htaccess file: php_value session.use_trans_sid 1 The thing is, it didn't work. I

Re: [PHP] Changing values in .htaccess

2006-09-28 Thread Curt Zirzow
On 9/28/06, Martin Marques martin@bugs.unl.edu.ar wrote: yOn Thu, 28 Sep 2006, Curt Zirzow wrote: On 9/28/06, Martin Marques martin@bugs.unl.edu.ar wrote: I'm trying helplessly to get session.use_trans_sid to true in one directory that needs it. So I put this in an .htaccess file:

Re: [PHP] Changing values in .htaccess

2006-09-28 Thread Google Kreme
On 28 Sep 2006, at 14:30 , Curt Zirzow wrote: If you can, set this on a per directory setting in your virtualhost setting within a Directory or Location, instead of turning on .htaccess. Er... why? So you have to get root privs to edit your virtual conf? there's nothing wrong with .htaccess,

Re: [PHP] Changing values in .htaccess

2006-09-28 Thread Curt Zirzow
On 9/28/06, Google Kreme [EMAIL PROTECTED] wrote: On 28 Sep 2006, at 14:30 , Curt Zirzow wrote: If you can, set this on a per directory setting in your virtualhost setting within a Directory or Location, instead of turning on .htaccess. Er... why? So you have to get root privs to edit your