Mercurial > p > roundup > code
diff doc/FAQ.txt @ 2346:87dc03fa9d80
keep the rewrites - some people need to use them
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 20 May 2004 22:18:37 +0000 |
| parents | d9a6918aafd5 |
| children | 21a0b049fed8 |
line wrap: on
line diff
--- a/doc/FAQ.txt Wed May 19 20:27:55 2004 +0000 +++ b/doc/FAQ.txt Thu May 20 22:18:37 2004 +0000 @@ -2,7 +2,7 @@ Roundup FAQ =========== -:Version: $Revision: 1.17 $ +:Version: $Revision: 1.18 $ .. contents:: @@ -51,12 +51,12 @@ AddModule mod_proxy.c -Then add +Then add:: # roundup stuff (added manually) <IfModule mod_proxy.c> # proxy through one tracker - ProxyPass /issue/ http://tracker.example:8080/issues/ + ProxyPass /issues/ http://tracker.example:8080/issues/ # proxy through all tracker(*) #ProxyPass /roundup/ http://tracker.example:8080/ </IfModule> @@ -72,6 +72,25 @@ Once you're done, you can firewall off port 8080 from the rest of the world. +Note that in some situations (eg. virtual hosting) you might need to use a +more complex rewrite rule instead of the simpler ProxyPass above. The +following should be useful as a starting template:: + + # roundup stuff (added manually) + <IfModule mod_proxy.c> + + RewriteEngine on + + # General Roundup + RewriteRule ^/roundup$ roundup/ [R] + RewriteRule ^/roundup/(.*)$ http://tracker.example:8080/$1 [P,L] + + # Handle Foo Issues + RewriteRule ^/issues$ issues/ [R] + RewriteRule ^/issues/(.*)$ http://tracker.example:8080/issues/$1 [P,L] + + </IfModule> + Roundup runs very slowly on my XP machine when accessed from the Internet ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
