httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Lopez <dan...@rawbyte.com>
Subject Re: newbie gets Forbidden on 1.3.22
Date Thu, 20 Dec 2001 00:47:18 GMT

I dint know you were using such a reduced config file.
This is what I think is happening. By default, when you request a directory,
a couple of things happen:
- Apache looks for what is called an index file and if present, returns it
to you
- Otherwise, if mod_dir is present and configured it can display a list of
files in that directory

none of the above seems to be configured.
try requesting http://your.domain.com/index.html

or adding DirectoryIndex index.html

directive to your configuration file

Does that work?

On Wed, Dec 19, 2001 at 06:27:38PM -0600, Mac McCaskie wrote:
> Daniel,
> Thanks, here is what I think you are asking for...
> 
> <screen snapshot>
> mongo# ls -l
> total 13
> drwxr-xr-x  2 root    wheel    512 Dec 17 21:04 bin
> drwxr-xr-x  2 root    wheel    512 Dec 16 18:20 cgi-bin
> drwxr-xr-x  2 root    wheel    512 Dec 17 21:05 conf
> drwxr-xr-x  3 root    wheel   1024 Dec 18 21:04 htdocs
> drwxr-xr-x  3 root    wheel   3584 Dec 16 18:20 icons
> drwxr-xr-x  3 root    wheel   1024 Dec 16 18:20 include
> drwxr-xr-x  2 root    wheel    512 Dec 16 18:20 libexec
> drwxr-xr-x  2 root    wheel    512 Dec 16 21:39 logs
> drwxr-xr-x  4 root    wheel    512 Dec 16 18:20 man
> drwxr-xr-x  2 nobody  nobody   512 Dec 16 18:20 proxy
> mongo# pwd
> /usr/local/apache
> mongo#
> mongo# cd htdocs
> mongo# ls -l
> total 75
> -rw-r--r--  1 root  wheel  2326 Jul  3  1996 apache_pb.gif
> -rw-r--r--  1 root  wheel  1456 May  3  2001 index.html
> <snip>
> 
> 
> AND
> 
> 
> ##
> ## httpd.conf -- Apache HTTP server configuration file
> ##
> 
> ### Section 1: Global Environment
> ServerType standalone
> ServerRoot "/usr/local/apache"
> #LockFile /usr/local/apache/logs/httpd.lock
> PidFile /usr/local/apache/logs/httpd.pid
> ScoreBoardFile /usr/local/apache/logs/httpd.scoreboard
> #ResourceConfig conf/srm.conf
> #AccessConfig conf/access.conf
> Timeout 300
> KeepAlive On
> MaxKeepAliveRequests 100
> KeepAliveTimeout 15
> MinSpareServers 5
> MaxSpareServers 10
> StartServers 5
> MaxClients 150
> MaxRequestsPerChild 0
> #Listen 3000
> #Listen 12.34.56.78:80
> BindAddress 192.168.0.5
> 
> # Dynamic Shared Object (DSO) Support
> #ExtendedStatus On
> 
> ### Section 2: 'Main' server configuration
> Port 80
> User nobody
> Group "#-1"
> ServerAdmin mccaskie@swbell.net
> ServerName 66.140.64.161
> DocumentRoot "/usr/local/apache/htdocs"
> <Directory />
>      Options FollowSymLinks
>      AllowOverride None
> </Directory>
> <Directory "/usr/local/apache/htdocs">
>      Options Indexes FollowSymLinks MultiViews
>      AllowOverride None
>      Order allow,deny
>      Allow from all
> </Directory>
> 
>   <snip>
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message