Re: Apache Permissions

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

 



> I'm having trouble getting the permissions of my
> DocumentRoot just right on my Apache configuration.
> This is the first Apache Web Server that I've tried
> setting up.  It is more or less a test environment for
> PHP.  I only want to give write access to a one or two
> users, and I still want Apache to be able to display
> the pages.
>
> Any experienced suggestions?
>
> Thanx in advance,
>
> SAJChurchey

have a look in /etc/httpd/conf/httpd.conf and search the document-root (if
you havn't changed the standard), its mentionnend as /var/www/html. It is
a section beginning like <DocumentRoot> or so....if you have a line in
there like 'Deny All' take it out.

Have with 'ps -ef | grep httpd' a look, which user runs the apache
webserver. Change the permissions from /var/www/ with 'chmod -R
/var/www/html u+rx apache' to the user written by the ps-command. This
makes your Document Root read- and executable.

HTH
Roger




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux