On Sat, Nov 12, 2011 at 06:57:12PM +0100, Jan-Frode Myklebust wrote:
>
> modifying wox-templates. Customizing anything below
> /usr/lib*/GNUstep/SOGo/WebServerResources/ needs to happen there, as
> these are not served trough sogod but rather served by apache directly.
I just realized that the WebServerResources/ could work the same as
wox-templates in /home/sogo/GNUstep/Library/ with a little mod_rewrite
hack:
RewriteCond %{REQUEST_URI} ^SOGo/WebServerResources.*
RewriteCond "/home/sogo/GNUstep/Library%{REQUEST_URI}" -f
RewriteRule ^(.+) /home/sogo/GNUstep/Library/$1 [L]
RewriteRule ^ - [PT]
Untested, and I never get these right without some trial and error, but you
probably get the idea. Based on:
http://httpd.apache.org/docs/current/rewrite/remapping.html#multipledirs
-jf
--
[email protected]
https://inverse.ca/sogo/lists