comparison 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
comparison
equal deleted inserted replaced
2343:52ed57de26db 2346:87dc03fa9d80
1 =========== 1 ===========
2 Roundup FAQ 2 Roundup FAQ
3 =========== 3 ===========
4 4
5 :Version: $Revision: 1.17 $ 5 :Version: $Revision: 1.18 $
6 6
7 .. contents:: 7 .. contents::
8 8
9 9
10 Installation 10 Installation
49 49
50 and:: 50 and::
51 51
52 AddModule mod_proxy.c 52 AddModule mod_proxy.c
53 53
54 Then add 54 Then add::
55 55
56 # roundup stuff (added manually) 56 # roundup stuff (added manually)
57 <IfModule mod_proxy.c> 57 <IfModule mod_proxy.c>
58 # proxy through one tracker 58 # proxy through one tracker
59 ProxyPass /issue/ http://tracker.example:8080/issues/ 59 ProxyPass /issues/ http://tracker.example:8080/issues/
60 # proxy through all tracker(*) 60 # proxy through all tracker(*)
61 #ProxyPass /roundup/ http://tracker.example:8080/ 61 #ProxyPass /roundup/ http://tracker.example:8080/
62 </IfModule> 62 </IfModule>
63 63
64 Then restart Apache. Now Apache will proxy the request on to the 64 Then restart Apache. Now Apache will proxy the request on to the
69 will change to:: 69 will change to::
70 70
71 TRACKER_WEB = 'http://tracker.example/roundup/issues/' 71 TRACKER_WEB = 'http://tracker.example/roundup/issues/'
72 72
73 Once you're done, you can firewall off port 8080 from the rest of the world. 73 Once you're done, you can firewall off port 8080 from the rest of the world.
74
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>
74 93
75 94
76 Roundup runs very slowly on my XP machine when accessed from the Internet 95 Roundup runs very slowly on my XP machine when accessed from the Internet
77 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
78 97

Roundup Issue Tracker: http://roundup-tracker.org/