Skip to content

Instantly share code, notes, and snippets.

@raa0121
Created October 4, 2012 22:15
Show Gist options
  • Save raa0121/3836812 to your computer and use it in GitHub Desktop.
Save raa0121/3836812 to your computer and use it in GitHub Desktop.
diff --git a/httpd.conf b/httpd.conf
index a1370d7..883ed35 100644
--- a/httpd.conf
+++ b/httpd.conf
@@ -161,4 +161,6 @@ Include /etc/apache2/modules.d/*.conf
# APACHE2_OPTS in /etc/conf.d/apache2).
Include /etc/apache2/vhosts.d/*.conf
+#Include /etc/apache2/proxy.d/*.conf
+
# vim: ts=4 filetype=apache
diff --git a/modules.d/00_mod_userdir.conf b/modules.d/00_mod_userdir.conf
index e2c17a9..8a5e720 100644
--- a/modules.d/00_mod_userdir.conf
+++ b/modules.d/00_mod_userdir.conf
@@ -26,7 +26,7 @@ UserDir public_html
<Directory /home/*/public_html/cgi-bin>
Options ExecCGI
SetHandler cgi-script
- DirectoryIndex index.cgi
+ DirectoryIndex index.cgi
</Directory>
</IfDefine>
diff --git a/proxy.d/00_default_proxy.conf b/proxy.d/00_default_proxy.conf
new file mode 100644
index 0000000..d1edb1e
--- /dev/null
+++ b/proxy.d/00_default_proxy.conf
@@ -0,0 +1,8 @@
+#ProxyRequests Off
+#<Proxy *>
+# Order deny,allow
+# Allow from all
+#</Proxy>
+
+#ProxyPass /ruby2 http://10.0.2.15:5000/
+#ProxyPassReverse /ruby2 http://10.0.2.15:5000/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment