Commit c457facf authored by Jeff Trawick's avatar Jeff Trawick
Browse files

update some references to the old prefix/libexec directory


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87646 13f79535-47bb-0310-9956-ffa450edef68
parent 58202984
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -181,7 +181,7 @@ MaxRequestsPerChild 0
# the order below without expert advice.
#
# Example:
# LoadModule foo_module libexec/mod_foo.so
# LoadModule foo_module modules/mod_foo.so

### Section 2: 'Main' server configuration
#
+9 −9
Original line number Diff line number Diff line
@@ -168,8 +168,8 @@ tool:
  $ apxs -i -a -c mod_foo.c
  gcc -fpic -DSHARED_MODULE -I/path/to/apache/include -c mod_foo.c
  ld -Bshareable -o mod_foo.so mod_foo.o
  cp mod_foo.so /path/to/apache/libexec/mod_foo.so
  chmod 755 /path/to/apache/libexec/mod_foo.so
  cp mod_foo.so /path/to/apache/modules/mod_foo.so
  chmod 755 /path/to/apache/modules/mod_foo.so
  [activating module `foo' in /path/to/apache/etc/httpd.conf]
  $ apachectl restart
  /path/to/apache/sbin/apachectl restart: httpd not running, trying to start
@@ -327,7 +327,7 @@ DSO installation and configuration options:
This indicates the installation operation and installs one or more
dynamically shared objects into the
server's
.I libexec
.I modules
directory.
.TP 12
.B \-a
@@ -375,14 +375,14 @@ directive is present to load this shared object. To simplify this
step
.B apxs
provides an automatic way to install the shared object in its
"libexec" directory and updating the
"modules" directory and updating the
.B httpd.conf
file accordingly. This can be achieved by running:

.nf
  $ apxs -i -a mod_foo.c
  cp mod_foo.so /path/to/apache/libexec/mod_foo.so
  chmod 755 /path/to/apache/libexec/mod_foo.so
  cp mod_foo.so /path/to/apache/modules/mod_foo.so
  chmod 755 /path/to/apache/modules/mod_foo.so
  [activating module `foo' in /path/to/apache/etc/httpd.conf]
  $ _
.fi
@@ -390,7 +390,7 @@ file accordingly. This can be achieved by running:
This way a line named

.nf
  LoadModule foo_module libexec/mod_foo.so
  LoadModule foo_module modules/mod_foo.so
.fi

is added to the configuration file if still not present.
@@ -423,8 +423,8 @@ load it into the Apache server:
  gcc -fpic -DSHARED_MODULE -I/path/to/apache/include -c mod_foo.c
  ld -Bshareable -o mod_foo.so mod_foo.o
  apxs -i -a -n "foo" mod_foo.so
  cp mod_foo.so /path/to/apache/libexec/mod_foo.so
  chmod 755 /path/to/apache/libexec/mod_foo.so
  cp mod_foo.so /path/to/apache/modules/mod_foo.so
  chmod 755 /path/to/apache/modules/mod_foo.so
  [activating module `foo' in /path/to/apache/etc/httpd.conf]
  apachectl restart
  /path/to/apache/sbin/apachectl restart: httpd not running, trying to start
+7 −7
Original line number Diff line number Diff line
@@ -237,10 +237,10 @@ $ make install
  << Rule SHARED_CORE=default
  >> Rule SHARED_CORE=yes
  << EXTRA_CFLAGS= 
  >> EXTRA_CFLAGS= -DSHARED_CORE_DIR=\"/path/to/install/libexec\"
  >> EXTRA_CFLAGS= -DSHARED_CORE_DIR=\"/path/to/install/modules\"
$ make 
$ cp src/libhttpd.so* /path/to/install/libexec/
$ cp src/libhttpd.ep  /path/to/install/libexec/
$ cp src/libhttpd.so* /path/to/install/modules/
$ cp src/libhttpd.ep  /path/to/install/modules/
$ cp src/httpd        /path/to/install/bin/
</PRE>    
</TD></TR></TABLE>
@@ -267,9 +267,9 @@ $ make install
  &lt;&lt; AddModule    modules/xxxx/mod_foo.o
  &gt;&gt; SharedModule modules/xxxx/mod_foo.so
$ make
$ cp src/xxxx/mod_foo.so /path/to/install/libexec
$ cp src/xxxx/mod_foo.so /path/to/install/modules
- Edit /path/to/install/etc/httpd.conf
  &gt;&gt; LoadModule foo_module /path/to/install/libexec/mod_foo.so
  &gt;&gt; LoadModule foo_module /path/to/install/modules/mod_foo.so
</PRE>
</TD></TR></TABLE>
</UL>
@@ -295,9 +295,9 @@ $ cp /path/to/3rdparty/mod_foo.c /path/to/apache-1.3/src/modules/extra/
- Edit src/Configuration:
  &gt;&gt; SharedModule modules/extra/mod_foo.so
$ make
$ cp src/xxxx/mod_foo.so /path/to/install/libexec
$ cp src/xxxx/mod_foo.so /path/to/install/modules
- Edit /path/to/install/etc/httpd.conf
  &gt;&gt; LoadModule foo_module /path/to/install/libexec/mod_foo.so
  &gt;&gt; LoadModule foo_module /path/to/install/modules/mod_foo.so
</PRE>
</TD></TR></TABLE>
</UL>
+7 −7
Original line number Diff line number Diff line
@@ -237,10 +237,10 @@ $ make install
  &lt;&lt; Rule SHARED_CORE=default
  &gt;&gt; Rule SHARED_CORE=yes
  &lt;&lt; EXTRA_CFLAGS= 
  &gt;&gt; EXTRA_CFLAGS= -DSHARED_CORE_DIR=\"/path/to/install/libexec\"
  &gt;&gt; EXTRA_CFLAGS= -DSHARED_CORE_DIR=\"/path/to/install/modules\"
$ make 
$ cp src/libhttpd.so* /path/to/install/libexec/
$ cp src/libhttpd.ep  /path/to/install/libexec/
$ cp src/libhttpd.so* /path/to/install/modules/
$ cp src/libhttpd.ep  /path/to/install/modules/
$ cp src/httpd        /path/to/install/bin/
</PRE>    
</TD></TR></TABLE>
@@ -267,9 +267,9 @@ $ make install
  &lt;&lt; AddModule    modules/xxxx/mod_foo.o
  &gt;&gt; SharedModule modules/xxxx/mod_foo.so
$ make
$ cp src/xxxx/mod_foo.so /path/to/install/libexec
$ cp src/xxxx/mod_foo.so /path/to/install/modules
- Edit /path/to/install/etc/httpd.conf
  &gt;&gt; LoadModule foo_module /path/to/install/libexec/mod_foo.so
  &gt;&gt; LoadModule foo_module /path/to/install/modules/mod_foo.so
</PRE>
</TD></TR></TABLE>
</UL>
@@ -295,9 +295,9 @@ $ cp /path/to/3rdparty/mod_foo.c /path/to/apache-1.3/src/modules/extra/
- Edit src/Configuration:
  &gt;&gt; SharedModule modules/extra/mod_foo.so
$ make
$ cp src/xxxx/mod_foo.so /path/to/install/libexec
$ cp src/xxxx/mod_foo.so /path/to/install/modules
- Edit /path/to/install/etc/httpd.conf
  &gt;&gt; LoadModule foo_module /path/to/install/libexec/mod_foo.so
  &gt;&gt; LoadModule foo_module /path/to/install/modules/mod_foo.so
</PRE>
</TD></TR></TABLE>
</UL>
+2 −2
Original line number Diff line number Diff line
@@ -994,8 +994,8 @@ Example:

  # httpd.conf
  &lt;IfDefine ReverseProxy&gt;
  LoadModule rewrite_module libexec/mod_rewrite.so
  LoadModule proxy_module   libexec/libproxy.so
  LoadModule rewrite_module modules/mod_rewrite.so
  LoadModule proxy_module   modules/libproxy.so
  &lt;/IfDefine&gt;
</PRE>

Loading