Re: Newbie Virtual host questions
"Jeff" <jeff@spam_me_not.com> wrote in message
news:13p6u38b2g5ip6f@corp.supernews.com...
> I have a server with shell and WebMin access.
>
> I understand the directives in the virtual host section. What I don't
> understand is how to set up ownership of the directories, I'll be
> running perl scripts from a cgi-bin
>
> /var/www/vhosts/some_domain/cgi-bin/ cgi-bin
> /var/www/vhosts/some_domain/httpdocs/ web root
>
> If someone could either give me step by step instructions (or point me
> at a resource) of how to create the user and set up ownerships and
> permissions I'd be very grateful. I'd like scripts to run from the
> cgi-bin to have read/write access to the cgi-bin and webroot, but not
> below (toward the root).
>
> I've done a great deal of reading but I just get a snippet here and
> there of how to do this, and when I put all that discombobulated
> knowledge into action it's a mess!
>
> I didn't see a more suited group, point me at one if you can't
here.
Assuming unix-type OS:
Ownership: The person controlling the resources should be the owner.
Typically, they get RW or RWX access.
Group: I usually set web page directories to the group that apache runs as.
Access is typically R or RX.
Others: If apache is using group access, I set access by others to none.
Otherwise, set this as R or RX.
|