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=41&rev2=42 -------------------------------------------------- ## page was renamed from Recipies/DistrosDefaultLayout This guide lists the default installation layouts for Apache HTTPD on various operating systems and distributions. - While examples in the main Apache HTTP Server documentation assume that you are using the standard file layout distributed from apache.org, many third-party distributors change the layout to conform to local policies. This can make it difficult to follow the examples and to find various important files. Using the information below, you can find where things live on your local install, and compare it to the standard Apache paths. + While examples in the main Apache HTTP Server documentation assume that you are using the standard file layout distributed from apache.org, many third-party distributors change the layout to conform to local policies. This can make it difficult to follow the examples and to find various important files. Using the information below, you can find where things live on your local install, and compare it to the standard Apache httpd paths. <<TableOfContents(2)>> - == Apache 2.2 default layout (apache.org source package): == + == Apache httpd 2.2 default layout (apache.org source package): == {{{ ServerRoot :: /usr/local/apache2 DocumentRoot :: /usr/local/apache2/htdocs @@ -22, +22 @@ binaries (apachectl) :: /usr/local/apache2/bin start/stop :: /usr/local/apache2/bin/apachectl (start|restart|graceful|graceful-stop|stop|configtest) }}} - == Apache 2.0 default layout (apache.org source package): == + == Apache httpd 2.0 default layout (apache.org source package): == {{{ ServerRoot :: /usr/local/apache2 DocumentRoot :: /usr/local/apache2/htdocs @@ -36, +36 @@ }}} - == Debian, Ubuntu (Apache 2): == + == Debian, Ubuntu (Apache httpd 2.x): == {{{ ServerRoot :: /etc/apache2 DocumentRoot :: /var/www @@ -87, +87 @@ binary :: /usr/sbin/httpd start/stop :: /sbin/service httpd {start|stop|restart|condrestart|reload|status|fullstatus|graceful|help|configtest} }}} - == Mandriva (Apache 2.2): == + == Mandriva (Apache httpd 2.2): == {{{ ServerRoot :: /etc/httpd Primary Config Fle :: /etc/httpd/conf/httpd.conf @@ -99, +99 @@ start/stop :: /sbin/service httpd {start|stop|restart|reload|graceful|condreload|closelogs|update|condrestart|status|extendedstatus|configtest|configtest_vhosts|semcleanrestart|debug|show_defines} }}} - == Mac OS X (Leopard, Apache 2.2): == + == Mac OS X (Leopard, Apache httpd 2.2): == {{{ ServerRoot :: /usr Primary Config Fle :: /etc/apache2/httpd.conf @@ -116, +116 @@ - == NetBSD Apache 2.0 and 1.3 from pkgsrc (layout is identical): == + == NetBSD Apache httpd 2.0 and 1.3 from pkgsrc (layout is identical): == {{{ ServerRoot :: /usr/pkg Config File :: /usr/pkg/etc/httpd/httpd.conf @@ -131, +131 @@ === Notes: === 1. ''The "apache" script must be copied from the installation default /usr/pkg/share/examples/rc.d to /etc/rc.d (for automatic rc.conf usage) or /usr/pkg/etc/rc.d (for advanced usage).'' - == FreeBSD 6.1 (Apache 2.2): == + == FreeBSD 6.1 (Apache httpd 2.2): == {{{ ServerRoot :: /usr/local Config File :: /usr/local/etc/apache22/httpd.conf @@ -148, +148 @@ 1. ''To start 2.2 on freebsd 6.1 the [[HttpreadyAcceptFilter|accf_http]] kernel module must be loaded. To do this once, run `kldload accf_http `. To do so at boot time, add accf_http_load=”YES” to /boot/loader.conf'' 1. ''Apache 2.2.6 in the FreeBSD 6.2 release will start regardless of the [[HttpreadyAcceptFilter|accf_http]] kernel module being loaded, and by default doesn't use it. To reverse this, add apache22_http_accept_enable="YES" to /etc/rc.conf (which will cause the kernel module to be loaded and Apache to use it).'' - == FreeBSD 6.1 (Apache 2.0): == + == FreeBSD 6.1 (Apache httpd 2.0): == {{{ ServerRoot :: /usr/local Config File :: /usr/local/etc/apache2/httpd.conf @@ -165, +165 @@ - == Win32 (2.2): == + == Win32 (Apache httpd 2.2): == {{{ ServerRoot :: "C:/Program Files/Apache Software Foundation/Apache2.2" Config File :: "C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf" @@ -178, +178 @@ === 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'' - == Solaris 10 (Apache 2.0): == + == Solaris 10 (Apache httpd 2.0): == {{{ ServerRoot :: /usr/apache2 Config File :: /etc/apache2/httpd.conf @@ -192, +192 @@ 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 2.2): == + == Slackware 12.0+ (Apache httpd 2.2): == {{{ ServerRoot :: /usr DocumentRoot :: /svr/httpd/htdocs @@ -207, +207 @@ cgi-bin :: /svr/httpd/cgi-bin on-line docs ("manual") :: /svr/httpd/htdocs/manual }}} - == openSUSE and SLES (Apache 2.2): == + == openSUSE and SLES (Apache httpd 2.2): == {{{ ServerRoot :: /srv/www DocumentRoot :: /srv/www/htdocs @@ -224, +224 @@ 1. ''Modules are enabled in /etc/sysconfig/apache2 which is read by the startup script. The a2enmod/a2dismod tool can be used to activate/deactivate modules.'' 1. ''See /usr/share/doc/packages/apache2/README.SUSE for more information.'' - == Gentoo (Apache 2.2): == + == Gentoo (Apache httpd 2.2): == {{{ ServerRoot :: /usr/lib/apache2 DocumentRoot :: /var/www/localhost/htdocs