Re: [PHP] Changing values in .htaccess



yOn Thu, 28 Sep 2006, Curt Zirzow wrote:

On 9/28/06, Martin Marques <martin@xxxxxxxxxxxxxxx> 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 all.

Is .htaccess enabled at all? by default apache doesn't have it
enabled in most installations.

OK, just found this in my VirtualHost file:

AllowOverride None

If you can, set this on a per directory setting in your virtualhost
setting within a <Directory> or <Location>, instead of turning on
.htaccess.

As I have to modify it anyway, maybe I'll just put it in the virtualhost configuration file.

--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
---------------------------------------------------------
Lic. Martín Marqués | SELECT 'mmarques' ||
Centro de Telemática | '@' || 'unl.edu.ar';
Universidad Nacional | DBA, Programador,
del Litoral | Administrador
---------------------------------------------------------