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 />

# files, so this will protect those as well.<br />

#<br />

<br />

<br />

#<br />

Or<strong>de</strong>r allow,<strong>de</strong>ny<br />

Deny from all<br />

# CacheNegotiatedDocs: By <strong>de</strong>fault, Apache sends "Pragma: no-cache"<br />

with each<br />

# document that was negotiated on the basis of content. This asks<br />

proxy<br />

# servers not to cache the document. Uncommenting the following line<br />

disables<br />

# this behavior, and proxies will be allowed to cache the documents.<br />

#<br />

#CacheNegotiatedDocs<br />

#<br />

# UseCanonicalName: (new for 1.3) With this setting turned on,<br />

whenever<br />

# Apache needs to construct a self-referencing URL (a URL that refers<br />

back<br />

# to the server the response is coming from) it will use ServerName<br />

and<br />

# Port to form a "canonical" name. With this setting off, Apache<br />

will<br />

# use the hostname:port that the client supplied, when possible.<br />

This<br />

# also affects SERVER_NAME and SERVER_PORT in CGI scripts.<br />

#<br />

UseCanonicalName On<br />

#<br />

# TypesConfig <strong>de</strong>scribes where the mime.types file (or equivalent) is<br />

# to be found.<br />

#<br />

<br />

TypesConfig /usr/local/apache/conf/mime.types<br />

<br />

101

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

Saved successfully!

Ooh no, something went wrong!