User Tools

Site Tools


tech2018:s1:setup_vhost

TECH2018/S1/Virtual host configuration

APACHE

You need to create a virtual host.

<VirtualHost demo.wmanager.org:80>
    ServerAdmin webmaster@partnertecnologico.it
    DocumentRoot /var/www/wmanager/demo.wmanager.org/
    ServerName demo.wmanager.org
    ServerAlias demo.wmanager.org
    ErrorLog /var/log/httpd/demo.wmanager.org-error_log
    CustomLog /var/log/httpd/demo.wmanager.org-access_log common
    #SetEnv FLOW_CONTEXT Production
   <Location />
      Options FollowSymLinks
#        AddDefaultCharset ISO-8859-1

    </Location>
</VirtualHost>

<Directory "/var/www/wmanager/demo.wmanager.org/">
#Options -Indexes +MultiViews +FollowSymLinks
    #AllowOverride Options AuthConfig Indexes FileInfo
AllowOverride AuthConfig FileInfo Indexes Limit Options=All,MultiViews
    Order allow,deny
    Allow from all
  SetEnv APPLICATION_ENVIRONMENT development
</Directory>

Back to installation page

tech2018/s1/setup_vhost.txt · Last modified: 2018/06/05 09:37 by Gianluca Pelliccioli