Kirjoittaja Aihe: Apachen portista?  (Luettu 1300 kertaa)

trevori

  • Käyttäjä
  • Viestejä: 147
    • Profiili
Apachen portista?
« : 07.09.09 - klo:16.09 »
Muutin ports.confin sisältöä seuraavasti.

NameVirtualHost *:80
Listen 8080

Nyt pitäisi varmaan toimia jos laittaa osoitteeksi http://localhost:8080/ mutta ei vaan saa yhteyttä. miten pitää muuttaa että kuuntelee porttia 8080+

Kullervo

  • Käyttäjä
  • Viestejä: 875
    • Profiili
Vs: Apachen portista?
« Vastaus #1 : 07.09.09 - klo:16.31 »
NEWS.Debian kertoo:
Lainaus
apache2 (2.2.9-3) unstable; urgency=low

  * The directive "NameVirtualHost *" has been changed to "NameVirtualHost
    *:80". It has also been moved from sites-available/default to ports.conf.
    This allows to ship a proper SSL default virtual host config in
    sites-available/default-ssl, but it means that if you use several name
    based virtual hosts:
   
    - you will have to change <VirtualHost *> to <VirtualHost *:80> in your
      name based virtual hosts

    - you need to add more NameVirtualHost directives if you use other ports
      than 80 with name based virtual hosts. You may also have to add these
      ports to the default virtual host in /etc/apache2/sites-available/default
      (like this: "<VirtualHost *:80 *:81>").
   
    If you prefer to revert to the old setup instead (and don't need the
    default-ssl host), just change "NameVirtualHost *:80" back to
    "NameVirtualHost *" in ports.conf and "<VirtualHost *:80>" to
    "<VirtualHost *>" in sites-available/default.

  * For mod_disk_cache, caching is again disabled in disk_cache.conf by
    default. It usually makes more sense to enable this on a per-virtual host
    basis.

 -- Stefan Fritsch <sf@debian.org>  Mon, 30 Jun 2008 19:47:52 +0200

Lisäys: /usr/share/doc/apache2/ hakemistosta löytyy tuo NEWS.Debian tiedosto.
« Viimeksi muokattu: 07.09.09 - klo:17.01 kirjoittanut Kullervo »