Changeset 3788

Show
Ignore:
Timestamp:
06/05/11 14:26:50 (12 months ago)
Author:
elemoine
Message:

better URLs

Location:
sample/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • sample/trunk/apache/wsgi.conf.in

    r3718 r3788  
    1818 
    1919RewriteRule ^${vars:apache-entry-point}$ /mapfishsample/${vars:instanceid}/wsgi/ [PT] 
    20 RewriteRule ^${vars:apache-entry-point}apihelp.html$ /mapfishsample/${vars:instanceid}/wsgi/apihelp.html [PT] 
    21 RewriteRule ^${vars:apache-entry-point}apiloader.js$ /mapfishsample/${vars:instanceid}/wsgi/apiloader.js [PT] 
     20RewriteRule ^${vars:apache-entry-point}/$ /mapfishsample/${vars:instanceid}/wsgi/ [PT] 
     21RewriteRule ^${vars:apache-entry-point}/apihelp.html$ /mapfishsample/${vars:instanceid}/wsgi/apihelp.html [PT] 
     22RewriteRule ^${vars:apache-entry-point}/apiloader.js$ /mapfishsample/${vars:instanceid}/wsgi/apiloader.js [PT] 
    2223WSGIScriptAlias /mapfishsample/${vars:instanceid}/wsgi ${buildout:directory/buildout/parts/modwsgi/wsgi} 
  • sample/trunk/buildout_main.cfg

    r3718 r3788  
    1515instanceid = 2.0 
    1616# apache entry point for Apache rewrite rules (see apache/wsgi.conf.in) 
    17 apache-entry-point = /mapfishsample/2.0/ 
     17apache-entry-point = /mapfishsample/2.0 
    1818# mapserv host - used to derive the mapserv URL, and in the print config 
    1919mapserv_host = demo.mapfish.org