Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2000071

RE: [PHP] webserver restart, From: Jason (jasonc <email protected>)
Date: 07/05/00

You could use the C solution but then the executable could be run by anyone
on the server and that wouldn't be a good thing. Why exactly would you want
to restart the webserver from the web?

jason

> -----Original Message-----
> From: Ken N [mailto:kenn <email protected>]
> Sent: Wednesday, July 05, 2000 9:09 AM
> To: Jason
> Cc: php-general <email protected>
> Subject: RE: [PHP] webserver restart,
>
>
> No, I want to restart from the script. and the script runs as the user the
> webserver runs as, see what I mean.
>
> Thanks
> Ken N
>
> http://cleveland.lug.net/~rocket/
>
> The answer is simple if you grant that ironies are like submarines;
> dangerous only when submerged.
>
>
> On Wed, 5 Jul 2000, Jason wrote:
>
> > Are you restarting the webserver from the command line? Try
> > /path/to/apache/bin/apachectl restart.
> >
> > Jason
> >
> > > -----Original Message-----
> > > From: Ken N [mailto:kenn <email protected>]
> > > Sent: Wednesday, July 05, 2000 8:47 AM
> > > To: php-general <email protected>
> > > Subject: [PHP] webserver restart,
> > >
> > >
> > > Does anyone know how to restart a web server after I make
> changes to the
> > > httpd.conf file? I have heard that you can write a shell
> script and then
> > > make a little C program that calls it and have the C program
> run setuid. I
> > > I was wondering if there is a better way and if there isn't is this
> > > insecure?
> > >
> > > Thanks
> > > Ken
> > >
> > > http://cleveland.lug.net/~rocket/
> > >
> > > The answer is simple if you grant that ironies are like submarines;
> > > dangerous only when submerged.
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> > > For additional commands, e-mail: php-general-help <email protected>
> > > To contact the list administrators, e-mail:
> php-list-admin <email protected>
> > >
> > >
> >
> >
> > _______________________________________________________
> > Site Design, Hosting, and E-Commerce at www.webpipe.net
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
>

_______________________________________________________
Site Design, Hosting, and E-Commerce at www.webpipe.net

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>