[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Apache.
- From: "A. John Peters" <ajpeters ajpconsult com>
- To: <redhat-install-list redhat com>
- Subject: Apache.
- Date: Fri, 12 Dec 2003 12:16:19 -0600
I am using an 7.0 version of Redhat (7.0) with Apache 1.3.9. I haven't
updated because every thing works, and I have a tape controller that
required me to patch the kernel.
How can it tell if I have authentication compiled in?
I now have some web pages that require .htaccess
I am not getting a challenge response. Here is my htaccess file
[ajpeters otg-dss admin]$ more .htaccess
AuthUserFile ...../su/catalog/admin/passwd
require ajpeters
Satisfy All
order deny,allow
Here are relevant parts of my httpd.conf file
LoadModule vhost_alias_module libexec/apache/mod_vhost_alias.so
LoadModule env_module libexec/apache/mod_env.so
LoadModule config_log_module libexec/apache/mod_log_config.so
LoadModule mime_magic_module libexec/apache/mod_mime_magic.so
LoadModule mime_module libexec/apache/mod_mime.so
LoadModule negotiation_module libexec/apache/mod_negotiation.so
LoadModule status_module libexec/apache/mod_status.so
LoadModule info_module libexec/apache/mod_info.so
LoadModule includes_module libexec/apache/mod_include.so
LoadModule autoindex_module libexec/apache/mod_autoindex.so
LoadModule dir_module libexec/apache/mod_dir.so
LoadModule cgi_module libexec/apache/mod_cgi.so
LoadModule asis_module libexec/apache/mod_asis.so
LoadModule imap_module libexec/apache/mod_imap.so
LoadModule imap_module libexec/apache/mod_imap.so
LoadModule action_module libexec/apache/mod_actions.so
LoadModule speling_module libexec/apache/mod_speling.so
LoadModule userdir_module libexec/apache/mod_userdir.so
LoadModule alias_module libexec/apache/mod_alias.so
LoadModule rewrite_module libexec/apache/mod_rewrite.so
LoadModule access_module libexec/apache/mod_access.so
LoadModule auth_module libexec/apache/mod_auth.so
LoadModule anon_auth_module libexec/apache/mod_auth_anon.so
LoadModule dbm_auth_module libexec/apache/mod_auth_dbm.so
LoadModule digest_module libexec/apache/mod_digest.so
LoadModule proxy_module libexec/apache/libproxy.so
LoadModule cern_meta_module libexec/apache/mod_cern_meta.so
LoadModule expires_module libexec/apache/mod_expires.so
LoadModule headers_module libexec/apache/mod_headers.so
LoadModule usertrack_module libexec/apache/mod_usertrack.so
LoadModule unique_id_module libexec/apache/mod_unique_id.so
LoadModule setenvif_module libexec/apache/mod_setenvif.so
LoadModule php4_module libexec/apache/libphp4.so
# First, we configure the "default" to be a very restrictive set of
# permissions.
#
<Directory />
Options FollowSymLinks
AllowOverride
</Directory>
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "/home/httpd/html">
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
AllowOverride All
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>
<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
Order deny,allow
Deny from all
</Limit>
</Directory>
# Add Storage as a public directory
<Directory "/storage/httpd/html">
Options Indexes FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
#
DirectoryIndex index.html index.php3 index.cgi index.php4 index.htm
index.php in
dex.phtml
#
# AccessFileName: The name of the file to look for in each directory
# for access control information.
#
AccessFileName .htaccess
#
# The following lines prevent .htaccess files from being viewed by
# Web clients. Since .htaccess files often contain authorization
# information, access is disallowed for security reasons. Comment
# these lines out if you want Web visitors to see the contents of
# .htaccess files. If you change the AccessFileName directive above,
# be sure to make the corresponding changes here.
# Also, folks tend to use names such as .htpasswd for password
# files, so this will protect those as well.
#
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
<VirtualHost 209.32.151.7>
DocumentRoot /home/httpd/html/OTG-DSS
ServerName OTG-DSS.COM
ServerAlias www.otg-dss.com
DirectoryIndex index.html index.htm default.html default.htm index.php
Alias /berkness /storage/httpd/html/BERKNESS
</VirtualHost>
<Directory /home/httpd/html/OTG-DSS/su/catalog/admin >
AllowOverride All
Satisfy All
</Directory>
I had moved to this system from a Caldera 2.3 server, so the file structure
in in a Caldera standard.
Any help would be appreciated.
--
A. John Peters
President
OTG-DSS Inc.
33854 251st Avenue
Browerville, MN 56438
320-594-7023 or 888-888-7048
Cell 612-419-4033
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]