apache in a zone?

hello all,

on my t2000, i want to use coolstack in zones, not in global zone!

so apache2 is installed under /opt/coolstack/apache2, and i moved conf dir in /etc/coolstack/apache2, and did a link, so each zone can access conf files in /opt/coolstack/apache2

from every zone:

ng-root% ll /opt/coolstack/apache2/conf/httpd.conf

2 lrwxrwxrwx1 rootroot 33 Apr 13 06:47 /opt/coolstack/apache2/conf/httpd.conf -> /etc/coolstack/apache2/httpd.conf

And i set

ServerRoot /var/coolstack/apache2

in httpd.conf

but i'm unable to start httpd:

ng-root% /opt/coolstack/apache2/bin/apachectl start

httpd: Syntax error on line 57 of /opt/coolstack/apache2/conf/httpd.conf: Cannot load /var/coolstack/apache2/modules/mod_authn_file.so into server: ld.so.1: httpd: fatal: /var/coolstack/apache2/modules/mod_authn_file.so: open failed: No such file or directory

It's because each module haven't an absolute path?!

but is there another solution than modify path for every directive?

why coolstack isn't made to work in zones?

thanks in advance,

gerard

[1140 byte] By [latp2006a] at [2007-11-27 3:22:59]
# 1

Hi,

It's probably simplest to install Cool Stack directly into each of the zones where you want to run it. Each zone will need its own unique settings anyway, for example configuration files under the etc/ subdirectory.

Check out the pkgadd man page for more info, in particular the -G option.

Regards,

Allan

Allan.Packera at 2007-7-12 8:25:44 > top of Java-index,Open Source Technologies,OpenSPARC...
# 2
yes you're right, i haven't noticed it yet...thanks for your replygerard
latp2006a at 2007-7-12 8:25:44 > top of Java-index,Open Source Technologies,OpenSPARC...