[daisy] Apache configuration
Arian Visser
A.P.Visser at rijnhuizen.nl
Thu Dec 6 07:23:11 CST 2007
Dear listmembers,
We are setting up several Daisy sites in a single Daisy installation.
All of them will be separately accessible from their own URL. So site
AAA will me accessible by www.AAA.nl, site BBB by www.BBB.nl etc.
Yesterday we faced some problems with configuring Apache to make our
first Daisy site accessible. We noticed that Rewrite rules can not
prevent that the URL in the browser always get a prefix after the domain
name which is the same as the Daisy site name. So, the Daisy site AAA
that should be accessible by www.AAA.nl/ can only be made accessible by
www.AAA.nl/AAA/.
Our current (part of the) Apache configuration:
------
RewriteEngine on
RewriteRule "^/AAA/(.*)" "http://server:8888/AAA/$1" [P]
ProxyRequests Off
ProxyPass /resources/ http://server:8888/resources/
ProxyPassReverse /resources/ http://server:8888/resources/
ProxyPass / http://server:8888/AAA/
ProxyPassReverse / http://server:8888/AAA/
------
A workaround could be to change the site name AAA into something like
SITE, so the URL is more pleasant to the eye ;-)
However, we are on the lookout for a solution from you as we are sure
that some of you will face the same problems. This problem has been
mentioned before on the list, but we haven't found a resolution.
Arian Visser
More information about the daisy
mailing list