alohamora

New RGW

May 30th, 2014
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.94 KB | None | 0 0
  1. FastCgiExternalServer /var/www/html/s3gw.fcgi -socket /var/run/ceph/ceph.radosgw.gateway.fastcgi.sock
  2.  
  3. <VirtualHost *:80>
  4.  
  5. ServerName pocfe1-ib.csc.fi
  6. ServerAlias *.pocfe1-ib.csc.fi
  7. ServerAdmin [email protected]
  8. DocumentRoot /var/www/html
  9. RewriteEngine On
  10. RewriteRule ^/(.*) /s3gw.fcgi?%{QUERY_STRING} [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
  11.  
  12. <IfModule mod_fastcgi.c>
  13. <Directory /var/www/html>
  14. Options +ExecCGI
  15. AllowOverride All
  16. SetHandler fastcgi-script
  17. Order allow,deny
  18. Allow from all
  19. AuthBasicAuthoritative Off
  20. </Directory>
  21. </IfModule>
  22.  
  23. AllowEncodedSlashes On
  24. ErrorLog /var/log/httpd/error.log
  25. CustomLog /var/log/httpd/access.log combined
  26. ServerSignature Off
  27.  
  28. </VirtualHost>
  29.  
  30.  
  31.  
  32.  
  33. [root@pocfe1-ib ~]# GET / 127.0.0.1:80
  34. <HTML>
  35. <HEAD>
  36. <TITLE>Directory /</TITLE>
  37. <BASE HREF="file:/">
  38. </HEAD>
  39. <BODY>
  40. <H1>Directory listing of /</H1>
  41. <UL>
  42. <LI><A HREF="./">./</A>
  43. <LI><A HREF="../">../</A>
  44. <LI><A HREF=".autofsck">.autofsck</A>
  45. <LI><A HREF=".autorelabel">.autorelabel</A>
  46. <LI><A HREF="bin/">bin/</A>
  47. <LI><A HREF="boot/">boot/</A>
  48. <LI><A HREF="ca.crt">ca.crt</A>
  49. <LI><A HREF="ca.csr">ca.csr</A>
  50. <LI><A HREF="ca.key">ca.key</A>
  51. <LI><A HREF="ceph/">ceph/</A>
  52. <LI><A HREF="ceph-playbook_karan_21_march_2014.tar">ceph-playbook_karan_21_march_2014.tar</A>
  53. <LI><A HREF="ceph.log">ceph.log</A>
  54. <LI><A HREF="cgroup/">cgroup/</A>
  55. <LI><A HREF="dev/">dev/</A>
  56. <LI><A HREF="epel-release-6-8.noarch.rpm">epel-release-6-8.noarch.rpm</A>
  57. <LI><A HREF="epel-release-6-8.noarch.rpm.1">epel-release-6-8.noarch.rpm.1</A>
  58. <LI><A HREF="etc/">etc/</A>
  59. <LI><A HREF="export/">export/</A>
  60. <LI><A HREF="home/">home/</A>
  61. <LI><A HREF="lib/">lib/</A>
  62. <LI><A HREF="lib64/">lib64/</A>
  63. <LI><A HREF="lost%2Bfound/">lost+found/</A>
  64. <LI><A HREF="media/">media/</A>
  65. <LI><A HREF="mnt/">mnt/</A>
  66. <LI><A HREF="mnt2/">mnt2/</A>
  67. <LI><A HREF="openstack-key.key">openstack-key.key</A>
  68. <LI><A HREF="openstack-key.key.pub">openstack-key.key.pub</A>
  69. <LI><A HREF="opt/">opt/</A>
  70. <LI><A HREF="proc/">proc/</A>
  71. <LI><A HREF="raid10/">raid10/</A>
  72. <LI><A HREF="raid5/">raid5/</A>
  73. <LI><A HREF="root/">root/</A>
  74. <LI><A HREF="sbin/">sbin/</A>
  75. <LI><A HREF="selinux/">selinux/</A>
  76. <LI><A HREF="srv/">srv/</A>
  77. <LI><A HREF="sys/">sys/</A>
  78. <LI><A HREF="tmp/">tmp/</A>
  79. <LI><A HREF="usr/">usr/</A>
  80. <LI><A HREF="var/">var/</A>
  81. <LI><A HREF="vm2/">vm2/</A>
  82. </UL>
  83. </BODY>
  84. </HTML>
  85. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  86. <html><head>
  87. <title>500 Internal Server Error</title>
  88. </head><body>
  89. <h1>Internal Server Error</h1>
  90. <p>The server encountered an internal error or
  91. misconfiguration and was unable to complete
  92. your request.</p>
  93. <p>Please contact the server administrator,
  94. [email protected] and inform them of the time the error occurred,
  95. and anything you might have done that may have
  96. caused the error.</p>
  97. <p>More information about this error may be available
  98. in the server error log.</p>
  99. </body></html>
  100. [root@pocfe1-ib ~]#
Advertisement
Add Comment
Please, Sign In to add comment