Apache2Triad Help, Support and Development Forum Index Apache2Triad Help, Support and Development
The apache2triad help , support and development forums
 

Request: Feature RESTART APACHE
Click here to go to the original topic

 
       Apache2Triad Help, Support and Development Forum Index -> Apache2TriadCP
View previous topic :: View next topic  
Author Message
Sphynx



Joined: 10 Mar 2005
Posts: 1
Location: Antwerpen, Belgium

Posted: Thu Mar 10, 2005 8:48 am    Post subject: Request: Feature RESTART APACHE  

Is it possible to include a function in Apache2triadCP that RESTARTS the apache server, cause if I stop the apache server from distance, I don't have access anymore (duh :lol: )
Back to top  
LiquidSnake



Joined: 23 May 2004
Posts: 267
Location: Middlesboro, KY

Posted: Thu Mar 10, 2005 11:42 am    Post subject:  

The only way to restart is using Apache Monitor. The control panel uses NET START and NET STOP commands, there is no NET RESTART.


For remote restarting try remote desktop connections.
Back to top  
Twirp



Joined: 07 May 2005
Posts: 14
Location: Md

Posted: Sun May 08, 2005 7:55 pm    Post subject:  

Sorry to revive/bump old topics, but I had a thought...
I think in Apache 1.3 or somthing like that, it created 3 shortcuts to start, stop, and restart the server,
and it was like
"C:/apache/apache.exe -comand"
does that work with Apache 2?...
and if so, does anyone remember the commands?
becuase you could probaly do a remote restart with php by doing something like:
Code:
<?php
exec ( "C:\apache\apache.exe -command" );

or something like that?...
Just a thought...
Back to top  
LiquidSnake



Joined: 23 May 2004
Posts: 267
Location: Middlesboro, KY

Posted: Sun May 08, 2005 8:25 pm    Post subject:  

The restart feature has been added.
Back to top  
Twirp



Joined: 07 May 2005
Posts: 14
Location: Md

Posted: Sun May 08, 2005 8:36 pm    Post subject:  

LiquidSnake wrote: The restart feature has been added.
It doesn't work when I click it... :cry:

(no errors are given, it just timesout)
Back to top  
aolex



Joined: 01 Oct 2005
Posts: 2
Location: NL

Posted: Sat Oct 01, 2005 11:44 am    Post subject:  

C:\$apache_dir\apache -k restart
easy , fast and no downtime :)
Back to top  
 
       Apache2Triad Help, Support and Development Forum Index -> Apache2TriadCP
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.13 © 2001, 2002 phpBB Group