VirtualHosts w WAMP

20-09-2022 pitasato@gmail.com Programowanie

Lokalizacja:

C:\wamp\bin\apache\apache2.4.37\conf\extra

Plik:

httpd-vhosts.conf

# Virtual Hosts
#

    ServerName localhost
    ServerAlias localhost
    DocumentRoot "${INSTALL_DIR}/www/erp/"
   
   &nb

# Virtual Hosts
#
<VirtualHost *:80>
    ServerName localhost
    ServerAlias localhost
    DocumentRoot "${INSTALL_DIR}/www/erp/"
    <Directory  "${INSTALL_DIR}/www/erp/">
        Options +Indexes +Includes +FollowSymLinks +MultiViews
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>

<VirtualHost *:80>
  ServerName pos
  ServerAlias pos
  DocumentRoot "${INSTALL_DIR}/www/pos/"
  <Directory "${INSTALL_DIR}/www/pos/">
    Options +Indexes +Includes +FollowSymLinks +MultiViews
      AllowOverride all
    Require all granted
  </Directory>
</VirtualHost>

<VirtualHost *:80>
  ServerName sprawdzarka
  ServerAlias sprawdzarka
  DocumentRoot "${INSTALL_DIR}/www/sprawdzarka/"
  <Directory "${INSTALL_DIR}/www/sprawdzarka/">
    Options +Indexes +Includes +FollowSymLinks +MultiViews
      AllowOverride all
    Require all granted
  </Directory>
</VirtualHost>

<VirtualHost *:80>
  ServerName synchro_xt
  ServerAlias synchro_xt
  DocumentRoot "${INSTALL_DIR}/www/synchro/"
  <Directory "${INSTALL_DIR}/www/synchro/">
    Options +Indexes +Includes +FollowSymLinks +MultiViews
      AllowOverride all
    Require all granted
  </Directory>
</VirtualHost>

<VirtualHost *:80>
  ServerName erp50c
  ServerAlias erp50c
  DocumentRoot "${INSTALL_DIR}/www/erp50c/"
  <Directory "${INSTALL_DIR}/www/erp50c/">
    Options +Indexes +Includes +FollowSymLinks +MultiViews
      AllowOverride all
    Require all granted
  </Directory>
</VirtualHost>

<VirtualHost *:80>
  ServerName synchro_xt
  ServerAlias synchro_xt
  DocumentRoot "${INSTALL_DIR}/www/synchro/"
  <Directory "${INSTALL_DIR}/www/synchro/">
    Options +Indexes +Includes +FollowSymLinks +MultiViews
      AllowOverride all
    Require all granted
  </Directory>
</VirtualHost>

<VirtualHost *:80>
  ServerName erpbartex
  ServerAlias erpbartex
  DocumentRoot "${INSTALL_DIR}/www/erpbartex/"
  <Directory "${INSTALL_DIR}/www/erpbartex/">
    Options +Indexes +Includes +FollowSymLinks +MultiViews
      AllowOverride all
    Require all granted
  </Directory>
</VirtualHost>