Liking cljdoc? Tell your friends :D

httpd.crate.mod-rewrite


install-mod-rewriteclj

(install-mod-rewrite)
source

vhost-rewrite-rulesclj

(vhost-rewrite-rules rewrite-rules & {:keys [use-proxy] :or {use-proxy true}})

Define the rewrite rules for a VirtualHost. Pass a vector of rewrite rules like this:

:rewrite-rules ["RewriteRule ^/$ http://test.com:8080 [P]" "RewriteRule ^/login$ http://test.com [P]"]

Define the rewrite rules for a VirtualHost. Pass a vector of
rewrite rules like this:

:rewrite-rules ["RewriteRule ^/$ http://test.com:8080 [P]"
                "RewriteRule ^/login$ http://test.com [P]"]
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close