Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apache "permission denied"





The allow directive doesn't do that, it's for host based access restrictions.
What you should probably do is grant ownership of all your web files to a unique
web user who's a member of a unique group, then chmod them so that only the
owner can read/write them, but group and other can read. Any uploads you then do
as that user. Then you run Apache as the standard 'nobody' user, which should
allow it to read the files (as a member of the other group).

Gavin





Internet
jean_christian@example.com - 06/12/2001 03:26 PM


Please respond to tlug@example.com
To:   tlug

cc:

bcc:  Gavin WALKER


Subject:  Apache "permission denied"




My apache server gives me a 403/permission denied error when I try to access
it.

I think this has to do with a change to the file ownership. The files and
the directory used be owned by root, but now I gave them to a specific user.
However I have the following in my config file which I tought should ahve
made the files accessible by anyone:

<Directory "/home/httpd/html/top40">
    Options Indexes Includes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

I've tried a few things but none have fixed my access problem. Can anyone
recomend other things I could try to fix this?

Jc



_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

-----------------------------------------------------------------------
Next Nomikai Meeting:    Fri, June 15 19:30-  Tengu Tokyo Eki-Mae
Next Technical Meeting:  Sat, July 14 13:30-
-----------------------------------------------------------------------
more info: http://www.tlug.gr.jp           Sponsor: Global Online Japan









___________________________________________________________

This message and any attachments (the "message") are intended solely for
the addressees and are confidential.  If you receive this message in error,
please delete it and immediately notify the sender.

Any use not in accord with its purpose, any dissemination or disclosure,
either whole or partial, is prohibited except formal approval.

The internet can not guarantee the integrity of this message.  BNP PARIBAS
(and its subsidiaries) shall (will) not therefore be liable for the message
if modified.
                       --------------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le "message") sont
etablis a l'intention exclusive de ses destinataires et sint confidentiels.
Si vous recevez ce message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur.

Toute utilisation de ce message non conforme a sa destination, toute
diffusion ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse.

L'internet ne permettant pas d'assurer l'integrite de ce message, BNP
PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.
___________________________________________________________


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links