Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

i cannot connect to the apache web server

0 views
Skip to first unread message

Hitomi 적

unread,
Jul 24, 2000, 3:00:00 AM7/24/00
to
i cannot connect to the apache web server, when i try to connect to it, it
shows:

Forbidden
You don't have permission to access / on this server.


----------------------------------------------------------------------------
----

Apache/1.3.12 Server at cmgal.com Port 80

and i have change the permissions of directories are 755 , and i have put
the index.html on a correct place,
when i check /var/log/httpd/error_log
it shows :

[client 202.60.251.120] client denied by server configuration:
/home/cmgal/public_html

how can i fix it ?

Hitomi

the...@houston.rr.com

unread,
Jul 24, 2000, 3:00:00 AM7/24/00
to
Good grief, how many times will I end up posting the solution for this
problem? Come on folks, if you found this newsgroup, take the time
to review the last month to see if your question has been asked and
answered already.
------------------------------------------------------------------
DON'T USE LINUXCONFIG TO MODIFY APACHE!


bwe...@pipeline.com> wrote in message
news:8ga4lg$85j$1...@nntp9.atl.mindspring.net...

The following bug is hitting alot of people based on the number of
messages I see. Therefore I am posting the problem and solution.
I am posting to several groups because the problem is being posted to
several groups.
If you know is responsible for "linuxconf" please send this to them.
Also please send to ReadHat. I have tried to do so unsuccessfully.

PROBLEM:

I have installed a plain vanilla server installation of 6.2. However
I can't get Apache to work. When I try to access the default document
I get the following error:

Forbidden
You don't have permission to access / on this server.

SOLUTION:

If you used linuxconf to change your Apache configuration, it has
most likely hosed your httpd.conf. A common problem seems to be
where it replaces the line:
<Files ~ "^\.ht">
(The section prevents access to authentication *.ht files)
with the line:
<Files ~ >
(Now the section prevents access to ALL files!)

Find this line in /etc/httpd/conf/httpd.conf and change it back and I
bet your problem clears up.


I cannot take credit for this solution. It came from
cja...@my-deja.com>,

--------------------
Dragged
"RTFM? Yeah, I read the manual, but what does Particle Physics have to do with setting up Sendmail?"

Andreas Overgaard

unread,
Jul 29, 2000, 3:00:00 AM7/29/00
to
I had the same problem I had to rewrite all of the configuration and put
them in to three difrent files (srm.conf httpd.conf access.conf) i think the
commands are loadet in the wrong order.

Andreas Overgaard

Hitomi 적 <hi...@post.com> skrev i en
nyhedsmeddelelse:38705AA117F1B88C.E4665F48...@lp.airne
ws.net...

Chicken Bun

unread,
Jul 30, 2000, 3:00:00 AM7/30/00
to
The problem can be easily solve by chagne one line inside your
/etc/httpd/conf/httpd.conf
Chagne the line
<Files ~>
into
<Files ~"\.ht">
it seems to be the bug of linuxconf
it will write a wrong setting to your httpd.conf
anyway, after correct it
run
/etc/rc.d/init.d/httpd reload
to relad your new setting, and your web server should run now, enjoy it
0 new messages