Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Users in Apache

 
   Soft32 Home -> Linux2 Arch -> Setup RSS
Next:  Debian Linux (Woody) 3.0rev1  
Author Message
Doug Laidlaw

External


Since: Jul 03, 2003
Posts: 254



(Msg. 1) Posted: Thu Sep 11, 2003 11:58 am
Post subject: Users in Apache
Archived from groups: comp>os>linux>setup (more info?)

I have never been able to run cgi-bin FROM THE CGI-BIN DIRECTORY in Apache
on Mandrake, but easily under Knoppix Debian.

It may be a permission problem. What is the standard file owner and group
for Apache? I have seen references to "apache.apache" and to
"nobody.nogroup" Mandrake seems to set all files in the www and cgi-bin
directories as owned by user and group root.

TIA,

Doug.
--
Registered Linux User No. 277548.
They say lightning never strikes twice in the same place. My typing is
about as accurate. Apologies for any typos that slip in. - Doug.
Back to top
Login to vote
Jeff Howard

External


Since: Sep 21, 2003
Posts: 3



(Msg. 2) Posted: Sun Sep 21, 2003 1:24 am
Post subject: Re: Users in Apache [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Strange. Are you sure your directives are right?
# Used in within <Virtualhost>
# cgi-bin should be 755
ScriptAlias cgi-bin /some/path/cgi-bin

This has always worked for me.
As far user.group of Apache. nobody.nobody or apache.apache
is just fine.


"Doug Laidlaw" <laidlaws.DeleteThis@myaccess.com.au> wrote in message
news:62j531-3p3.ln1@dougshost.mydomain.org.au...
> I have never been able to run cgi-bin FROM THE CGI-BIN DIRECTORY in Apache
> on Mandrake, but easily under Knoppix Debian.
>
> It may be a permission problem. What is the standard file owner and group
> for Apache? I have seen references to "apache.apache" and to
> "nobody.nogroup" Mandrake seems to set all files in the www and cgi-bin
> directories as owned by user and group root.
>
> TIA,
>
> Doug.
> --
> Registered Linux User No. 277548.
> They say lightning never strikes twice in the same place. My typing is
> about as accurate. Apologies for any typos that slip in. - Doug.
Back to top
Login to vote
Doug Laidlaw

External


Since: Jul 03, 2003
Posts: 254



(Msg. 3) Posted: Mon Sep 22, 2003 2:18 pm
Post subject: Re: Users in Apache [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks Jeff. In commonhttpd.conf I have:

ScriptAlias /cgi-bin/ /var/www/cgi-bin/
ScriptAlias /protected-cgi-bin/ /var/www/protected-cgi-bin/

<Directory /var/www/cgi-bin>
AllowOverride All
Options ExecCGI
</Directory>

The directory /var/www/cgi-bin has permissions 755 and is owned by user and
group apache.

There is no mention of virtualhost in the conf file. Suexec is enabled.

Doug.
--
Registered Linux User No. 277548.
They say lightning never strikes twice in the same place. My typing is
about as accurate. Apologies for any typos that slip in. - Doug.
Jeff Howard wrote:

> Strange. Are you sure your directives are right?
> # Used in within <Virtualhost>
> # cgi-bin should be 755
> ScriptAlias cgi-bin /some/path/cgi-bin
>
> This has always worked for me.
> As far user.group of Apache. nobody.nobody or apache.apache
> is just fine.
>
>
> "Doug Laidlaw" <laidlaws DeleteThis @myaccess.com.au> wrote in message
> news:62j531-3p3.ln1@dougshost.mydomain.org.au...
>> I have never been able to run cgi-bin FROM THE CGI-BIN DIRECTORY in
>> Apache on Mandrake, but easily under Knoppix Debian.
>>
>> It may be a permission problem. What is the standard file owner and
>> group
>> for Apache? I have seen references to "apache.apache" and to
>> "nobody.nogroup" Mandrake seems to set all files in the www and cgi-bin
>> directories as owned by user and group root.
>>
>> TIA,
>>
>> Doug.
Back to top
Login to vote
Display posts from previous:   
Related Topics:
linux users - Hi everyone, I must migrate to new linux server from my Engarde linux. There is about 100 users (mail server, httpd and...

groups vs users - Hi, Can someone please explain to me how groups work as my understanding appears to be faulty, or at best only partial...

Questions for Redhat 9.0 users - Hello, I'm hoping to get some answers from people who bought the cheapest version of Redhat 9 and installed it from..

Locking users to dir - I have created an account for a friend. His account is in /home/friend Is there an easy way to lock him to this dir? I....

Suspending access to particular users ? - Is there an easy way to temporarily suspend login access to particular users ? It may only be for a brief period, so ...

concurrent users in one account? - Hi, I'm just setting up a user account for remote access (via VNC) on a linux box. Using this account, multiple users....
       Soft32 Home -> Linux2 Arch -> Setup All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
 Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]