Advertisement
Guest User

openstacherr02

a guest
Apr 3rd, 2014
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 KB | None | 0 0
  1. [root@openw-rebound ~]# cat /etc/httpd/conf.d/openstack.conf
  2. <Virtualhost *:8001>
  3. ServerName 172.16.240.158:8001
  4. ProxyRequests On
  5. ProxyVia On
  6. ProxyPass / http://192.168.194.3/
  7. ProxyPassReverse / http://192.168.194.3/
  8. </VirtualHost>
  9.  
  10. <Virtualhost *:8002>
  11. ServerName 172.16.240.158:8002
  12. ProxyRequests On
  13. ProxyVia On
  14. ProxyPass / http://192.168.194.5/
  15. ProxyPassReverse / http://192.168.194.5/
  16. </VirtualHost>
  17.  
  18. <Virtualhost *:8003>
  19. ServerName 172.16.240.158:8003
  20. ProxyRequests On
  21. ProxyVia On
  22. ProxyPass / http://192.168.194.7/
  23. ProxyPassReverse / http://192.168.194.7/
  24. </VirtualHost>
  25.  
  26. [root@openw-rebound ~]# telnet 192.168.194.3 80
  27. Trying 192.168.194.3...
  28. Connected to 192.168.194.3.
  29. Escape character is '^]'.
  30. GET /
  31. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  32. <html><head>
  33. <title>301 Moved Permanently</title>
  34. </head><body>
  35. <h1>Moved Permanently</h1>
  36. <p>The document has moved <a href="http://192.168.10.2/horizon/">here</a>.</p>
  37. <hr>
  38. <address>Apache/2.2.22 (Ubuntu) Server at 192.168.10.2 Port 80</address>
  39. </body></html>
  40. Connection closed by foreign host.
  41. [root@openw-rebound ~]#
  42. [root@openw-rebound ~]#
  43. [root@openw-rebound ~]# telnet 192.168.194.5 80
  44. Trying 192.168.194.5...
  45. Connected to 192.168.194.5.
  46. Escape character is '^]'.
  47. GET /
  48. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  49. <html><head>
  50. <title>301 Moved Permanently</title>
  51. </head><body>
  52. <h1>Moved Permanently</h1>
  53. <p>The document has moved <a href="http://192.168.10.66/horizon/">here</a>.</p>
  54. <hr>
  55. <address>Apache/2.2.22 (Ubuntu) Server at 192.168.10.66 Port 80</address>
  56. </body></html>
  57. Connection closed by foreign host.
  58. [root@openw-rebound ~]#
  59. [root@openw-rebound ~]# telnet 192.168.194.7 80
  60. Trying 192.168.194.7...
  61. Connected to 192.168.194.7.
  62. Escape character is '^]'.
  63. GET /
  64. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  65. <html><head>
  66. <title>301 Moved Permanently</title>
  67. </head><body>
  68. <h1>Moved Permanently</h1>
  69. <p>The document has moved <a href="http://192.168.10.130/horizon/">here</a>.</p>
  70. <hr>
  71. <address>Apache/2.2.22 (Ubuntu) Server at 192.168.10.130 Port 80</address>
  72. </body></html>
  73. Connection closed by foreign host.
  74. [root@openw-rebound ~]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement