python-redfish/dmtf/mockup_1.1.0/httpd-vhosts.conf
Uggla 6840cc878f Add a new mechanism to create a container running simulator 1.1.0
- Move previous simulator files into mockup_0.99.0a directory.
- Cleanup, adapt mockup_0.99.0a files.
- Add mockup_1.1.0 directory to host the new simulator files.

Note :
- First redfish-client tests against this new mockup work well.
- Of course, this is a first commit so it could be refined.

Change-Id: I88ac480e5b303922be5ec37e1a14a91f68d0bd92
2017-03-08 01:50:50 +00:00

87 lines
3.2 KiB
Plaintext

# Virtual Hosts
#
# Required modules: mod_log_config
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.4/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
<VirtualHost *:8001>
DocumentRoot "/usr/local/apache2/htdocs/DSP2043_1.1.0/public-bladed"
Alias "/redfish/v1" "/usr/local/apache2/htdocs/DSP2043_1.1.0/public-bladed"
<Directory /usr/local/apache2/htdocs/DSP2043_1.1.0/public-bladed>
Require all granted
</Directory>
Options Indexes FollowSymLinks
ErrorLog "logs/8001-error_log"
CustomLog "logs/8001-access_log" common
</VirtualHost>
<VirtualHost *:8002>
DocumentRoot "/usr/local/apache2/htdocs/DSP2043_1.1.0/public-catfish"
Alias "/redfish/v1" "/usr/local/apache2/htdocs/DSP2043_1.1.0/public-catfish"
<Directory /usr/local/apache2/htdocs/DSP2043_1.1.0/public-catfish>
Require all granted
</Directory>
Options Indexes FollowSymLinks
ErrorLog "logs/8002-error_log"
CustomLog "logs/8002-access_log" common
</VirtualHost>
<VirtualHost *:8003>
DocumentRoot "/usr/local/apache2/htdocs/DSP2043_1.1.0/public-localstorage"
Alias "/redfish/v1" "/usr/local/apache2/htdocs/DSP2043_1.1.0/public-localstorage"
<Directory /usr/local/apache2/htdocs/DSP2043_1.1.0/public-localstorage>
Require all granted
</Directory>
Options Indexes FollowSymLinks
ErrorLog "logs/8003-error_log"
CustomLog "logs/8003-access_log" common
</VirtualHost>
<VirtualHost *:8004>
DocumentRoot "/usr/local/apache2/htdocs/DSP2043_1.1.0/public-rackmount1"
Alias "/redfish/v1" "/usr/local/apache2/htdocs/DSP2043_1.1.0/public-rackmount1"
<Directory /usr/local/apache2/htdocs/DSP2043_1.1.0/public-rackmount1>
Require all granted
</Directory>
Options Indexes FollowSymLinks
ErrorLog "logs/8004-error_log"
CustomLog "logs/8004-access_log" common
</VirtualHost>
<VirtualHost *:8005>
DocumentRoot "/usr/local/apache2/htdocs/DSP2043_1.1.0/public-sasfabric"
Alias "/redfish/v1" "/usr/local/apache2/htdocs/DSP2043_1.1.0/public-sasfabric"
<Directory /usr/local/apache2/htdocs/DSP2043_1.1.0/public-sasfabric>
Require all granted
</Directory>
Options Indexes FollowSymLinks
ErrorLog "logs/8005-error_log"
CustomLog "logs/8005-access_log" common
</VirtualHost>
<VirtualHost *:8006>
DocumentRoot "/usr/local/apache2/htdocs/DSP2043_1.1.0"
<Directory /usr/local/apache2/htdocs/DSP2043_1.1.0>
Require all granted
</Directory>
Options Indexes FollowSymLinks
ErrorLog "logs/8006-error_log"
CustomLog "logs/8006-access_log" common
</VirtualHost>