View this PageEdit this PageUploads to this PageVersions of this PageHomeRecent ChangesSearchHelp Guide

Apache as a "frontend" on top of Comanche using "reverse proxying" and "virtual hosting"

here is my vhost entry in my apache 1.3 httpd.conf file for my virtual domain hope this will help.
// zyz

dont forget to load your proxy and rewrite module, rewrite is used to handle some misplaced url's.

LoadModule proxy_module /usr/lib/apache/modules/
LoadModule rewrite_module /usr/lib/apache/modules/

#basic you will need something like this
ProxyPass /
ProxyPassReverse /
RewriteEngine on
RewriteRule ^/gudinna/(.*)$ /$1 [R]

#move of some files located in / on the original swiki
RewriteRule ^/comanche.gif$ [R]
RewriteRule ^/favicon.ico$ [R]

#These rules makes apache handle heavy workload for uploads and button graphics.
#note these two "speedups" will not work on ComSwiki 1.3 for files with spaces in the filename.
RewriteRule ^/schemes/gudinna/(.*)$$1 [R]
RewriteRule ^/uploads/(.*)$$1 [R]

#Forces edit page requests to go to the slower wiki. if you never want to reveal your true swiki url remove this line.
RewriteRule ^/(.*.edit)$$1 [R]


Links to this Page