Mainos / Advertisement:

Translations:Apache2/47/en

Kohteesta Taisto
Versio hetkellä 28. tammikuuta 2015 kello 20.59 – tehnyt Frans (keskustelu | muokkaukset) (Ak: Uusi sivu: <VirtualHost *:80> #*.80 = Responds to all IP-addresses in port 80 ServerAdmin webmaster@localhost #E-mail address of the server administr...)
(ero) ← Vanhempi versio | Nykyinen versio (ero) | Uudempi versio → (ero)
Siirry navigaatioon Siirry hakuun

<VirtualHost *:80> #*.80 = Responds to all IP-addresses in port 80

       ServerAdmin webmaster@localhost        #E-mail address of the server administrator
       ServerName example.com                 #Server name or network address (You can use IPv4- and IPv6-addresses)
       ServerAlias www.example.com            #Sub domain, you can have several of these (You can use IPv4- and IPv6-addresses)
       DocumentRoot /var/www                  #Main directory where the webpages are located
       <Directory />
               Options FollowSymLinks
               AllowOverride None             #Allows overriding the configurations (.htaccess) in the root directory (not recommended)
       </Directory>
       <Directory /var/www/>
               Options Indexes FollowSymLinks MultiViews
               AllowOverride None             #Allows overriding the configurations (.htaccess)
               Order allow,deny               #Allow, deny others
               allow from all                 #Allow everything to form in your web page
       </Directory>
</VirtualHost>
Mainos / Advertisement: