Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change 
notification.

The following page has been changed by RickyZhou:
http://wiki.apache.org/httpd/DistrosDefaultLayout

The comment on the change is:
Remove trailing slashes, clarify Gentoo note.

------------------------------------------------------------------------------
  }}}
  == Debian, Ubuntu (Apache 2): ==
  {{{
- ServerRoot              ::      /etc/apache2/
+ ServerRoot              ::      /etc/apache2
- DocumentRoot            ::      /var/www/
+ DocumentRoot            ::      /var/www
  Apache Config Files     ::      /etc/apache2/apache2.conf
                          ::      /etc/apache2/ports.conf
  Default VHost Config    ::      /etc/apache2/sites-available/default, 
/etc/apache2/sites-enabled/000-default
- Module Locations        ::      /etc/apache2/mods-available/, 
/etc/apache2/mods-enabled/
+ Module Locations        ::      /etc/apache2/mods-available, 
/etc/apache2/mods-enabled
  ErrorLog                ::      /var/log/apache2/error.log
  AccessLog               ::      /var/log/apache2/access.log
- cgi-bin                 ::      /usr/lib/cgi-bin/
+ cgi-bin                 ::      /usr/lib/cgi-bin
- binaries (apachectl)    ::      /usr/sbin/
+ binaries (apachectl)    ::      /usr/sbin
  start/stop              ::      /etc/init.d/apache2 
(start|stop|graceful|configtest)
  }}}
  === Notes: ===
@@ -66, +66 @@

   1. ''The default DocumentRoot is specified in the default vhost config file, 
/etc/apache2/sites-available/default''
  == Debian, Ubuntu (Apache 1.3): ==
  {{{
- ServerRoot              ::      /etc/apache/
+ ServerRoot              ::      /etc/apache
- DocumentRoot            ::      /var/www/
+ DocumentRoot            ::      /var/www
  ErrorLog                ::      /var/log/apache/error.log
  AccessLog               ::      /var/log/apache/access.log
- cgi-bin                 ::      /usr/lib/cgi-bin/
+ cgi-bin                 ::      /usr/lib/cgi-bin
- binaries (apachectl)    ::      /usr/sbin/
+ binaries (apachectl)    ::      /usr/sbin
  start/stop              ::      /etc/init.d/apache 
(start|stop|graceful|configtest)
  }}}
  == Fedora Core, CentOS, RHEL: ==
@@ -168, +168 @@

   1. ''Other variables to insert in rc.conf are listed in the comments at the 
top of the start/stop script''
  == FreeBSD (Apache 1.3): ==
  {{{
- ServerRoot              ::      /usr/local/
+ ServerRoot              ::      /usr/local
  Config File             ::      /usr/local/etc/apache/httpd.conf
- DocumentRoot            ::      /usr/local/www/data/
+ DocumentRoot            ::      /usr/local/www/data
  ErrorLog                ::      /var/log/httpd-error.log
  AccessLog               ::      /var/log/httpd-access.log
- cgi-bin                 ::      /usr/local/www/cgi-bin/
+ cgi-bin                 ::      /usr/local/www/cgi-bin
- binaries (apachectl)    ::      /usr/local/sbin/
+ binaries (apachectl)    ::      /usr/local/sbin
  start/stop              ::      /usr/local/etc/rc.d/apache.sh
  rc.conf variables       ::      apache_enable="YES"
      (other variables to insert in rc.conf are listed in the comments at the 
top of the start/stop script)
@@ -189, +189 @@

  ErrorLog                ::      "C:/Program Files/Apache Software 
Foundation/Apache2.2/logs/error.log"
  AccessLog               ::      "C:/Program Files/Apache Software 
Foundation/Apache2.2/logs/access.log"
  cgi-bin                 ::      "C:/Program Files/Apache Software 
Foundation/Apache2.2/cgi-bin/"
- binaries (apachectl)    ::      "C:/Program Files/Apache Software 
Foundation/Apache2.2/bin/"
+ binaries (apachectl)    ::      "C:/Program Files/Apache Software 
Foundation/Apache2.2/bin"
  }}}
  === Notes; ===
   1. ''There are extra config files in "C:/Program Files/Apache Software 
Foundation/Apache2.2/conf/extra" that can be included for options such as 
vhosts''
@@ -223, +223 @@

  == Slackware 10.1, 10.2 and 11.0 (Apache 1.3): ==
  {{{
  ServerRoot              ::     /usr
- DocumentRoot            ::     /var/www/htdocs/
+ DocumentRoot            ::     /var/www/htdocs
  AccessLog               ::     /var/log/apache/access_log
  ErrorLog                ::     /var/log/apache/error_log
- binaries (apachectl)    ::     /usr/sbin/
+ binaries (apachectl)    ::     /usr/sbin
- modules                 ::     /usr/libexec/apache/
+ modules                 ::     /usr/libexec/apache
  system startup script   ::     /etc/rc.d/rc.httpd 
(start|stop|restart|graceful)
  Apache config file      ::     /etc/apache/httpd.conf
  mod_ssl config file     ::     /etc/apache/mod_ssl.conf
  php config file         ::     /etc/apache/mod_php.conf
- cgi-bin                 ::     /var/www/cgi-bin/
+ cgi-bin                 ::     /var/www/cgi-bin
- on-line docs ("manual") ::     /var/www/htdocs/manual/
+ on-line docs ("manual") ::     /var/www/htdocs/manual
- proxy cache             ::     /var/cache/proxy/
+ proxy cache             ::     /var/cache/proxy
  }}}
  
  == Slackware 12.0 (Apache 2.2): ==
  {{{
  ServerRoot              ::     /usr
- DocumentRoot            ::     /svr/httpd/htdocs/
+ DocumentRoot            ::     /svr/httpd/htdocs
  AccessLog               ::     /var/log/httpd/access_log
  ErrorLog                ::     /var/log/httpd/error_log
- binaries (apachectl)    ::     /usr/sbin/
+ binaries (apachectl)    ::     /usr/sbin
- modules                 ::     /usr/lib/httpd/
+ modules                 ::     /usr/lib/httpd
  system startup script   ::     /etc/rc.d/rc.httpd 
(start|restart|graceful|graceful-stop|stop)
  Apache config file      ::     /etc/httpd/httpd.conf
  mod_ssl config file     ::     /etc/httpd/extra/httpd-ssl.conf
  php config file         ::     /etc/httpd/mod_php.conf
- cgi-bin                 ::     /svr/httpd/cgi-bin/
+ cgi-bin                 ::     /svr/httpd/cgi-bin
- on-line docs ("manual") ::     /svr/httpd/htdocs/manual/
+ on-line docs ("manual") ::     /svr/httpd/htdocs/manual
  }}}
  
  
@@ -264, +264 @@

  ErrorLog                ::      /var/log/apache2/error_log
  AccessLog               ::      /var/log/apache2/access_log
  cgi-bin                 ::      /srv/www/cgi-bin 
- binaries (apachectl)    ::      /usr/sbin/
+ binaries (apachectl)    ::      /usr/sbin
  start/stop              ::      /etc/init.d/apache2 
(start|restart|graceful|graceful-stop|stop|configtest)
  }}}
  === Notes: ===
@@ -279, +279 @@

  Other Config Files      ::      /etc/conf.d/apache2
  Default VHost Config    ::      /etc/apache2/vhosts.d/00_default_vhost.conf
  Module Configuration    ::      /etc/apache2/modules.d
- Module Locations        ::      /usr/lib/apache2/modules/
+ Module Locations        ::      /usr/lib/apache2/modules
  ErrorLog                ::      /var/log/apache2/error_log
  AccessLog               ::      /var/log/apache2/access_log
  cgi-bin                 ::      /var/www/localhost/cgi-bin
- binaries (apachectl2)   ::      /usr/sbin/
+ binaries (apachectl2)   ::      /usr/sbin
  start/stop              ::      /etc/init.d/apache2 
(start|restart|graceful|stop|configtest)
  }}}
  === Notes: ===
-  1. ''"-D MODULENAME" must be added to APACHE_OPTS in /etc/conf.d/apache2''
+  1. ''To enable a module, "-D MODULENAME" must be added to APACHE_OPTS in 
/etc/conf.d/apache2''
  
  == TODO: ==
  

Reply via email to