Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

suexec

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  NEWBIE: Setting up aliases  
Author Message
mbailey1

External


Since: Jul 04, 2004
Posts: 6



(Msg. 1) Posted: Sun Jul 04, 2004 3:56 pm
Post subject: suexec
Archived from groups: alt>apache>configuration (more info?)

I'm trying to add the suexec module to apache 2 on a freebsd machine.

Totaly lost on how to add it to an existing installation, (I know how to
load the mod_suexec.so from httpd.conf, but mod_suexec.so does not exist
on my box)

Pointers would be apreciated.

 >> Stay informed about: suexec 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Sun Jul 04, 2004 10:16 pm
Post subject: Re: suexec [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Matthew Bailey <mbailey.DeleteThis@pirho.com> wrote:
 > load the mod_suexec.so from httpd.conf, but mod_suexec.so does not exist
 > on my box)

Well, you compile it or get a precompiled binary.
Davide

--
| Real software engineers don't debug programs, they verify correctness.
| This process doesn't necessarily involve execution of anything on a
| computer, except perhaps a Correctness Verification Aid package.
|<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: suexec 
Back to top
Login to vote
mbailey1

External


Since: Jul 04, 2004
Posts: 6



(Msg. 3) Posted: Sun Jul 04, 2004 10:16 pm
Post subject: Re: suexec [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ok, my confusion was not well stated.

When you install apache from the ports collection you can configure it
to install with suexec, however I did not do this.

How do I add it to the install of Apache?

I was going to just reistall (reinstalling is less desireable) apache...

# cd /usr/ports/www/apache21/work/httpd-2.0.48/
# make deinstall
make: don't know how to make deinstall. Stop

I see the suexec in the ports collection...
/usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.c
/usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.h
/usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.la
/usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.lo
/usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.o
but I don't know how to get it installed.

Is there a simple way to upgrade apache with new arguments?

I did try to do...

make clean
../configure --enable-suexec --datadir=/usr/home
make -DWITH_SUEXEC
make install

then I did:
# httpd -l
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c

And searched for the mod_suexec.so file, it didn't exist.

I'm obviously missing something here.

I admit that I do not understand the ports collection well, and so I do
not know exactly what to do... do I need a clean world first?

Lost and confused,

Mat
Davide Bianchi wrote:

 > Matthew Bailey <mbailey.DeleteThis@pirho.com> wrote:
 >
  >>load the mod_suexec.so from httpd.conf, but mod_suexec.so does not exist
  >>on my box)
 >
 >
 > Well, you compile it or get a precompiled binary.
 > Davide
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: suexec 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 4) Posted: Mon Jul 05, 2004 10:55 am
Post subject: Re: suexec [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Matthew Bailey <mbailey.DeleteThis@pirho.com> wrote:
 > # make deinstall
 > make: don't know how to make deinstall. Stop

Try make uninstall

 > Is there a simple way to upgrade apache with new arguments?

You could try apxs to add the module, but I guess that recompile it
is still the fastest option.

Davide<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: suexec 
Back to top
Login to vote
lnewsnospam

External


Since: Jul 05, 2004
Posts: 3



(Msg. 5) Posted: Mon Jul 05, 2004 1:08 pm
Post subject: Re: suexec [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Matthew Bailey wrote:
 > Ok, my confusion was not well stated.
 >
 > When you install apache from the ports collection you can configure it
 > to install with suexec, however I did not do this.
 >
 > How do I add it to the install of Apache?
 >
 > I was going to just reistall (reinstalling is less desireable)
 > apache...

Reinstalling is the way... It won't destroy any config files...

 > # cd /usr/ports/www/apache21/work/httpd-2.0.48/
 > # make deinstall
 > make: don't know how to make deinstall. Stop

No, not when you are in the wrong directory

 > I see the suexec in the ports collection...
 > /usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.c
 > /usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.h
 > /usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.la
 > /usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.lo
 > /usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.o

work directory, don't meddle with it...

 > I admit that I do not understand the ports collection well, and so I
 > do not know exactly what to do... do I need a clean world first?

cd /usr/ports/www/apache2
# read all about the options...
make show-options
# read all about the modules...
make show-modules

# decide to clean up the mess...
make distclean

# and make the package again...
make WITH_SUEXEC=yes SUEXEC_DOCROOT=/home/www/something

#uninstall the old package
make deinstall

# inclass the new one...
make install

Ports rocks...

--
MVH Jeppe Uhd - NX <a style='text-decoration: underline;' href="http://nx.dk" target="_blank">http://nx.dk</a>
Webhosting for nørder og andet godtfolk<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: suexec 
Back to top
Login to vote
mbailey1

External


Since: Jul 04, 2004
Posts: 6



(Msg. 6) Posted: Tue Jul 06, 2004 1:16 pm
Post subject: Re: suexec [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

From what I understand suexec requires a working director on
compilation, which all but rules out a bin distribution...

I would love to compile it... I'm not sure how.

Davide Bianchi wrote:
 > Matthew Bailey <mbailey RemoveThis @pirho.com> wrote:
 >
  >>load the mod_suexec.so from httpd.conf, but mod_suexec.so does not exist
  >>on my box)
 >
 >
 > Well, you compile it or get a precompiled binary.
 > Davide
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: suexec 
Back to top
Login to vote
mbailey1

External


Since: Jul 04, 2004
Posts: 6



(Msg. 7) Posted: Tue Jul 06, 2004 1:21 pm
Post subject: Re: suexec [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Here is my attempt at re-installing apache.

pwd
  /usr/ports/www/apache21/work/httpd-2.0.48

make distclean
../configure
make WITH_SUEXEC=yes SUEXEC_DOCROOT=/usr/home
make deinstall
  make: don't know how to make deinstall. Stop

make uninstall
  make: don't know how to make uninstall. Stop

make install
ls /usr/local/libexec/apache2 | grep suexec

mod_suexec.so still does not appear in the module files for apache...

Is this because I am unable to deinstall apache? What am I missing here?

Jeppe Uhd wrote:

 > Matthew Bailey wrote:
 >
  >>Ok, my confusion was not well stated.
  >>
  >>When you install apache from the ports collection you can configure it
  >>to install with suexec, however I did not do this.
  >>
  >>How do I add it to the install of Apache?
  >>
  >>I was going to just reistall (reinstalling is less desireable)
  >>apache...
 >
 >
 > Reinstalling is the way... It won't destroy any config files...
 >
 >
  >># cd /usr/ports/www/apache21/work/httpd-2.0.48/
  >># make deinstall
  >>make: don't know how to make deinstall. Stop
 >
 >
 > No, not when you are in the wrong directory
 >

What is the right directory? This is the lowest level directory w/ any
config or makefiles...

 >
  >>I see the suexec in the ports collection...
  >>/usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.c
  >>/usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.h
  >>/usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.la
  >>/usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.lo
  >>/usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.o
 >
 >
 > work directory, don't meddle with it...
 >
 >
  >>I admit that I do not understand the ports collection well, and so I
  >>do not know exactly what to do... do I need a clean world first?
 >
 >
 > cd /usr/ports/www/apache2
 > # read all about the options...
 > make show-options
 > # read all about the modules...
 > make show-modules
 >
 > # decide to clean up the mess...
 > make distclean
 >
 > # and make the package again...
 > make WITH_SUEXEC=yes SUEXEC_DOCROOT=/home/www/something
 >
 > #uninstall the old package
 > make deinstall
 >
 > # inclass the new one...
 > make install
 >
 > Ports rocks...
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: suexec 
Back to top
Login to vote
lnewsnospam

External


Since: Jul 05, 2004
Posts: 3



(Msg. 8) Posted: Wed Jul 07, 2004 10:35 am
Post subject: Re: suexec [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Matthew Bailey wrote:
 > Here is my attempt at re-installing apache.
 >
 > pwd
 > /usr/ports/www/apache21/work/httpd-2.0.48

NO!

Did you try the step-by-step i provided ?

 >
 > make distclean
 > ./configure
 > make WITH_SUEXEC=yes SUEXEC_DOCROOT=/usr/home
 > make deinstall
 > make: don't know how to make deinstall. Stop
 >
 > make uninstall
 > make: don't know how to make uninstall. Stop
 >
 > make install
 > ls /usr/local/libexec/apache2 | grep suexec
 >
 > mod_suexec.so still does not appear in the module files for apache...
 >
 > Is this because I am unable to deinstall apache? What am I missing
 > here?
 >
 > Jeppe Uhd wrote:
 >
  >> Matthew Bailey wrote:
  >>
   >>> Ok, my confusion was not well stated.
   >>>
   >>> When you install apache from the ports collection you can configure
   >>> it to install with suexec, however I did not do this.
   >>>
   >>> How do I add it to the install of Apache?
   >>>
   >>> I was going to just reistall (reinstalling is less desireable)
   >>> apache...
  >>
  >>
  >> Reinstalling is the way... It won't destroy any config files...
  >>
  >>
   >>> # cd /usr/ports/www/apache21/work/httpd-2.0.48/
   >>> # make deinstall
   >>> make: don't know how to make deinstall. Stop
  >>
  >>
  >> No, not when you are in the wrong directory
  >>
 >
 > What is the right directory? This is the lowest level directory w/ any
 > config or makefiles...
 >
  >>
   >>> I see the suexec in the ports collection...
   >>>
/usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.c
   >>>
/usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.h
   >>>
/usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.la
   >>>
/usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.lo
   >>>
/usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.o
  >>
  >>
  >> work directory, don't meddle with it...
  >>
  >>
   >>> I admit that I do not understand the ports collection well, and so I
   >>> do not know exactly what to do... do I need a clean world first?
  >>
  >>
  >> cd /usr/ports/www/apache2
  >> # read all about the options...
  >> make show-options
  >> # read all about the modules...
  >> make show-modules
  >>
  >> # decide to clean up the mess...
  >> make distclean
  >>
  >> # and make the package again...
  >> make WITH_SUEXEC=yes SUEXEC_DOCROOT=/home/www/something
  >>
  >> #uninstall the old package
  >> make deinstall
  >>
  >> # inclass the new one...
  >> make install
  >>
  >> Ports rocks...

--
MVH Jeppe Uhd - NX <a style='text-decoration: underline;' href="http://nx.dk" target="_blank">http://nx.dk</a>
Webhosting for nørder og andet godtfolk<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: suexec 
Back to top
Login to vote
mbailey1

External


Since: Jul 04, 2004
Posts: 6



(Msg. 9) Posted: Wed Jul 07, 2004 8:36 pm
Post subject: Re: suexec [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I was attempting to follow your steps. It sounds like I'm trying to make
from the wrong directory?

# pwd
  /usr/ports/www/apache21
# make
  make: no target to make.

# pwd
  /usr/ports/www/apache21/work
# make
  make: no target to make.

(thanks for your suggestions!)

Jeppe Uhd wrote:

 > Matthew Bailey wrote:
 >
  >>Here is my attempt at re-installing apache.
  >>
  >>pwd
  >>/usr/ports/www/apache21/work/httpd-2.0.48
 >
 >
 > NO!
 >
 > Did you try the step-by-step i provided ?
 >
 >
  >>make distclean
  >>./configure
  >>make WITH_SUEXEC=yes SUEXEC_DOCROOT=/usr/home
  >>make deinstall
  >>make: don't know how to make deinstall. Stop
  >>
  >>make uninstall
  >>make: don't know how to make uninstall. Stop
  >>
  >>make install
  >>ls /usr/local/libexec/apache2 | grep suexec
  >>
  >>mod_suexec.so still does not appear in the module files for apache...
  >>
  >>Is this because I am unable to deinstall apache? What am I missing
  >>here?
  >>
  >>Jeppe Uhd wrote:
  >>
  >>
   >>>Matthew Bailey wrote:
   >>>
   >>>
   >>>>Ok, my confusion was not well stated.
   >>>>
   >>>>When you install apache from the ports collection you can configure
   >>>>it to install with suexec, however I did not do this.
   >>>>
   >>>>How do I add it to the install of Apache?
   >>>>
   >>>>I was going to just reistall (reinstalling is less desireable)
   >>>>apache...
   >>>
   >>>
   >>>Reinstalling is the way... It won't destroy any config files...
   >>>
   >>>
   >>>
   >>>># cd /usr/ports/www/apache21/work/httpd-2.0.48/
   >>>># make deinstall
   >>>>make: don't know how to make deinstall. Stop
   >>>
   >>>
   >>>No, not when you are in the wrong directory
   >>>
  >>
  >>What is the right directory? This is the lowest level directory w/ any
  >>config or makefiles...
  >>
  >>
   >>>>I see the suexec in the ports collection...
   >>>>
 >
 > /usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.c
 >
 > /usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.h
 >
 > /usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.la
 >
 > /usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.lo
 >
 > /usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.o
 >
   >>>
   >>>work directory, don't meddle with it...
   >>>
   >>>
   >>>
   >>>>I admit that I do not understand the ports collection well, and so I
   >>>>do not know exactly what to do... do I need a clean world first?
   >>>
   >>>
   >>>cd /usr/ports/www/apache2
   >>># read all about the options...
   >>>make show-options
   >>># read all about the modules...
   >>>make show-modules
   >>>
   >>># decide to clean up the mess...
   >>>make distclean
   >>>
   >>># and make the package again...
   >>>make WITH_SUEXEC=yes SUEXEC_DOCROOT=/home/www/something
   >>>
   >>>#uninstall the old package
   >>>make deinstall
   >>>
   >>># inclass the new one...
   >>>make install
   >>>
   >>>Ports rocks...
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: suexec 
Back to top
Login to vote
lnewsnospam

External


Since: Jul 05, 2004
Posts: 3



(Msg. 10) Posted: Thu Jul 08, 2004 10:36 am
Post subject: Re: suexec [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Matthew Bailey wrote:
 > I was attempting to follow your steps. It sounds like I'm trying to
 > make from the wrong directory?
 >

Try starting with:
cd /usr/ports/www/apache2

And -not- apache21

Where you got the extra digit from I do not know, but it isn't on -any- of
my FreeBSD boxes... (checked 4.x, 5.x & -current)

 > # pwd
 > /usr/ports/www/apache21
 > # make
 > make: no target to make.
 >
 > # pwd
 > /usr/ports/www/apache21/work
 > # make
 > make: no target to make.
 >
 > (thanks for your suggestions!)
 >
 > Jeppe Uhd wrote:
 >
  >> Matthew Bailey wrote:
  >>
   >>> Here is my attempt at re-installing apache.
   >>>
   >>> pwd
   >>> /usr/ports/www/apache21/work/httpd-2.0.48
  >>
  >>
  >> NO!
  >>
  >> Did you try the step-by-step i provided ?
  >>
  >>
   >>> make distclean
   >>> ./configure
   >>> make WITH_SUEXEC=yes SUEXEC_DOCROOT=/usr/home
   >>> make deinstall
   >>> make: don't know how to make deinstall. Stop
   >>>
   >>> make uninstall
   >>> make: don't know how to make uninstall. Stop
   >>>
   >>> make install
   >>> ls /usr/local/libexec/apache2 | grep suexec
   >>>
   >>> mod_suexec.so still does not appear in the module files for
   >>> apache...
   >>>
   >>> Is this because I am unable to deinstall apache? What am I missing
   >>> here?
   >>>
   >>> Jeppe Uhd wrote:
   >>>
   >>>
   >>>> Matthew Bailey wrote:
   >>>>
   >>>>
   >>>>> Ok, my confusion was not well stated.
   >>>>>
   >>>>> When you install apache from the ports collection you can
   >>>>> configure it to install with suexec, however I did not do this.
   >>>>>
   >>>>> How do I add it to the install of Apache?
   >>>>>
   >>>>> I was going to just reistall (reinstalling is less desireable)
   >>>>> apache...
   >>>>
   >>>>
   >>>> Reinstalling is the way... It won't destroy any config files...
   >>>>
   >>>>
   >>>>
   >>>>> # cd /usr/ports/www/apache21/work/httpd-2.0.48/
   >>>>> # make deinstall
   >>>>> make: don't know how to make deinstall. Stop
   >>>>
   >>>>
   >>>> No, not when you are in the wrong directory
   >>>>
   >>>
   >>> What is the right directory? This is the lowest level directory w/
   >>> any config or makefiles...
   >>>
   >>>
   >>>>> I see the suexec in the ports collection...
   >>>>>
  >>
  >> /usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.c
  >>
  >> /usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.h
  >>
  >>
/usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.la
  >>
  >>
/usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.lo
  >>
  >> /usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.o
  >>
   >>>>
   >>>> work directory, don't meddle with it...
   >>>>
   >>>>
   >>>>
   >>>>> I admit that I do not understand the ports collection well, and
   >>>>> so I do not know exactly what to do... do I need a clean world
   >>>>> first?
   >>>>
   >>>>
   >>>> cd /usr/ports/www/apache2
   >>>> # read all about the options...
   >>>> make show-options
   >>>> # read all about the modules...
   >>>> make show-modules
   >>>>
   >>>> # decide to clean up the mess...
   >>>> make distclean
   >>>>
   >>>> # and make the package again...
   >>>> make WITH_SUEXEC=yes SUEXEC_DOCROOT=/home/www/something
   >>>>
   >>>> #uninstall the old package
   >>>> make deinstall
   >>>>
   >>>> # inclass the new one...
   >>>> make install
   >>>>
   >>>> Ports rocks...

--
MVH Jeppe Uhd - NX <a style='text-decoration: underline;' href="http://nx.dk" target="_blank">http://nx.dk</a>
Webhosting for nørder og andet godtfolk<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: suexec 
Back to top
Login to vote
mbailey1

External


Since: Jul 04, 2004
Posts: 6



(Msg. 11) Posted: Fri Jul 09, 2004 2:35 am
Post subject: Re: suexec [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

It seems to work great now that I am in the right directory... ( I still
can't believe that I was just in the wrong directory! )

Thanks for your help!

Jeppe Uhd wrote:

 > Matthew Bailey wrote:
 >
  >>I was attempting to follow your steps. It sounds like I'm trying to
  >> make from the wrong directory?
  >>
 >
 >
 > Try starting with:
 > cd /usr/ports/www/apache2
 >
 > And -not- apache21
 >
 > Where you got the extra digit from I do not know, but it isn't on -any- of
 > my FreeBSD boxes... (checked 4.x, 5.x & -current)
 >
 >
  >># pwd
  >>/usr/ports/www/apache21
  >># make
  >>make: no target to make.
  >>
  >># pwd
  >>/usr/ports/www/apache21/work
  >># make
  >>make: no target to make.
  >>
  >>(thanks for your suggestions!)
  >>
  >>Jeppe Uhd wrote:
  >>
  >>
   >>>Matthew Bailey wrote:
   >>>
   >>>
   >>>>Here is my attempt at re-installing apache.
   >>>>
   >>>>pwd
   >>>>/usr/ports/www/apache21/work/httpd-2.0.48
   >>>
   >>>
   >>>NO!
   >>>
   >>>Did you try the step-by-step i provided ?
   >>>
   >>>
   >>>
   >>>>make distclean
   >>>>./configure
   >>>>make WITH_SUEXEC=yes SUEXEC_DOCROOT=/usr/home
   >>>>make deinstall
   >>>>make: don't know how to make deinstall. Stop
   >>>>
   >>>>make uninstall
   >>>>make: don't know how to make uninstall. Stop
   >>>>
   >>>>make install
   >>>>ls /usr/local/libexec/apache2 | grep suexec
   >>>>
   >>>>mod_suexec.so still does not appear in the module files for
   >>>>apache...
   >>>>
   >>>>Is this because I am unable to deinstall apache? What am I missing
   >>>>here?
   >>>>
   >>>>Jeppe Uhd wrote:
   >>>>
   >>>>
   >>>>
   >>>>>Matthew Bailey wrote:
   >>>>>
   >>>>>
   >>>>>
   >>>>>>Ok, my confusion was not well stated.
   >>>>>>
   >>>>>>When you install apache from the ports collection you can
   >>>>>>configure it to install with suexec, however I did not do this.
   >>>>>>
   >>>>>>How do I add it to the install of Apache?
   >>>>>>
   >>>>>>I was going to just reistall (reinstalling is less desireable)
   >>>>>>apache...
   >>>>>
   >>>>>
   >>>>>Reinstalling is the way... It won't destroy any config files...
   >>>>>
   >>>>>
   >>>>>
   >>>>>
   >>>>>># cd /usr/ports/www/apache21/work/httpd-2.0.48/
   >>>>>># make deinstall
   >>>>>>make: don't know how to make deinstall. Stop
   >>>>>
   >>>>>
   >>>>>No, not when you are in the wrong directory
   >>>>>
   >>>>
   >>>>What is the right directory? This is the lowest level directory w/
   >>>>any config or makefiles...
   >>>>
   >>>>
   >>>>
   >>>>>>I see the suexec in the ports collection...
   >>>>>>
   >>>
   >>>/usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.c
   >>>
   >>>/usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.h
   >>>
   >>>
 >
 > /usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.la
 >
   >>>
 > /usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.lo
 >
   >>>/usr/ports/www/apache21/work/httpd-2.0.48/modules/generators/mod_suexec.o
   >>>
   >>>
   >>>>>work directory, don't meddle with it...
   >>>>>
   >>>>>
   >>>>>
   >>>>>
   >>>>>>I admit that I do not understand the ports collection well, and
   >>>>>>so I do not know exactly what to do... do I need a clean world
   >>>>>>first?
   >>>>>
   >>>>>
   >>>>>cd /usr/ports/www/apache2
   >>>>># read all about the options...
   >>>>>make show-options
   >>>>># read all about the modules...
   >>>>>make show-modules
   >>>>>
   >>>>># decide to clean up the mess...
   >>>>>make distclean
   >>>>>
   >>>>># and make the package again...
   >>>>>make WITH_SUEXEC=yes SUEXEC_DOCROOT=/home/www/something
   >>>>>
   >>>>>#uninstall the old package
   >>>>>make deinstall
   >>>>>
   >>>>># inclass the new one...
   >>>>>make install
   >>>>>
   >>>>>Ports rocks...
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: suexec 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
suexec and public cgi-bin - is there any configuration that will allow cgi scripts in a public cgi-bin to run with suexec. ie I have some scripts that I want to be available to all virtual hosts. With suexec, the script has to be owned by the virtual host user/group. For the..

help with apache suexec.log - [2004-06-07 03:51:21]: uid: (500/lwkstudi) gid: (500/500) cmd: module.cgi [2004-06-07 03:51:21]: command not in docroot (/home/lwkstudi/cb.lwkstudio.com/html/module.cgi) [2004-06-07 03:51:25]: uid: (500/lwkstudi) gid: (500/500) cmd: index.cgi [2004-06-07...

RLimitNPROC with suexec - Hi. What is the status of RLimitNPROC with suexec 1.3 -- looks like it still does not work? Regards, ASK

Problems with suExec and cgi-bin - I have downloaded and configured a program that creates a cgi script to allow my users to change their passwords over a web interface. I have verified that all dependencies are met and everything is configured correctly :) I tested the script by going....

Virtual Hosts and Suexec - Hi, I am successfully using mod_rewrite with an external vhost map file to configure virtual hosts with Apache 1.3.27 however I have now come to a stumbling block in trying to figure out how to setup suexec for each virtual host. As far as I can see,..
   Web Hosting and Web Master Forums (Home) -> Apache 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



[ Contact us | Terms of Service/Privacy Policy ]