--- docs/conf/httpd-std.conf.orig Mon Mar 26 01:54:48 2001 +++ docs/conf/httpd-std.conf Sun Apr 8 04:26:54 2001 @@ -64,7 +64,7 @@ # PidFile: The file in which the server should record its process # identification number when it starts. # -PidFile logs/httpd.pid +PidFile /var/run/httpd.pid # # ScoreBoardFile: File used to store internal server process information. @@ -73,7 +73,7 @@ # no two invocations of Apache share the same scoreboard file. # -ScoreBoardFile logs/apache_runtime_status +ScoreBoardFile /var/run/apache_runtime_status # @@ -182,6 +182,28 @@ # # Example: # LoadModule foo_module modules/mod_foo.so +#LoadModule auth_anon_module libexec/apache/mod_auth_anon.so +#LoadModule auth_db_module libexec/apache/mod_auth_db.so +#LoadModule auth_digest_module libexec/apache/mod_auth_digest.so +#LoadModule cern_meta_module libexec/apache/mod_cern_meta.so +#LoadModule cgid_module libexec/apache/mod_cgid.so +#LoadModule dav_module libexec/apache/mod_dav.so +#LoadModule dav_fs_module libexec/apache/mod_dav_fs.so +#LoadModule digest_module libexec/apache/mod_digest.so +#LoadModule expires_module libexec/apache/mod_expires.so +#LoadModule file_cache_module libexec/apache/mod_file_cache.so +#LoadModule headers_module libexec/apache/mod_headers.so +#LoadModule imap_module libexec/apache/mod_imap.so +#LoadModule include_module libexec/apache/mod_include.so +#LoadModule info_module libexec/apache/mod_info.so +#LoadModule mime_magic_module libexec/apache/mod_mime_magic.so +#LoadModule optional_fn_export_module libexec/apache/mod_optional_fn_export.so +#LoadModule optional_fn_import_module libexec/apache/mod_optional_fn_import.so +#LoadModule rewrite_module libexec/apache/mod_rewrite.so +#LoadModule speling_module libexec/apache/mod_speling.so +#LoadModule status_module libexec/apache/mod_status.so +#LoadModule unique_id_module libexec/apache/mod_unique_id.so +#LoadModule usertrack_module libexec/apache/mod_usertrack.so ### Section 2: 'Main' server configuration # @@ -221,7 +243,7 @@ # don't use Group #-1 on these systems! # User nobody -Group #-1 +Group nogroup # # ServerAdmin: Your address, where problems with the server should be @@ -249,7 +271,7 @@ # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # -DocumentRoot "@@ServerRoot@@/htdocs" +DocumentRoot "@@ServerRoot@@/www/data" # # Each directory to which Apache has access, can be configured with respect @@ -274,7 +296,7 @@ # # This should be changed to whatever you set DocumentRoot to. # - + # # This may also be "None", "All", or any combination of "Indexes", @@ -326,7 +348,22 @@ # DirectoryIndex: Name of the file or files to use as a pre-written HTML # directory index. Separate multiple entries with spaces. # -DirectoryIndex index.html + + + DirectoryIndex index.php index.php3 index.html + + + DirectoryIndex index.php3 index.html + + + + + DirectoryIndex index.php index.html + + + DirectoryIndex index.html + + # # AccessFileName: The name of the file to look for in each directory @@ -372,7 +409,7 @@ # TypesConfig describes where the mime.types file (or equivalent) is # to be found. # -TypesConfig conf/mime.types +TypesConfig etc/apache/mime.types # # DefaultType is the default MIME type the server will use for a document @@ -397,7 +434,7 @@ # module is part of the server. # - MIMEMagicFile conf/magic + MIMEMagicFile etc/apache/magic # @@ -417,7 +454,7 @@ # logged here. If you *do* define an error logfile for a # container, that host's errors will be logged there and not here. # -ErrorLog logs/error_log +ErrorLog /var/log/httpd-error.log # # LogLevel: Control the number of messages logged to the error_log. @@ -442,7 +479,7 @@ # define per- access logfiles, transactions will be # logged therein and *not* in this file. # -CustomLog logs/access_log common +#CustomLog logs/access_log common # # If you would like to have agent and referer logfiles, uncomment the @@ -455,7 +492,7 @@ # If you prefer a single logfile with access, agent, and referer information # (Combined Logfile Format) you can use the following directive. # -#CustomLog logs/access_log combined +CustomLog /var/log/httpd-access.log combined # # Optionally add a line containing the server version and virtual host @@ -474,9 +511,9 @@ # require it to be present in the URL. So "/icons" isn't aliased in this # example, only "/icons/".. # -Alias /icons/ "@@ServerRoot@@/icons/" +Alias /icons/ "@@ServerRoot@@/www/icons/" - + Options Indexes MultiViews AllowOverride None Order allow,deny @@ -491,7 +528,7 @@ # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. # -ScriptAlias /cgi-bin/ "@@ServerRoot@@/cgi-bin/" +ScriptAlias /cgi-bin/ "@@ServerRoot@@/www/cgi-bin/" # @@ -505,7 +542,7 @@ # "@@ServerRoot@@/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # - + AllowOverride None Options None Order allow,deny @@ -657,6 +694,7 @@ AddLanguage ja .ja AddLanguage pl .po AddLanguage kr .kr +AddLanguage ko .kr AddLanguage pt .pt AddLanguage no .no AddLanguage pt-br .pt-br @@ -741,8 +779,17 @@ # For example, the PHP3 module (not part of the Apache distribution - see # http://www.php.net) will typically use: # -#AddType application/x-httpd-php3 .php3 -#AddType application/x-httpd-php3-source .phps + + AddType application/x-httpd-php3 .php3 + AddType application/x-httpd-php3-source .php3s + +# +# And for PHP 4.x, use: +# + + AddType application/x-httpd-php .php + AddType application/x-httpd-php-source .phps + AddType application/x-tar .tgz