Changeset 2265


Ignore:
Timestamp:
09/28/12 15:35:11 (12 years ago)
Author:
mwindhouwer
Message:

M mod-ISOcat-access-system/access/properties.acc
M mod-ISOcat-access-system/module.xml
A mod-ISOcat-access-system/config/admin_static.acc
M mod-ISOcat-access-system/etc/ISOcatConfig.xml

  • added a new configuration property 'static' for the URL prefix where the static files live, until now they were always expected at the root of the server
Location:
cats/ISOcat/trunk/mod-ISOcat-access-system
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • cats/ISOcat/trunk/mod-ISOcat-access-system/access/properties.acc

    r2029 r2265  
    99                                        <site>{string($site)}</site>
    1010                                        <server>{replace(replace(string($site),'^.*?//',''),'/.*$','')}</server>
     11                                        <static>{string($static)}</static>
    1112                                        <pid>{string($pid)}</pid>
    1213                                        {$forum/nvp/*}
     
    1819                        </operator>
    1920                        <site>active:ISOcat.access.system.config.admin.site</site>
     21                        <static>active:ISOcat.access.system.config.admin.static</static>
    2022                        <email>active:ISOcat.access.system.config.admin.email</email>
    2123                        <pid>active:ISOcat.access.system.config.admin.pid</pid>
  • cats/ISOcat/trunk/mod-ISOcat-access-system/etc/ISOcatConfig.xml

    r2029 r2265  
    22        <admin>
    33                <site>http://localhost:8080/</site>
     4                <static>http://localhost:8080/</static>
    45                <email>isocat@example.com</email>
    56                <pid>http://localhost:8080/</pid>
  • cats/ISOcat/trunk/mod-ISOcat-access-system/module.xml

    r2029 r2265  
    7979        </rewrite>
    8080        <rewrite>
     81            <match>active:ISOcat.access.system.config.admin.static</match>
     82            <to>active:sloot.accessor+operand@ffcpl:/config/admin_static.acc</to>
     83        </rewrite>
     84        <rewrite>
    8185            <match>active:ISOcat.access.system.config.admin.email</match>
    8286            <to>active:sloot.accessor+operand@ffcpl:/config/admin_email.acc</to>
Note: See TracChangeset for help on using the changeset viewer.