To start the server, simply run <CODE>httpd</CODE>. This will look for
<CODE>httpd.conf</CODE> in the location compiled into the code (by
-default <CODE>/usr/local/etc/httpd/conf/httpd.conf</CODE>). If
+default <CODE>/usr/local/apache/conf/httpd.conf</CODE>). If
this file is somewhere else, you can give the real
location with the -f argument. For example:
To start the server, simply run <CODE>httpd</CODE>. This will look for
<CODE>httpd.conf</CODE> in the location compiled into the code (by
-default <CODE>/usr/local/etc/httpd/conf/httpd.conf</CODE>). If
+default <CODE>/usr/local/apache/conf/httpd.conf</CODE>). If
this file is somewhere else, you can give the real
location with the -f argument. For example:
<dd>Set the initial value for the
<A HREF="mod/core.html#serverroot">ServerRoot</A> variable to
<em>serverroot</em>. This can be overridden by the ServerRoot command in the
-configuration file. The default is <code>/usr/local/etc/httpd</code>.
+configuration file. The default is <code>/usr/local/apache</code>.
<dt><code>-f</code> <em>config</em>
<dd>Execute the commands in the file <em>config</em> on startup. If
<dd>Set the initial value for the
<A HREF="mod/core.html#serverroot">ServerRoot</A> variable to
<em>serverroot</em>. This can be overridden by the ServerRoot command in the
-configuration file. The default is <code>/usr/local/etc/httpd</code>.
+configuration file. The default is <code>/usr/local/apache</code>.
<dt><code>-f</code> <em>config</em>
<dd>Execute the commands in the file <em>config</em> on startup. If
<!--#include virtual="header.html" -->
<H1 ALIGN="CENTER">Apache Server Frequently Asked Questions</H1>
<P>
- $Revision: 1.90 $ ($Date: 1997/10/21 01:10:27 $)
+ $Revision: 1.91 $ ($Date: 1997/10/25 22:35:10 $)
</P>
<P>
The latest version of this FAQ is always available from the main
the server error log. Sometimes this is enough for you to diagnose
& fix the problem yourself (such as file permissions or the like).
The default location of the error log is
- <SAMP>/usr/local/etc/httpd/logs/error_log</SAMP>, but see the
+ <SAMP>/usr/local/apache/logs/error_log</SAMP>, but see the
<A
HREF="../mod/core.html#errorlog"
><SAMP>ErrorLog</SAMP></A>
<BR>
AuthType Basic
<BR>
- AuthUserFile /usr/local/etc/httpd/conf/htpasswd.users
+ AuthUserFile /usr/local/apache/conf/htpasswd.users
<BR>
AuthName special directory
<BR>
<!--%plaintext <?INDEX {\tt DocumentRoot} directive> -->
<strong>Syntax:</strong> DocumentRoot <em>directory-filename</em><br>
<strong>Default:</strong> <code>DocumentRoot
-/usr/local/etc/httpd/htdocs</code><br>
+/usr/local/apache/htdocs</code><br>
<strong>Context:</strong> server config, virtual host<br>
<strong>Status:</strong> core<p>
<h2><A name="serverroot">ServerRoot directive</A></h2>
<!--%plaintext <?INDEX {\tt ServerRoot} directive> -->
<strong>Syntax:</strong> ServerRoot <em>directory-filename</em><br>
-<strong>Default:</strong> <code>ServerRoot /usr/local/etc/httpd</code><br>
+<strong>Default:</strong> <code>ServerRoot /usr/local/apache</code><br>
<strong>Context:</strong> server config<br>
<strong>Status:</strong> core<p>
<P>
Note that if you include a trailing / on the <em>url-path</em> then the
server will require a trailing / in order to expand the alias. That is,
-if you use <code>Alias /icons/ /usr/local/etc/httpd/icons/</code> then
+if you use <code>Alias /icons/ /usr/local/apache/icons/</code> then
the url <code>/icons</code> will not be aliased.
</p>
<P>
matches into the given string and use it as a filename. For example,
to activate the <code>/icons</code> directory, one might use:
<pre>
- AliasMatch ^/icons(.*) /usr/local/etc/httpd/icons$1
+ AliasMatch ^/icons(.*) /usr/local/apache/icons$1
</pre>
</p>
matches into the given string and use it as a filename. For example,
to activate the standard <code>/cgi-bin</code>, one might use:
<pre>
- ScriptAlias ^/cgi-bin(.*) /usr/local/etc/httpd/cgi-bin$1
+ ScriptAlias ^/cgi-bin(.*) /usr/local/apache/cgi-bin$1
</pre>
</p>
<p>To send a signal to the parent you should issue a command such as:
<blockquote><pre>
- kill -TERM `cat /usr/local/etc/httpd/logs/httpd.pid`
+ kill -TERM `cat /usr/local/apache/logs/httpd.pid`
</pre></blockquote>
You can read about its progress by issuing:
<blockquote><pre>
- tail -f /usr/local/etc/httpd/logs/error_log
+ tail -f /usr/local/apache/logs/error_log
</pre></blockquote>
Modify those examples to match your
<p>To send a signal to the parent you should issue a command such as:
<blockquote><pre>
- kill -TERM `cat /usr/local/etc/httpd/logs/httpd.pid`
+ kill -TERM `cat /usr/local/apache/logs/httpd.pid`
</pre></blockquote>
You can read about its progress by issuing:
<blockquote><pre>
- tail -f /usr/local/etc/httpd/logs/error_log
+ tail -f /usr/local/apache/logs/error_log
</pre></blockquote>
Modify those examples to match your
* transactions and errors logged for auditing and
* debugging purposes.
*/
- #define LOG_EXEC "/usr/local/etc/httpd/logs/cgi.log" /* Need me? */
+ #define LOG_EXEC "/usr/local/apache/logs/cgi.log" /* Need me? */
/*
* DOC_ROOT -- Define as the DocumentRoot set for Apache. This
* will be the only hierarchy (aside from UserDirs)
* that can be used for suEXEC behavior.
*/
- #define DOC_ROOT "/usr/local/etc/httpd/htdocs"
+ #define DOC_ROOT "/usr/local/apache/htdocs"
/*
* SAFE_PATH -- Define a safe PATH environment to pass to CGI executables.
<EM>From src/httpd.h</EM>
<PRE>
/* The path to the suEXEC wrapper */
- #define SUEXEC_BIN "/usr/local/etc/httpd/sbin/suexec"
+ #define SUEXEC_BIN "/usr/local/apache/sbin/suexec"
</PRE>
</P>
</P>
<P ALIGN="LEFT">
-<STRONG><CODE>cp suexec /usr/local/etc/httpd/sbin/suexec [ENTER]</CODE></STRONG>
+<STRONG><CODE>cp suexec /usr/local/apache/sbin/suexec [ENTER]</CODE></STRONG>
</P>
<P ALIGN="LEFT">
</P>
<P ALIGN="LEFT">
-<STRONG><CODE>chown root /usr/local/etc/httpd/sbin/suexec [ENTER]</CODE></STRONG><BR>
-<STRONG><CODE>chmod 4711 /usr/local/etc/httpd/sbin/suexec [ENTER]</CODE></STRONG>
+<STRONG><CODE>chown root /usr/local/apache/sbin/suexec [ENTER]</CODE></STRONG><BR>
+<STRONG><CODE>chmod 4711 /usr/local/apache/sbin/suexec [ENTER]</CODE></STRONG>
</P>
<P ALIGN="CENTER">
* transactions and errors logged for auditing and
* debugging purposes.
*/
- #define LOG_EXEC "/usr/local/etc/httpd/logs/cgi.log" /* Need me? */
+ #define LOG_EXEC "/usr/local/apache/logs/cgi.log" /* Need me? */
/*
* DOC_ROOT -- Define as the DocumentRoot set for Apache. This
* will be the only hierarchy (aside from UserDirs)
* that can be used for suEXEC behavior.
*/
- #define DOC_ROOT "/usr/local/etc/httpd/htdocs"
+ #define DOC_ROOT "/usr/local/apache/htdocs"
/*
* SAFE_PATH -- Define a safe PATH environment to pass to CGI executables.
<EM>From src/httpd.h</EM>
<PRE>
/* The path to the suEXEC wrapper */
- #define SUEXEC_BIN "/usr/local/etc/httpd/sbin/suexec"
+ #define SUEXEC_BIN "/usr/local/apache/sbin/suexec"
</PRE>
</P>
</P>
<P ALIGN="LEFT">
-<STRONG><CODE>cp suexec /usr/local/etc/httpd/sbin/suexec [ENTER]</CODE></STRONG>
+<STRONG><CODE>cp suexec /usr/local/apache/sbin/suexec [ENTER]</CODE></STRONG>
</P>
<P ALIGN="LEFT">
</P>
<P ALIGN="LEFT">
-<STRONG><CODE>chown root /usr/local/etc/httpd/sbin/suexec [ENTER]</CODE></STRONG><BR>
-<STRONG><CODE>chmod 4711 /usr/local/etc/httpd/sbin/suexec [ENTER]</CODE></STRONG>
+<STRONG><CODE>chown root /usr/local/apache/sbin/suexec [ENTER]</CODE></STRONG><BR>
+<STRONG><CODE>chmod 4711 /usr/local/apache/sbin/suexec [ENTER]</CODE></STRONG>
</P>
<P ALIGN="CENTER">