Advertisement
Guest User

Untitled

a guest
Mar 30th, 2015
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. LoadModule proxy_module modules/mod_proxy.so
  2. LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
  3. LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
  4. LoadModule proxy_http_module modules/mod_proxy_http.so
  5. LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
  6. LoadModule proxy_connect_module modules/mod_proxy_connect.so
  7.  
  8. RewriteEngine on
  9.  
  10. RewriteCond %{HTTP_HOST} ^somesite.gov.ar$ [OR]
  11. RewriteCond %{HTTP_HOST} ^www.somesite.gov.ar$ [OR]
  12. RewriteCond %{HTTP_HOST} ^somesite.gob.ar$
  13. RewriteRule (.*) http://www.somesite.gob.ar$1 [R=301,L]
  14.  
  15. ProxyRequests On
  16.  
  17. ProxyPass / http://xxx.xxx.xxx.xxx/
  18. ProxyPassReverse / http://xxx.xxx.xxx.xxx/
  19.  
  20. Server version: Apache/2.4.6 (CentOS)
  21. Server built: Jan 12 2015 13:22:31
  22. Server's Module Magic Number: 20120211:23
  23. Server loaded: APR 1.4.8, APR-UTIL 1.5.2
  24. Compiled using: APR 1.4.8, APR-UTIL 1.5.2
  25. Architecture: 64-bit
  26. Server MPM: prefork
  27. threaded: no
  28. forked: yes (variable process count)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement