Re: [users@httpd] SHARED_CORE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/24/06, William A. Rowe, Jr. <wrowe@xxxxxxxxxxxxx> wrote:
> Krist van Besien wrote:
> >
> > It apears that compiling using the "SHARED_CORE" rule involves adding
> > the --enable-rule=SHARED_CORE to the configure command's options.
> >
> > What I would like to know is though,  what this does. Does this mean I
> > can provide the httpd daemon with an additional directory to load its
> > modules from?
>
> No, it means instead of httpd with all the entry points for apache support
> functions in the httpd binary, you get httpd and a libhttpd.so.  Not what
> you want...
>
> > (I would like to build an apache that is split over two dirs, one with
> > all the webserver config data and the content, another with the
> > binaries and supporting files.)
>
> copy bin/apachectl and conf/ to your website, and inject a -d /path/to/website
> option into apachectl so it looks at the new path's conf/ htdocs/ etc, and
> finally modify the httpd.conf to point at the full path of the httpd binary tree
> for modules, etc.

It is especially having to enter full paths for modules that I don't
really like. What I currently do is something similar to what you do
above, but with a link from /var/www/myserver/modules to
/opt/apache/httpd-2.0.55/modules so I can use /var/www/myserver as
serverroot.

It is a pity that one cannot give apache two base paths as argument,
ie a "serverroot" and a "webroot", a bit analog to "CATALINA_BASE" and
"CATALINA_HOME" for tomcat, which lets me do exactly what I want.

Krist

--
krist.vanbesien@xxxxxxxxx
Solothurn, Switzerland

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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux