httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w..@infowest.com
Subject [users@httpd] I'm having trouble using SetEnv on my Macintosh
Date Sat, 29 Oct 2005 08:56:25 GMT
I have OS X.3.
I'm trying to use J (an interpretted language) from
jsoftware.com for CGI.  But 
J needs an environment variable set
JPATHj504=/Users/llund/j504

If I create a shell script to set the environment variable
and then invoke J it 
works.  But I want to avoid the extra file read.  J supports
#! .  I.e.
#!/Users/llund/j504/jconsole 
works if the JPATHj504 environment variable is set.  So I
would like to have 
httpd set that variable.  But when I try 

SetEnv JPATHj504 /Users/llund/j504

in httpd.conf Apache fails to start up.  I have also tried 

SetEnv JPATHj504 "/Users/llund/j504"

Do I have the syntax wrong?  Or do I have to put it just the
right 
place in httpd.conf?

---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message