[nylug-talk] Apache problem
Fitzsimmons, Donald C.
donald.fitzsimmons at kattenlaw.com
Thu Feb 14 09:56:24 EST 2008
I'm running Apache/2.2.6 and I'm getting this error in
/etc/httpd/logs/error_log.
[Thu Feb 14 09:24:14 2008] [error] [client x.x.x.x] client denied by
server configuration: /var/www/html/usage/, referer:
http://machinename:100/
I can't get to http://machinename:100/usage I get that error and a
forbidden message saying I don't have access to /usage/ in the browser.
I did a search on google and nylug and found that other people with a
similar issue added this:
Order allow,deny
Allow from all
I added it however for me it still didn't work. What's really strange is
I have no issue hitting /var/www/html or /var/www/html/squint but I do
have an issue with /var/www/html/usage. I also checked the permissions
of the usage folder and it's contents. They match /var/www/html/squint.
As well as the owner and group.
Here is what I have in my httpd.conf file that differs from the default.
Any help would be greatly appreciated. Httpd is run using login and
group apache. Oh and the really funny thing is that I have an identical
machine built the day before with the identical httpd.conf file and it
works perfectly. I have no virtual hosts.
Listen x.x.x.x:100
DocumentRoot "/var/www/html"
<Directory "/var/www/html">
Options Indexes Includes FollowSymLinks
AuthType Basic
AuthName "Private Access"
AuthUserFile /usr/local/apache/passwords
Require valid-user
AllowOverride None
Order deny,allow
Allow from all
</Directory>
DirectoryIndex index.html
I have no problems authenticating using the passwords file and I don't
use .htaccess
===========================================================
CIRCULAR 230 DISCLOSURE: Pursuant to Regulations Governing Practice Before the Internal Revenue Service, any tax advice contained herein is not intended or written to be used and cannot be used by a taxpayer for the purpose of avoiding tax penalties that may be imposed on the taxpayer.
===========================================================
CONFIDENTIALITY NOTICE:
This electronic mail message and any attached files contain information intended for the exclusive use of the individual or entity to whom it is addressed and may contain information that is proprietary, privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any viewing, copying, disclosure or distribution of this information may be subject to legal restriction or sanction. Please notify the sender, by electronic mail or telephone, of any unintended recipients and delete the original message without making any copies.
===========================================================
NOTIFICATION: Katten Muchin Rosenman LLP is an Illinois limited liability partnership that has elected to be governed by the Illinois Uniform Partnership Act (1997).
===========================================================
More information about the nylug-talk
mailing list