Hi
 If you want to set  (custom) environment variables other than the 
default ones (like starting in prefork or 64-bit), you can edit envvars 
found under /etc/apache2/2.2/


Louis Hoefler wrote:
> I want to set some environment variables at the same time apache 2.2 starts.
>
> I got this output from svcs -a | grep apache
> legacy_run      1:33:09 lrc:/etc/rc3_d/S50apache
>   
this version if for apache 2.0
> online          1:33:10 svc:/network/http:apache22
>
> I found a S50apache script in /etc/rc3.d. Somehow it's configuration options 
> point to /etc/apache instead of /etc/apache2/2.2. Is this the scripts that 
> starts apache 2.2 at runtime?
>
> I also noticed that this script should start tomcat on demand. But this 
> doesn't work. Is there a fix for the startscript so that i do not need to 
> start tomcat manually? Or did i simply look at the wrong script?
>
>   
for tomcat, you can start the server by doing some thing like 
/usr/apache/tomcat/bin/startup.sh

tomcat 6 is available starting from build 106. with tomcat 6, you start 
the server using Solaris SMF

- sriram
> Thanks for the help Louis Hoefler.
>   

Reply via email to