I have redhat 6.2 and Apache/1.3.12 on it. But
------ browser displays this message ----------
Forbidden
You don't have permission to access / on this server.
Apache/1.3.12 Server at 164.164.58.187 Port 80
followings are directive from httpd.conf and relevent information. If
anyone can figure out where is the problem please guide me.
ServerRoot "/etc/httpd"
---- the relevent permisssions are -----
drwxr-xr-x 3 root root 4096 Aug 3 20:07 httpd
drwxr-xr-x 2 root root 4096 Aug 4 19:47 conf
-rw-r--r-- 1 root root 28541 Aug 4 19:47 httpd.conf
DocumentRoot "/home/httpd/html"
---- the relevent permisssions are ----
drwxr-xr-x 17 root root 4096 Aug 3 20:07 home
drwxr-xr-x 6 root root 4096 Aug 4 19:28 httpd
drwxr-xr-x 3 root root 4096 Aug 4 19:33 html
-rw-r--r-- 1 root root 2511 Mar 2 00:07 index.html
---I have serverIP: 164.164.58.187, client IP: 164.164.58.146 ---
------ browser displays this message ----------
Forbidden
You don't have permission to access / on this server.
Apache/1.3.12 Server at 164.164.58.187 Port 80
ErrorLog /var/log/httpd/error_log
----/var/log/httpd/error_log displays ---
[Sat Aug 5 12:19:22 2000] [error] [client 164.164.58.146] client denied
by serv
er configuration: /home/httpd/html
--- /var/log/httpd/access_log displays following entries ---
164.164.58.146 - - [05/Aug/2000:12:19:22 +0530] "GET / HTTP/1.0" 403 269
User nobody
Group nobody
Options ExecCgi
------ following lines were giving error while starting httpd.
I commented them and I was atleast able to run httpd. ----
#<Location /perl>
# SetHandler perl-script
# PerlHandler Apache::Registry
# Options +ExecCGI
#</Location>
----- I created one public_html directory in /home/surinder
and had put index.html there. then i tried 164.164.58.187/~surinder
but same error -----------------
UserDir public_html
--------- this file I couldn't find anywhere -----
AccessFileName .htaccess
----- is it significant to put directory name in "" as in
"/home/httpd/html"--
<Directory />
Options FollowSymlinks
AllowOverride AuthConfig FileInfo Indexes Limit Options
Allow from all
</Directory>
<Directory "/home/httpd/html">
Options Includes Indexes FollowSymlinks
AllowOverride AuthConfig FileInfo Indexes Limit Options
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options",
"FileInfo",
# "AuthConfig", and "Limit"
Order allow,deny
Allow from all
</Directory>
<Files ~>
AllowOverride AuthConfig FileInfo Indexes Limit Options
Order allow,deny
Deny from all
</Files>
<Directory "/home/httpd/icons">
Options MultiViews Indexes
AllowOverride AuthConfig FileInfo Indexes Limit Options
Order allow,deny
Allow from all
</Directory>
<Directory "/home/httpd/cgi-bin">
Options ExecCgi
AllowOverride AuthConfig FileInfo Indexes Limit Options
Order allow,deny
Allow from all
</Directory>
--- access.conf and srm.conf are empty ( only comments are there)
Thanks for Patience.
Surinder
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]