On Fri, 3 Sep 2004, Octavian Rasnita wrote:

You can put something like this, in httpd.conf file:

include ...path_to_file

And make the directory where sits that file readable only by the root user.

Then, in that file, put something like:

SetEnv usr user_name
SetEnv pass parolissima

Those 2 environment variables will be seen by any script that runs on that
server.

How is this supposed to scale for a system that is going to have lots of users? Update the environment variables with each request? That doesn't sound very reliable to me...




--
Chris Devers      [EMAIL PROTECTED]
http://devers.homeip.net:8080/blog/

np: 'Flight vs. Invisibility'
     by John Hodgman
     from 'This American Life: Crimebusters and Crossed Wires'

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to