Re: newbie mess

2001-02-19 Thread Dave Hodgkinson

matt [EMAIL PROTECTED] writes:

 but that is half-ass. from what i read i have to compile suexec
 appropiately. but i am not sure about that either.

man suexec:

/usr/man/man8/suexec.8
/usr/local/src/apache_perl/apache_1.3.14/src/support/suexec.8

Read the INSTALL options for what to do on build...

Cheers,

Dave

-- 
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star   http://www.deep-purple.com
  Apache, mod_perl, MySQL, Sybase hired gun for, well, hire
  -



Re: newbie mess

2001-02-16 Thread G.W. Haywood

Hi there,

On Fri, 16 Feb 2001, matt wrote:

 --- i am sorry if this is not the appropiate list --

Are you running mod_perl?

How did you start Apache?

73,
Ged.




Re: newbie mess

2001-02-16 Thread matt

 Are you running mod_perl?

hehheh... i think so

[mrogers@panda i386-linux]$ ls
Apache SHA.pm   mod_perl_hooks.pm
Apache.pm  auto mod_perl_hooks.pm.PL
Bundle cgi_to_mod_perl.pod  mod_perl_method_handlers.pod
Digest mod_perl.pm  mod_perl_traps.pod
Digest.pm  mod_perl.pod mod_perl_tuning.pod
MD5.pm mod_perl_cvs.pod
[mrogers@panda i386-linux]$ pwd
/usr/lib/perl5/site_perl/5.6.0/i386-linux

from /etc/httpd/conf/httpd.conf :

# If the perl module is installed, this will be enabled.
IfModule mod_perl.c
  Alias /perl/ /var/www/perl/
  Location /perl
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
  /Location
/IfModule

IfDefine HAVE_PERL
AddModule mod_perl.c
/IfDefine



 How did you start Apache?

well... i have httpd on automatic running in linuxconf

thoughts?

thanks for the quick response...

matt




 73,
 Ged.




Re: newbie mess

2001-02-16 Thread matt


 Well if you kill all the existing Apache processes (find the parent
 pid using 'ps axfw | grep httpd' and 'kill -15 ' where  is the
 parent process id) then repeat the command I gave without the '-t'
 switch your Apache should run OK.

ok
[root@panda sbin]# ps axfw | grep httpd
  901 pts/0S  0:00  \_ grep httpd
  676 ?S  0:00 /usr/sbin/httpd -D HAVE_PERL -D HAVE_PROXY -D
HAVE_SS

[root@panda sbin]# kill -15 676
[root@panda sbin]# ./httpd -t -f/etc/httpd/conf/httpd.conf
Syntax OK
[root@panda sbin]#
[root@panda sbin]# ps auxww | grep httpd
root   910  0.1  0.7  3328 1516 ?S17:06   0:00 httpd
apache 911  0.0  0.8  3528 1620 ?S17:06   0:00 httpd
apache 912  0.0  0.8  3528 1620 ?S17:06   0:00 httpd
apache 913  0.0  0.8  3528 1620 ?S17:06   0:00 httpd
apache 914  0.0  0.8  3528 1620 ?S17:06   0:00 httpd
apache 915  0.0  0.8  3528 1620 ?S17:06   0:00 httpd
apache 916  0.0  0.8  3528 1620 ?S17:06   0:00 httpd
apache 917  0.0  0.8  3528 1620 ?S17:06   0:00 httpd
apache 918  0.0  0.8  3528 1620 ?S17:06   0:00 httpd
root   922  0.0  0.3  1516  580 pts/0R17:06   0:00 grep httpd
[root@panda sbin]#

whoa!
Ged thanks so much!
wow.


 You looked at the Guide lately?

pardon my ignorancewhat?
a little background:
i am a html/dhtml/javascript/flash guy who had a little linux experience.
my boss found this out and told me to setup two servers with linux 7.0 and
get qmail and ezmlm and going. and then get ezmlm-web.cgi going. i got
lucky with the first two, but the last one opened up a whole nasty  suid
issue. apparently linux doesn't like suid scripts by default without some
major tweaking. so i have been tweaking the hell out of httpd to try and
get get a workaround. the only way i got it to work was by having httpd
run as the same user as the cgi file.

but that is half-ass. from what i read i have to compile suexec
appropiately. but i am not sure about that either.

thanks again,

matt




 73,
 Ged.