daily pastebin goal
38%
SHARE
TWEET

Untitled

a guest Dec 9th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <VirtualHost  *:80>
  2. ServerName mainweb.example.com
  3. ServerAlias www.mainweb.example.com
  4.  
  5. RewriteEngine on
  6. ProxyRequests Off
  7.  
  8. <Proxy *>
  9. Order deny,allow
  10. Allow from all
  11. </Proxy>
  12.  
  13.  Options +FollowSymLinks
  14.  
  15.  ProxyPreserveHost on
  16.  ProxyPass /mainweb  http://192.168.1.10/mainweb
  17.  ProxyPassReverse /mainweb  http://192.168.1.10/mainweb
  18.  
  19. RewriteRule ^/(.*)$ /mainweb/$1 [L,PT]
  20. RewriteCond %{REQUEST_FILENAME} !-f
  21. RewriteCond %{REQUEST_FILENAME} !-d
  22. RewriteRule ^(.*)$ /mainweb/?$1 [L]
  23.  
  24. </virtualhost>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top