Apache setup help

Kurt Wall kwall
Mon May 17 11:51:42 PDT 2004


Quoth Tom Condon:
> On Tuesday 26 August 2003 17:45, Kurt Wall carved in granite:
> > This hardly seems sufficient. This is one situation where
> > using the sample httpd.conf file will help you. It seems
> > long, but it's mostly comments. Entries I change
> >
> > ServerAdmin
> > ServerName
> > CustomLog
> > User
> > Group
> > DocumentRoot
> >
> > After you make your changes, run "apachectl configtest" to
> > validate your configuration file.
> 
> Thanks.  The syntax is OK according to apachectl.  I set:
> ServerName spyder.condonia.org
> User webuser
> Group webgroup
> DocumentRoot /web/site.burps/htdocs
> 
> This URL contains the same HTML code that I'm working with:
> http://www.eskimo.com/~tomc/BURPS.html
> so it looks pretty clean as far as HTML goes.  I do not have 
> an index.html doc in that directory.
> 
> Having made these changes to apache.conf I restarted apache, 
> then tried again.  I get:
> ******************************************************
> Forbidden
> You don't have permission to access /BURPS.html on this 
> server.
> ---------------------------------------
> Apache/1.3.27 Server at spyder.condonia.org Port 80
> 
> ******************************************************
> This happens when I access it either through the name or the 
> IP.  I checked, and changed all of the /web directories and 
> files to be owned by webuser:webgroup.  No effect.  I know 
> better than to leave it that way, and will be changing it 
> back momentarily.  The config file has no "Allow" or "Deny" 
> in any combination of cases.
> 
> Next step?

<Directory "/web/site.burps/htdocs">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

Do be sure to restart Apache. Also have a look at the server
logs.

Kurt
-- 
Reality is a cop-out for people who can't handle drugs.


More information about the Linux-users mailing list