Guest User

Untitled

a guest
Dec 16th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. <VirtualHost *:80>
  2. DirectoryIndex index.html index.php
  3.  
  4. RewriteEngine on
  5. RewriteCond %{DOCUMENT_ROOT}/$1 -f [OR]
  6. RewriteCond %{DOCUMENT_ROOT}/$1 -d
  7. RewriteRule (.*) - [END]
  8. # Else proxy
  9. RewriteRule ^/(.*)$ http://127.0.0.1:60000/$1 [P,QSA]
  10. ProxyPassReverse / http://127.0.0.1:60000/
  11. ProxyPreserveHost On
  12. </VirtualHost>
Add Comment
Please, Sign In to add comment