You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by Apache Wiki <wi...@apache.org> on 2013/02/28 16:56:36 UTC

[Httpd Wiki] Update of "DistrosDefaultLayout" by thumbs

Dear Wiki user,

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

The "DistrosDefaultLayout" page has been changed by thumbs:
http://wiki.apache.org/httpd/DistrosDefaultLayout?action=diff&rev1=48&rev2=49

Comment:
Added section for 2.4, updated the Slackware section, made slight clarifications to the Debian/Ubuntu section

  
  <<TableOfContents(2)>>
  
+ == Apache httpd 2.4 default layout (apache.org source package): ==
+ {{{
+ ServerRoot              ::      /usr/local/apache2
+ DocumentRoot            ::      /usr/local/apache2/htdocs
+ Apache Config File      ::      /usr/local/apache2/conf/httpd.conf
+ Other Config Files      ::      /usr/local/apache2/conf/extra/
+ SSL Config File         ::      /usr/local/apache2/conf/extra/httpd-ssl.conf
+ ErrorLog                ::      /usr/local/apache2/logs/error_log
+ AccessLog               ::      /usr/local/apache2/logs/access_log
+ cgi-bin                 ::      /usr/local/apache2/cgi-bin (enabled by default, but some of the bundled scripts are 644)
+ binaries (apachectl)    ::      /usr/local/apache2/bin
+ start/stop              ::      /usr/local/apache2/bin/apachectl (start|restart|graceful|graceful-stop|stop|configtest)
+ }}}
  == Apache httpd 2.2 default layout (apache.org source package): ==
  {{{
  ServerRoot              ::      /usr/local/apache2
@@ -50, +63 @@

  }}}
  === Notes: ===
   1. ''The Debian/Ubuntu layout is fully documented in /usr/share/doc/apache2/README.Debian''
-  1. ''Debian/Ubuntu use symlinks to enable vhosts and modules. Configuration files are created in their respective sites-available and mods-available directories. To activate vhosts and modules, symlinks are created in the respective sites-enabled and mods-enabled directories to the config files in either sites-available and mods-available. Debian provides scripts to handle this process called 'a2ensite' and 'a2enmod' which enables vhosts and modules.''
+  1. ''Debian/Ubuntu use symlinks to configure vhosts and load modules. Configuration files are created in their respective sites-available and mods-available directories. To activate vhosts and modules, symlinks are created in the respective sites-enabled and mods-enabled directories to the config files in either sites-available and mods-available. Debian provides scripts to handle this process called 'a2ensite' and 'a2enmod' which activates vhosts and modules.''
-  1. ''The default DocumentRoot is specified in the default vhost config file, /etc/apache2/sites-available/default''
+  1. ''The default vhost is defined in /etc/apache2/sites-available/default, and overrides the [[http://httpd.apache.org/docs/current/mod/core.html#documentroot|DocumentRoot]] set in the server context.''
  
  == Fedora Core, CentOS, RHEL: ==
  {{{
@@ -211, +224 @@

  === Notes: ===
   1. ''Config needs to be copied from example file to httpd.conf. Apache-1.3 is the default installation in /etc/init.d and /etc/rc3.d files.''
  
- == Slackware 12.0+ (Apache httpd 2.2): ==
+ == Slackware 14.0 (Apache httpd 2.4): ==
  {{{
  ServerRoot              ::     /usr
  DocumentRoot            ::     /svr/httpd/htdocs
  AccessLog               ::     /var/log/httpd/access_log
  ErrorLog                ::     /var/log/httpd/error_log
  binaries (apachectl)    ::     /usr/sbin
- modules                 ::     /usr/lib/httpd
+ modules                 ::     /usr/lib(64)/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
+ mo_php config file      ::     /etc/httpd/mod_php.conf
+ vhosts config file      ::     /etc/httpd/extra/httpd-vhosts.conf
  cgi-bin                 ::     /srv/httpd/cgi-bin
  on-line docs ("manual") ::     /srv/httpd/htdocs/manual
  }}}

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org