[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache restart



timothy bauscher, Fri, Mar 15, 2002 at 05:23:54PM -0500: 
> Strange apache behavior:
> 
> I modified the DirectoryIndex variable to
> include index.php and index.cgi.
> 
> Then i entered "apache restart" at the command
> line. It seemed to restart, but the change didn't
> take affect. I also tried using "apache stop;
> apache start". I ended up having to reboot the
> server for this simple change to take affect.
> 


You want to use 'apachectl', not 'apache', i.e.:

apachectl (start|stop|restart|graceful)

or 

/etc/init.d/apache (start|stop|restart)


g




-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown

Attachment: pgpXzDOeaCzU7.pgp
Description: PGP signature


Reply to: