JupiterHost.Net wrote:
> Hello List!
>
> I was trying to figure out how to see the user the script/webserver is
> running as. (Like Apache is 'nobody' or the owner 'foomonkey' perhaps
> with SuExec enabled)
>
> I looked in %ENV and didn't see it in there.
Are you trying to find out from a CGI sc
WC -Sx- Jones wrote:
JupiterHost.Net wrote:
problem is foo.pl can be run simultaneously by 2 different users so
I'm not sure how I'd be able to make foo.pl tell which ps it belongs to.
Not a problem - each will have it's own address space and PID.
The issue - and you haven't shown any code -
Bob Showalter wrote:
JupiterHost.Net wrote:
Hello List!
I was trying to figure out how to see the user the script/webserver is
running as. (Like Apache is 'nobody' or the owner 'foomonkey' perhaps
with SuExec enabled)
I looked in %ENV and didn't see it in there.
Are you trying to find out fr
JupiterHost.Net wrote:
problem is foo.pl can be run simultaneously by 2 different users so I'm
not sure how I'd be able to make foo.pl tell which ps it belongs to.
Not a problem - each will have it's own address space and PID.
The issue - and you haven't shown any code -
is mutual data access.
Th
u235sentinel wrote:
I'm wondering if there is a perl module to read from the apache server
status screen. Doesn't it tell you the server version running?
Also, when you connect to a web server, doesn't it pass along this
information also?
See
#!/usr/local/bin/perl -w
use strict;
use Text::Wrap
I'm wondering if there is a perl module to read from the apache server
status screen. Doesn't it tell you the server version running?
Also, when you connect to a web server, doesn't it pass along this
information also?
Been awhile since I've worked with web servers (I'm still a perl noob
btw)
Thank you Gaffney and Jones for your input.
I may have to parse external program output I suppose. I was hoping
there would be a more built in or Modular way to get it. Part of the
problem is foo.pl can be run simultaneously by 2 different users so I'm
not sure how I'd be able to make foo.pl te
JupiterHost.Net wrote:
Hello List!
I was trying to figure out how to see the user the script/webserver is
running as. (Like Apache is 'nobody' or the owner 'foomonkey' perhaps
with SuExec enabled)
ps -ef |grep -i httpd
And, where ever your apache server logs are;
do -
grep -i suexec error*log
JupiterHost.Net wrote:
Hello List!
I was trying to figure out how to see the user the script/webserver is
running as. (Like Apache is 'nobody' or the owner 'foomonkey' perhaps
with SuExec enabled)
I looked in %ENV and didn't see it in there.
Any ideas?
If you're running Linux (might work on ot
Hello List!
I was trying to figure out how to see the user the script/webserver is
running as. (Like Apache is 'nobody' or the owner 'foomonkey' perhaps
with SuExec enabled)
I looked in %ENV and didn't see it in there.
Any ideas?
TIA
Lee.M - JupiterHost.Net
--
To unsubscribe, e-mail: [EMAIL
10 matches
Mail list logo