On Tue, 5 Jul 2005, Ron Smith wrote:
My OS stats are:
Apache/2.0.52 (Win32) PHP/4.3.10 mod_perl/1.99_18 Perl/v5.8.6 Server
at localhost Port 80
This is running on "Win XP Pro". When I try to create a user-defined
ENV variable in 'httpd.conf', I'm unable to do a re-start of Apache.
The server just won't come back up untill I've removed the offending
lines. Does anyone know of a workaround?
Please demonstrate how you're trying to declare this variable.
Please explain how you're trying to restart Apache. (I'm a Unix/Mac guy,
so I'm used to using the apachectl command line tool; I've seen several
ways to get the same result on Windows, but I can't be more helpful
without a clearer idea of what tools you're using.)
Isn't the "right" way to define environment variables on Windows to go
into My Computer -> Properties -> Environment [?] -> Variables ? I
forget how to get to it, but I thought you had to go through the System
dialog window and find the Environment Variables button in there that,
in turn, lets you specify per-user or system-wide environment variables.
(Alternately, you should be able to use the `set` command in from within
cmd.exe, but I'm not clear if variables set that way are persistent
across reboots or have meaning outside of that particular shell.)
In any case, setting environment variables in httpd.conf isn't typically
how things are done with Unix versions of Apache. What variable are you
trying to set ? Have you tried setting it in any other ways ?
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>