Skip to content

Commit e9162a5

Browse files
author
Richard Jones
committed
keep the rewrites - some people need to use them
1 parent 3f4a569 commit e9162a5

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

doc/FAQ.txt

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Roundup FAQ
33
===========
44

5-
:Version: $Revision: 1.17 $
5+
:Version: $Revision: 1.18 $
66

77
.. contents::
88

@@ -51,12 +51,12 @@ and::
5151

5252
AddModule mod_proxy.c
5353

54-
Then add
54+
Then add::
5555

5656
# roundup stuff (added manually)
5757
<IfModule mod_proxy.c>
5858
# proxy through one tracker
59-
ProxyPass /issue/ http://tracker.example:8080/issues/
59+
ProxyPass /issues/ http://tracker.example:8080/issues/
6060
# proxy through all tracker(*)
6161
#ProxyPass /roundup/ http://tracker.example:8080/
6262
</IfModule>
@@ -72,6 +72,25 @@ will change to::
7272

7373
Once you're done, you can firewall off port 8080 from the rest of the world.
7474

75+
Note that in some situations (eg. virtual hosting) you might need to use a
76+
more complex rewrite rule instead of the simpler ProxyPass above. The
77+
following should be useful as a starting template::
78+
79+
# roundup stuff (added manually)
80+
<IfModule mod_proxy.c>
81+
82+
RewriteEngine on
83+
84+
# General Roundup
85+
RewriteRule ^/roundup$ roundup/ [R]
86+
RewriteRule ^/roundup/(.*)$ http://tracker.example:8080/$1 [P,L]
87+
88+
# Handle Foo Issues
89+
RewriteRule ^/issues$ issues/ [R]
90+
RewriteRule ^/issues/(.*)$ http://tracker.example:8080/issues/$1 [P,L]
91+
92+
</IfModule>
93+
7594

7695
Roundup runs very slowly on my XP machine when accessed from the Internet
7796
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)