Computing.Net > Forums > Linux > Apache: Access denied by access con

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

Apache: Access denied by access con

Reply to Message Icon

Name: Six
Date: October 16, 2003 at 21:51:39 Pacific
OS: Gentoo
CPU/Ram: 1.3 512
Comment:

Hi, I've spent the whole day trying everything to solve this. After reading 75 forum incedents I still havn't solved it.

Users outside my network get:

Forbidden
You were denied access because:
Access denied by access control list.

but my network can view the page just fine. Port 80 is open. I've messed with AllowOverride, permissions (755, 777, no luck) users, etc. I am extremely desperate and tired.

I've also tried a couple different httpd.conf files.
I wonder if it isn't Apache at fault. I don't run a software firewall (ipchains, iptables, or similar), Port 80 is open, Nmap shows it, and besides users can connect they just get denied. I still think it may have to do with AllowOverrides. I only tried switching None to All in all of the occurances of it.

I have tried Apache from the Gentoo ebuild, and a standard install from source. Both with the same error.

Thanks.



Sponsored Link
Ads by Google

Response Number 1
Name: 3Dave
Date: October 17, 2003 at 04:38:01 Pacific
Reply:

Have you modified the /etc/hosts.allow and
hosts.deny files?


0

Response Number 2
Name: Six
Date: October 17, 2003 at 09:08:43 Pacific
Reply:

Thanks for the reply.
From what I understand, Apache only uses those files if launched from inetd. I launch it with apachectl start. Unless you compile some wrapper support into Apache, can I find if it did?
Also, I have o hosts.allow/deny at all. What is a valid one to unblock Apache?


0

Response Number 3
Name: Six
Date: October 19, 2003 at 00:03:48 Pacific
Reply:

I have an FTP server up now and everyone can access it, so I assume it's Apache at fault.

I messed around with hosts.allow/deny. With them configured to allow everything it still doesn't work.

I use Apache2.0 btw


0

Response Number 4
Name: 3Dave
Date: October 20, 2003 at 01:48:16 Pacific
Reply:

Do you have .htaccess files? (NB you have
to do an "ls -a" to list hidden files)


0

Response Number 5
Name: Six
Date: October 20, 2003 at 10:12:23 Pacific
Reply:

I do not have any.


0

Related Posts

See More



Response Number 6
Name: Six
Date: October 20, 2003 at 10:29:45 Pacific
Reply:

I just added a .htaccess in the root htdocs direcotry with just:
allow from all
in it, no luck. AllowOverride set to All...


0

Response Number 7
Name: 3Dave
Date: October 21, 2003 at 01:49:29 Pacific
Reply:

For an .htaccess, try:

AuthName "Six"
AuthType Basic

order allow,deny
allow from all
deny from .microsoft.com


I am also assuming that the actual htdocs
file permissions allow everyone to read and
execute (execute is needed to cd into a
directory)...


0

Sponsored Link
Ads by Google
Reply to Message Icon

mandrake linux 9.1 instal... installing appl. soft. in...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Apache: Access denied by access con

Question re: Apache Access Logfile www.computing.net/answers/linux/question-re-apache-access-logfile/17228.html

Accessing database on Linux server www.computing.net/answers/linux/accessing-database-on-linux-server/11442.html

Apache VirtualHost HELP!!!! www.computing.net/answers/linux/apache-virtualhost-help/18333.html