> >> What other options exist? 
> >> - Modify apxs -i to write elsewhere, in a location suitable for
> >>   per-user/per-zone write access.
> 
> We don't have to copy the file again to some other location. It is
> "-a" or "-A" option which makes an entry in the httpd.conf file.

The -a/-A options are modifiers to the -i option,

   apxs -i [ -S name=value ] [ -n modname ] [ -a ] [ -A ] dso-file ...

by itself, -a/-A doesn't do anything (I just tried).

So the question is mainly what to do about -i:

- Do nothing. It'll work only if /usr/apache2/libexec/ is writable.
  It may fail in various ways under zones and other conditions.
  (Do upgrades preserve user-generated content under /usr or not?)

- Change -i so it works correctly under all scenarios, tradeoff being
  having the modules in a location that is not the same as the system
  module dir (so not the same some admins might expect)



-- 
Jyri J. Virkki - jyri.virkki at sun.com - Sun Microsystems

Reply via email to