Skip to content

Instantly share code, notes, and snippets.

@mefesto
Created October 30, 2011 17:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mefesto/0efa42d54857f269ffde to your computer and use it in GitHub Desktop.
Save mefesto/0efa42d54857f269ffde to your computer and use it in GitHub Desktop.
...
ProxyRequests Off
<Location /myapp>
ProxyPass http://localhost:8080/myapp
ProxyPassReverse http://localhost:8080/myapp
DefaultType text/html
</Location>
...
(ns myapp.views.welcome
(:require [myapp.views.common :as common]
[noir.content.pages :as pages])
(:use noir.core
hiccup.core
hiccup.page-helpers))
(defpage "/myapp" []
(render "/myapp/welcome"))
(defpage "/myapp/" []
(render "/myapp/welcome"))
(defpage "/myapp/welcome" []
(common/layout
[:p "Welcome to myapp"]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment