18.04.2013 Views

Dissertaç ˜ao de Mestrado Mestrado em Engenharia Informática Jo ...

Dissertaç ˜ao de Mestrado Mestrado em Engenharia Informática Jo ...

Dissertaç ˜ao de Mestrado Mestrado em Engenharia Informática Jo ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

B. APPENDIX - EVALUATION B.2. Apache Configuration File<br />

# machine you can setup VirtualHost containers for th<strong>em</strong>. Most<br />

configurations<br />

# use only name-based virtual hosts so the server doesn’t need to<br />

worry about<br />

# IP addresses. This is indicated by the asterisks in the directives<br />

#<br />

below.<br />

# Please see the documentation at <br />

# for further <strong>de</strong>tails before you try to setup virtual hosts.<br />

#<br />

# You may use the command line option ’-S’ to verify your virtual<br />

host<br />

# configuration.<br />

#<br />

# Use name-based virtual hosting.<br />

#<br />

#NameVirtualHost *<br />

NameVirtualHost 192.168.0.100:80<br />

#<br />

# VirtualHost example:<br />

# Almost any Apache directive may go into a VirtualHost container.<br />

# The first VirtualHost section is used for requests without a known<br />

# server name.<br />

#<br />

#<br />

# ServerAdmin webmaster@dummy-host.example.com<br />

# DocumentRoot /www/docs/dummy-host.example.com<br />

# ServerName dummy-host.example.com<br />

# ErrorLog logs/dummy-host.example.com-error_log<br />

# CustomLog logs/dummy-host.example.com-access_log common<br />

#<br />

<br />

ServerAdmin webmaster@domain1.com<br />

DocumentRoot /var/www/html/domain1.com<br />

ServerName www.domain1.com<br />

118

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!