Mailing List Archive

Support open source code!


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

Re: tlug: Start and stop Apache on TL2.0



On Wed, 12 Aug 1998, Manuel M. T. Chakravarty wrote:

> Shigeo Honda <shige@example.com> wrote,
> 
> shige> After I added some MIME types to /etc/mime.types, I tried to restart
> shige> Apache on TL2.0J from remote telnet as super user mode. I typed as in
> shige> manual.
> shige> 
> shige>  kill 'cat /usr/local/etc/httpd/logs/httpd.pid'
> shige> 
> shige> then I got 'No such pid ....' message.
> shige> 
> shige> Where is http.pid on TL2.0J and how to stop and start again Apache? 
> shige> Please let me know.
> 
> How about 
> 
>   /etc/rc.d/init/httpd stop
> 
> or in your case 
> 
>     /etc/rc.d/init/httpd restart
> 
> That is more elegant, I guess.
> 
> BTW, http.pid is in
> 
>   /var/run/httpd.pid
> 
> (You can easily find such files by doing a `locate <filename>'.)

While you're at it, go to ftp.pht.com:/pub/turbolinux-2.0-updates/i386 and
get the latest apache-1.3.1 package, which fixes the 'sioux' DoS attack
bug.  And, add:

CheckSpelling on

to your httpd.conf file and then you can make typos in URLs on your
server, and the server will automatically fix them and redirect you to the
right URL (strange that someone would have thought to make this an apache
module, but.. it's kind of neat :) ).

BTW, which distribution puts apache's pidfile in /usr/local/etc/httpd/logs
??  or is that the apache default when you build from a clean source tree?

--------------------------------------------------
Scott M. Stone <sstone@example.com, sstone@example.com>
               <sstone@example.com>
Head of TurboLinux Development/Systems Administrator
Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan)
http://www.pht.com		http://armadillo.pht.co.jp
http://www.pht.co.jp	        http://www.turbolinux.com


--------------------------------------------------------------
Next Nomikai: 18 September, 19:30 Tengu TokyoEkiMae 03-3275-3691
Next Meeting: 10 October, Tokyo Station Yaesu central gate 12:30
--------------------------------------------------------------
Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links