Professional Web Applications Themes

recommendations for webserver user in apache - Mac Networking

hi there i'm running apache on os x and with the standard setting apache is runned by the user "www". unfortunatly the user "www" has no tree in the /Users/ directory. but i'd like to have the Site Files in the Users tree (for Backup reasons). so should i create a new user (lets call it "server") which would have its one tree and set a link from /Library/WebServer/Doents to /Users/server/Sites and change the user in httpd.conf to "server"? or should i manually generate a directory tree under /Users/www and set the permissions to "www"? at the moment i prefer ...

Sponsored Links
  1. #1

    Default recommendations for webserver user in apache

    hi there

    i'm running apache on os x and with the standard setting apache is runned by
    the user "www".

    unfortunatly the user "www" has no tree in the /Users/ directory. but i'd
    like to have the Site Files in the Users tree (for Backup reasons).

    so should i create a new user (lets call it "server") which would have its
    one tree and set a link from /Library/WebServer/Doents to
    /Users/server/Sites and change the user in httpd.conf to "server"?

    or should i manually generate a directory tree under /Users/www and set the
    permissions to "www"?

    at the moment i prefer the former, because then i can _login_ as server an
    do some work on the donets and all permissions should just be correct!

    is there any security concern in having a login-able (of course non admin)
    user running apache?

    thanks, leo


    Sponsored Links
    leo Guest

  2. #2

    Default Re: recommendations for webserver user in apache

    In article <c09m85$mer$netspace.net.au>,
    "leo" <myrealbox.com> wrote:
     

    Is there some reason you can't just backup /Library/WebServer/Doents
    right where it is, instead of tinkering with things like this?

    --
    Tom "Tom" Harrington
    Macaroni, Automated System Maintenance for Mac OS X.
    Version 2.0: Delocalize, Repair Permissions, lots more.
    See http://www.atomicbird.com/
    Tom Guest

  3. #3

    Default Re: recommendations for webserver user in apache


    "Tom Harrington" <no.spam.dammit.net> wrote in message
    news:.. [/ref]
    runned by [/ref]
    i'd [/ref]
    its [/ref]
    the [/ref]
    an [/ref]
    correct! [/ref]
    admin) 
    >
    > Is there some reason you can't just backup /Library/WebServer/Doents
    > right where it is, instead of tinkering with things like this?[/ref]

    yes, on my regular backups i only want to backup the /Users tree.

    cheers, leo


    leo Guest

  4. #4

    Default Re: recommendations for webserver user in apache

    Put the files wherever you want, edit the httpd.conf file to tell it
    where they are, and then stop and restart apache. No problemo.
    Tim Guest

Similar Threads

  1. Replies: 3
    Last Post: May 19th, 08:16 PM
  2. Apache webserver(axis) and c#
    By giri in forum ASP.NET Web Services
    Replies: 0
    Last Post: March 9th, 07:07 AM
  3. Php-html and apache user
    By Lorenza Soverini in forum PHP Development
    Replies: 5
    Last Post: October 28th, 07:01 PM
  4. Shareware recommendations for a PC user
    By Nick in forum Mac Portable
    Replies: 13
    Last Post: September 20th, 09:01 PM
  5. Problem with AIX 5.1 ML3, jfs2 and the Apache webserver
    By Stefan Rothenbühler in forum AIX
    Replies: 3
    Last Post: July 16th, 12:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139