[OPEN-ILS-DEV] apache skin environment variable
James Fournie
jfournie at sitka.bclibraries.ca
Mon Nov 29 21:16:15 EST 2010
Hey there,
I'm wondering if anyone has considered adding this to the eg_vhost.conf :
RewriteEngine ON
RewriteCond %{REQUEST_URI} ^/opac/.*?/skin/(.*?)/
RewriteRule - - [E=skinname:%1] [L]
Then wherever /skin/default/ appears, replace it with /skin/<!--echo
var="skinname"--> or something like that.
Does this approach make sense? Then you can just copy the /default
skin if you want to make your own skin and don't need to update dozens
of URLs. Are there any drawbacks to this?
Thanks
~James Fournie
SITKA
More information about the Open-ils-dev
mailing list