Keresés

Aktív témák

  • salazol

    őstag

    válasz #57764352 #20 üzenetére

    <VirtualHost *>
    ServerName aldomain.domain
    DocumentRoot C:/Weboldalaim/aldomain
    </VirtualHost>

    Nálam ilyen jelleggel 12 aldomain működik.
    Ez windows alatt futó apache.
    Szeintem ne használd a localhost nevet, adj valamit neki, mert nem tudom, hogy reagál az
    aldomain.localhost-ra.


    Egy-két részlet az én httpd.conf fájlomból:
    ServerAdmin webmaster@sala.dyndns.org
    ServerName sala.dyndns.org:80
    DocumentRoot ''C:/Webpages''
    <VirtualHost *>
    ServerName www.sala.dyndns.org
    DocumentRoot C:/Webpages
    </Virtualhost>
    <VirtualHost *>
    ServerName download.sala.dyndns.org
    DocumentRoot C:/Webpages/download
    </VirtualHost>
    <Directory C:/Webpages/download>
    Options +Indexes
    AllowOverride AuthConfig
    </Directory>

Aktív témák