Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

apache permissions

2 views
Skip to first unread message

Martin

unread,
Jan 23, 2011, 11:47:20 AM1/23/11
to
Hi There,

I've configured Apache/MySQL/PHP on Slackware-current.
The document directory is the default /var/www/htdocs/.
The problem is that my regular used doesn't have read/execute
permissions anywhere in /var and I don't want to do
things as root. What is the common practice?

thanks

Martin

Michael Stemper

unread,
Feb 8, 2011, 12:55:37 PM2/8/11
to

In my opinion, it's a better idea to give each user their own
directory, rather than giving anybody write access to /var/www.

To do this, you'll need to:
1. Link userdir.conf and userdir.load from /etc/apache2/mods-available
into /etc/apache2/mods-enabled
2. Add some options to /etc/apache2/httpd.conf

You'll probably get better information in an apache news group, as this is
really a question about server administration rather than site design.

--
Michael F. Stemper
#include <Standard_Disclaimer>
Economists have correctly predicted seven of the last three recessions.

0 new messages