Re: nastavenie localhost, Mozilla nekomunikuje

From: Ing. Vlastimil Pospíchal (vpospichal@tiscali.cz)
Date: 26. 02. 2003, 10:51 CET

  • Next message: S.F.: "Re: nastavenie localhost, Mozilla nekomunikuje"
    On Wed, Feb 26, 2003 at 07:00:47AM +0100, S.F. wrote:
    > Prepac, ze pytam na take primitivnosti, ale ktore polozky mam nastavit v
    > /etc/httpd/httpd.conf
    > a com mam robit potom ?
    > Staci obycajne save, alebo je treba este nejaku prekonfiguraciu.
    > Su tam dve, ktore sa mi zdaju vhodne - ServerRoot a DocumentRoot ale neviem
    > ci obidve, alebo len jednu a ktoru a ci vobec tie ...
    > S.F.
    
    Nechci Ti to dávat moc polopatě, abys měl prostor pro vlastní studium.
    Doslova je tam napsáno:
    
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    ServerRoot "/usr/local/httpd"
    
    Tedy místo, kam si bude server ukládat konfiguraci, chyby a logy.
    
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "/usr/local/httpd/htdocs"
    
    Zde je kořenový adresář pro dokumenty HTML.
    
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "/usr/local/httpd/htdocs">
    
    ...a tady také.
    
    Pokud chceš od svého Apache trochu víc, než jen vyzkoušení několika
    vlastních www stránek, kup si knihu "Apache & PHP/FI". Kromě toho není
    špatné občas trochu zaměstnat http://www.google.com
    
    Po změně /etc/httpd/httpd.conf je potřeba (v SuSE) spustit
    
      rcapache reload
    
    Kit
    -- 
    Ing. Vlastimil Pospíchal
    http://www.hoteldrnholec.cz
    

  • Next message: S.F.: "Re: nastavenie localhost, Mozilla nekomunikuje"

    This archive was generated by hypermail 2.1.6 : 26. 02. 2003, 11:36 CET