]> git.pld-linux.org Git - packages/apache1.git/commitdiff
- s/httpd/apache/ s/apxs/apxs1/
authorareq <areq@pld-linux.org>
Thu, 1 Apr 2004 16:48:41 +0000 (16:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1-PLD.patch -> 1.3
    apache1-httpd.conf -> 1.3
    apache1.init -> 1.10
    apache1.logrotate -> 1.4

apache1-PLD.patch
apache1-httpd.conf
apache1.init
apache1.logrotate

index d3b599cb0d5135af8101da594a78d776749841d5..ddafd1a6d32c6f5af79cc6e4b8310d12c48d1de2 100644 (file)
@@ -11,17 +11,17 @@ diff -urN apache_1.3.14.orig/config.layout apache_1.3.14/config.layout
 +    exec_prefix:   $prefix
 +    bindir:        $prefix/bin
 +    sbindir:       $prefix/sbin
-+    libexecdir:    $prefix/lib/apache
++    libexecdir:    $prefix/lib/apache1
 +    mandir:        $prefix/share/man
-+    sysconfdir:    /etc/httpd
-+    datadir:       /home/services/httpd
++    sysconfdir:    /etc/apache
++    datadir:       /home/services/apache
 +    iconsdir:      $datadir/icons
 +    htdocsdir:     $datadir/html
 +    cgidir:        $datadir/cgi-bin
-+    includedir:    $prefix/include/apache
++    includedir:    $prefix/include/apache1
 +    localstatedir: /var
 +    runtimedir:    $localstatedir/run
-+    logfiledir:    $localstatedir/log/httpd
++    logfiledir:    $localstatedir/log/apache
 +    proxycachedir: $localstatedir/cache/www/apache
 +</Layout>     
 diff -urN apache_1.3.14.orig/src/main/http_main.c apache_1.3.14/src/main/http_main.c
index fc28e69e85b5a3e59c8f651e6a7f241665f849ec..4b67ede263e7b164234bd64b5ac649af740c98bd 100644 (file)
@@ -1,5 +1,5 @@
 ##
-## httpd.conf -- Apache HTTP server configuration file
+## apache.conf -- Apache HTTP server configuration file
 ##
 
 ##### Global Environment
@@ -17,7 +17,7 @@ ServerType standalone
 # The file in which the server should record its process identification
 # number when it starts.
 
-PidFile /var/run/httpd.pid
+PidFile /var/run/apache.pid
 
 ### Timeout
 # The number of seconds before receives and sends time out.
@@ -61,7 +61,7 @@ ServerRoot "/usr"
 # DISK. The PID of the main server process is automatically appended to
 # the filename. 
 #
-LockFile /var/run/httpd.lock
+LockFile /var/run/apache.lock
 
 ### ScoreBoardFile
 # File used to store internal server process information. Not all
@@ -69,7 +69,7 @@ LockFile /var/run/httpd.lock
 # file will be created when you run Apache) then you *must* ensure that no
 # two invocations of Apache share the same scoreboard file.
 
-ScoreBoardFile /var/run/httpd.scoreboard
+ScoreBoardFile /var/run/apache.scoreboard
 
 #
 # In the standard configuration, the server will process this file,
@@ -231,7 +231,7 @@ ServerAdmin admin@your_domain.org
 # documents. By default, all requests are taken from this directory, but
 # symbolic links and aliases may be used to point to other locations.
 #
-DocumentRoot "/home/services/httpd/html"
+DocumentRoot "/home/services/apache/html"
 
 #
 # Each directory to which Apache has access, can be configured with respect
@@ -256,7 +256,7 @@ DocumentRoot "/home/services/httpd/html"
 #
 # This should be changed to whatever you set DocumentRoot to.
 #
-<Directory "/home/services/httpd/html">
+<Directory "/home/services/apache/html">
 
 #
 # This may also be "None", "All", or any combination of "Indexes",
@@ -382,7 +382,7 @@ DefaultType text/plain
 # module is part of the server.
 #
 <IfModule mod_mime_magic.c>
-       MIMEMagicFile /etc/httpd/magic
+       MIMEMagicFile /etc/apache/magic
 </IfModule>
 
 #
@@ -411,7 +411,7 @@ LogFormat "%{User-agent}i" agent
 # logged here.  If you *do* define an error logfile for a <VirtualHost>
 # container, that host's errors will be logged there and not here.
 #
-ErrorLog /var/log/httpd/error_log
+ErrorLog /var/log/apache/error_log
 #
 # The location and format of the access logfile (Common Logfile Format).
 # If you do not define any access logfiles within a <VirtualHost>
@@ -419,9 +419,9 @@ ErrorLog /var/log/httpd/error_log
 # define per-<VirtualHost> access logfiles, transactions will be
 # logged therein and *not* in this file.
 #
-CustomLog /var/log/httpd/access_log common
-CustomLog /var/log/httpd/referer_log referer
-CustomLog /var/log/httpd/agent_log agent
+CustomLog /var/log/apache/access_log common
+CustomLog /var/log/apache/referer_log referer
+CustomLog /var/log/apache/agent_log agent
 
 #
 # LogLevel: Control the number of messages logged to the error_log.
@@ -447,18 +447,18 @@ ServerSignature Email
 # require it to be present in the URL.  So "/icons" isn't aliased in this
 # example, only "/icons/"..
 #
-Alias /icons/ "/home/services/httpd/icons/"
+Alias /icons/ "/home/services/apache/icons/"
 
-<Directory "/home/services/httpd/icons">
+<Directory "/home/services/apache/icons">
        Options Indexes MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
 </Directory>
 
-Alias /manual/ "/home/services/httpd/manual/"
+Alias /manual/ "/home/services/apache/manual/"
 
-<Directory "/home/services/httpd/manual">
+<Directory "/home/services/apache/manual">
        Options Indexes MultiViews
        AllowOverride None
        order deny,allow
@@ -474,13 +474,13 @@ Alias /manual/ "/home/services/httpd/manual/"
 # The same rules about trailing "/" apply to ScriptAlias directives as to
 # Alias.
 #
-ScriptAlias /cgi-bin/ "/home/services/httpd/cgi-bin/"
+ScriptAlias /cgi-bin/ "/home/services/apache/cgi-bin/"
 
 #
-# "/home/services/httpd/cgi-bin" should be changed to whatever your
+# "/home/services/apache/cgi-bin" should be changed to whatever your
 # ScriptAliased CGI directory exists, if you have that configured.
 #
-<Directory "/home/services/httpd/cgi-bin">
+<Directory "/home/services/apache/cgi-bin">
        AllowOverride None
        Options None
        Order allow,deny
@@ -746,9 +746,9 @@ MetaSuffix .meta
 #  N.B.: Many of the environment variables associated with the original
 #  request will *not* be available to such a script.
 
-Alias /errordocs/ "/home/services/httpd/errordocs/"
+Alias /errordocs/ "/home/services/apache/errordocs/"
 
-<Directory /home/services/httpd/errordocs/>
+<Directory /home/services/apache/errordocs/>
        AllowOverride none
        Options IncludesNoExec FollowSymLinks
 </Directory>
index 9e6a87c871d42c54664c4fda7eaa691ca3bb6753..8edad64d1810bdfb956355e89d876dbdcb2866a5 100644 (file)
@@ -5,9 +5,9 @@
 # chkconfig:   345 85 15
 # description: Apache is a World Wide Web server.  It is used to serve \
 #              HTML files and CGI.
-# processname: httpd
-# pidfile:     /var/run/httpd.pid
-# config:      /etc/httpd/httpd.conf
+# processname: apache
+# pidfile:     /var/run/apache.pid
+# config:      /etc/apache/apache.conf
 
 
 # Source function library
@@ -23,7 +23,7 @@
 if is_yes "${NETWORKING}"; then
        if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
                # nls "ERROR: Networking is down. %s can't be run." <service>
-               msg_network_down httpd
+               msg_network_down apache
                exit 1
        fi
 else
@@ -39,29 +39,29 @@ RETVAL=0
 case "$1" in
   start)
        # Check if the service is already running?
-       if [ ! -f /var/lock/subsys/httpd ]; then
-               msg_starting httpd
-               daemon httpd $HTTPD_OPTS
+       if [ ! -f /var/lock/subsys/apache ]; then
+               msg_starting apache
+               daemon apache $HTTPD_OPTS
                RETVAL=$?
-               [ $RETVAL -eq 0 ] && touch /var/lock/subsys/httpd
+               [ $RETVAL -eq 0 ] && touch /var/lock/subsys/apache
        else
-               msg_already_running httpd
+               msg_already_running apache
        fi
        ;;
   stop)
        # Stop daemons.
-       if [ -f /var/lock/subsys/httpd ]; then
-               msg_stopping httpd
-               killproc httpd
-               rm -f /var/lock/subsys/httpd /var/run/httpd.pid /var/run/httpd.loc* >/dev/null 2>&1
+       if [ -f /var/lock/subsys/apache ]; then
+               msg_stopping apache
+               killproc apache
+               rm -f /var/lock/subsys/apache /var/run/.pid /var/run/apache.loc* >/dev/null 2>&1
        else
-               msg_not_running httpd
+               msg_not_running apache
        fi
        ;;
   status)
-       status httpd
+       status apache
        RETVAL=$?
-       /usr/sbin/httpd -S
+       /usr/sbin/apache -S
        ;;
   restart)
        $0 stop
@@ -69,22 +69,22 @@ case "$1" in
        exit $?
        ;;
   reload|force-reload)
-       if [ -f /var/lock/subsys/httpd ]; then
-               msg_reloading httpd
-               killproc httpd -HUP
+       if [ -f /var/lock/subsys/apache ]; then
+               msg_reloading apache
+               killproc apache -HUP
                RETVAL=$?
        else
-               msg_not_running httpd >&2
+               msg_not_running apache >&2
                RETVAL=7
        fi
        ;;
   graceful)
-       if [ -f /var/lock/subsys/httpd ]; then
-               msg_reloading httpd
-               killproc httpd -USR1
+       if [ -f /var/lock/subsys/apache ]; then
+               msg_reloading apache
+               killproc apache -USR1
                RETVAL=$?
         else
-               msg_not_running httpd >&2
+               msg_not_running apache >&2
                RETVAL=7
        fi
        ;;
index b18073106b1406cedf282b2fc78bcbe962fd68c3..7c0d9612fb27cf9c0b3f208708e77b05925b67d5 100644 (file)
@@ -1,27 +1,27 @@
-/var/log/httpd/access_log {
-    olddir /var/log/archiv/httpd
+/var/log/apache/access_log {
+    olddir /var/log/archiv/apache
     postrotate
-       /etc/rc.d/init.d/httpd graceful > /dev/null 2>&1 || /bin/true
+       /etc/rc.d/init.d/apache graceful > /dev/null 2>&1 || /bin/true
     endscript
 }
 
-/var/log/httpd/agent_log {
-    olddir /var/log/archiv/httpd
+/var/log/apache/agent_log {
+    olddir /var/log/archiv/apache
     postrotate
-       /etc/rc.d/init.d/httpd graceful > /dev/null 2>&1 || /bin/true
+       /etc/rc.d/init.d/apache graceful > /dev/null 2>&1 || /bin/true
     endscript
 }
 
-/var/log/httpd/error_log {
-    olddir /var/log/archiv/httpd
+/var/log/apache/error_log {
+    olddir /var/log/archiv/apache
     postrotate
-       /etc/rc.d/init.d/httpd graceful > /dev/null 2>&1 || /bin/true
+       /etc/rc.d/init.d/apache graceful > /dev/null 2>&1 || /bin/true
     endscript
 }
 
-/var/log/httpd/referer_log {
-    olddir /var/log/archiv/httpd
+/var/log/apache/referer_log {
+    olddir /var/log/archiv/apache
     postrotate
-       /etc/rc.d/init.d/httpd graceful > /dev/null 2>&1 || /bin/true
+       /etc/rc.d/init.d/apache graceful > /dev/null 2>&1 || /bin/true
     endscript
 }
This page took 0.060369 seconds and 4 git commands to generate.