Apache2, pages "forbidden" from internet, not localnet.
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Apache2, pages "forbidden" from internet, not localnet.
I can access certain web pages locally on the local net, but not from the Internet. At this point I get the "forbidden" message. Any ideas or clues? I have ensured that "Allow All" is available on the directive for the document root and this directory also is Apache owning. What else should I be looking at?
I knew this would be your answer, but not quite! The server also hosts my mail which users access vi Webmail also from the same server so I know that port 80 is open and available for use.
The error I get:
Code:
Directory index forbidden by rule:
The directive for the the DocumentRoot:
Code:
<Directory "/usr/html">
Options FollowSymLinks
Options Indexes Includes
AllowOverride Indexes Limit Authconfig Fileinfo
Order allow,deny
Allow from All
</Directory>
Can you see anything wrong that I should be looking at?
No I don't need the Auto for the sites that I host. In the end I eventually saved all my conf files, erased every sign on Apache on the box and reinstalled and now I am at the same point! Only difference is that the directive below is now listed in the commonapache2.conf file as opposed to the apache2.conf one.
The directive now stands as:
Code:
### Restricted set of options:
###
<Directory />
Options -All -Multiviews
AllowOverride None
<IfModule mod_access.c>
Order deny,allow
Allow from all
</IfModule>
</Directory>
I have yet to add in the document root, but am trying to take things one at a time. Also, I have chmod -R 755 the entire document root. What permissions do you give for your DocumentRoot?
Last edited by jules_fraser; 10-08-2004 at 04:51 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.