Joshua

Thanks, this is very useful. I'm not an Apache expert, and I was
following instructions written by someone else who, also, clearly does
not know how to use setenv & passenv.

The /var/apache2/logs/error_log reported:

[Wed Jun 07 17:08:22 2006] [error] httpd: could not log pid to file
/var/run/apache2/httpd.pid

..and this was because there was no apache2 directory in /var/run. Once
created, the httpd server started.

Many thanks.

James



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua
Slive
Sent: 07 June 2006 17:07
To: [email protected]
Subject: Re: [EMAIL PROTECTED] Apache2 variable was undefined warning
message

On 6/7/06, Geoghegan, James (CSS) <[EMAIL PROTECTED]> wrote:

> setenv DIRECT_SYSTEM /apps/CapitaDirect/System
>
> setenv DIRECT_TEMPLATE /apps/CapitaDirect/Template
>
> passenv DIRECT_SYSTEM
>
> passenv DIRECT_TEMPLATE

This doesn't make sense.  Setenv is used to set new variables that
apache will pass to cgi scripts.  Passenv is used to take env
variables that were set in the shell that started apache and pass them
along to cgi scripts.  You would never want to use both for the same
variable.

>
> ..and the httpd server did not start. I have found lots of reports of
this
> using Google, but no-one seems to know the solution. Does anybody here
know
> how to resolve this?

The fact that the server did not start is possibly unrelated.  The
messages you quoted were only warnings.  Was there anything else in
the error log?

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


This email has been scanned for all viruses by the MessageLabs SkyScan
service.

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to