Thread: Apache
View Single Post
  #4   (View Single Post)  
Old 24th February 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

You get an error the mode should be 0440, but that it currently is 0644. So yes, you should change permissions.
You can not edit the sudoers file as the www user, you need to be root.

Also, which OS are you using? FreeBSD or OpenBSD? There are some differences in the default Apache configuration (Most notably OpenBSD uses chroot by default), so if you are using OpenBSD remember this when reading the link DutchDaemon posted.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote