Created
December 5, 2013 11:48
-
-
Save paivaric/7804036 to your computer and use it in GitHub Desktop.
Apache configuration to disable cache and rewrite url to other domain/server like tomcat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<FilesMatch "\.*$"> | |
ExpiresActive On | |
ExpiresDefault A1 | |
Header append Cache-Control must-revalidate | |
</FilesMatch> | |
RewriteEngine On | |
# RewriteCond %{HTTP_HOST} !^$ | |
RewriteRule ^/rest/(.*)$ http://localhost:8080/doccon-view/rest/$1 [R,L] # Temporary Move |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment