[Setup] This should be an easy one (but not for me)!

wiedhas72 nickghall at gmail.com
Mon Jun 30 22:46:21 UTC 2014


test.net:

UseCanonicalName On

NameVirtualHost 10.0.1.4
<VirtualHost 10.0.1.4>
    ServerAlias test.net
    ServerSignature On

    Header set X-Frame-Options "SAMEORIGIN"
    Header set Strict-Transport-Security "max-age=15768000;
includeSubDomains"
    Header set X-XSS-Protection "1; mode=block"
    Header set X-Content-Type-Options "nosniff"
    Header set Content-Security-Policy-Report-Only "default-src 'self';
img-src *; style-src 'unsafe-inline'; script-src 'unsafe-inline'
'unsafe-eval'"

    ProxyVia On

    # prevent your web server from being used as global HTTP proxy
    <LocationMatch "^[^/]">
      Deny from all
    </LocationMatch>

    <Proxy *>
        Order deny,allow
        Allow from all
    </Proxy>

    RewriteEngine on
    RewriteRule ^/(.*)
http://localhost:8080/VirtualHostBase/http/example.com:8082/test.net/VirtualHostRoot/$1
[P,L]

</VirtualHost>

<VirtualHost *>
    ServerAlias   *
    ServerRoot    /var/www
    ServerSignature On
</VirtualHost>

Thanks for your help eehmke!



--
View this message in context: http://plone.293351.n2.nabble.com/This-should-be-an-easy-one-but-not-for-me-tp7571841p7571848.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.


More information about the Setup mailing list