Created
April 27, 2015 08:28
-
-
Save gergelypolonkai/47680bfa44eb29708f20 to your computer and use it in GitHub Desktop.
Redirect only non-existing files with Apache
This file contains 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
RewriteEngine on | |
RewriteRule ^/$ http://172.16.72.131:8080/ [QSA,L,P] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^/(.*) http://172.16.72.131:8080/$1 [QSA,L,P] | |
Order allow,deny | |
Allow from all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment