|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
is it possible to restart apache from asp?
the asp, of course, is running on the apache. it seems impossible to me, but.....of course, that is exactly what i am supposed to do. my asp script edits the config files, and i want the changes to take place immediately after i edit the files. please don't laugh at me if this is a stupid question.... ![]() |
|
#2
|
||||
|
||||
|
UhO!
Hey codegirl, sorry to say it but Im pretty sure it is impossible, because ASP is serverside it needs to have a server to run under, if you shut down the server, then you stop the script, or at least thats the way I see it. Although maybe you could write a perl/Python/VB etc. program that you could execute using ASP which shuts down Apache and restarts it?
Anyway just an idea, Mark |
|
#3
|
|||
|
|||
|
arrrrr
yeah, it is impossible i've realised. i was just naively hoping that there was some funky way to do it.
i will try to do it by writing an exe. as you suggested.... ![]() |
|
#4
|
|||
|
|||
|
You should take a look at doing it on microsofts IIS
I'm not sure what you can and can't do, but you can do quite a lot in the way of webserver management all through asp. I know some people have no choice of webserver because of various reasons, but if you can or may be able to swap take a look. You can manage websites, create winnt users and lots of funky stull all through asp. take a look you may even get som ideas http://msdn.microsoft.com/library/d...DSIProvider.asp
__________________
-- ngibsonau |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > restart apache with asp |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|