Maintenance

  • Home
  • Log in
  • « More on tomcat et al.
  • Testing Cocoon/eXist with ScanCan data »

URI schemes in cocoon

Posted by gregster on 19 Dec 2006 in Servers, Activity log

Martin and I have begun creating a URI scheme for cocoon that will hopefully make sense to users as a URL.
We created a "projects" subdirectory in cocoon (on lettuce) with a sitemap which only contains the homedir mount:
<map:match pattern="*/**">
<map:mount check-reload="yes" src="/home/{1}/webapps/" uri-prefix="{1}"/>
</map:match>
This was necessary because when we set up the automounting of homedir/webapps, the match was global and overrode access to the cocoon tree with samples and blocks and so forth.

This has replaced the previous scheme (matching homedirs in the cocoon root sitemap).

Now, when a user wants to view a website like ScanCan, the url is http://lettuce.tapor.uvic.ca/cocoon/projects/scancan/.
The content for this project is in the {user-home-dir}/webapps/ directory - in this case /home1t/scancan/webapps/.

The advantage to this is that all "projects" get picked up automatically, leaving the whole cocooon tree (with samples, blocks etc) still available.

We will also create other subdirs in the cocoon tree to point to "journals" and others as the need arises.

This entry was posted by Greg and filed under Servers, Activity log.

Maintenance

This blog is the location for all work involving software and hardware maintenance, updates, installs, etc., both routine and urgent.
  • Home
  • Recently
  • Archives
  • Categories

Search

Categories

  • All
  • Announcements
  • Hit by a bus
  • Labs
    • Activity log
    • Documentation
  • Notes
  • R & D
    • Activity log
    • Documentation
  • Servers
    • Activity log
    • Documentation
  • Tasks

All blogs

  • Academic
  • AdaptiveDB
  • Admin
  • Announcements
  • CanMys
  • Cascade
  • CGWP
  • ColDesp
  • Depts
  • DVPP
  • Endings
  • HCMC Blogs
  • Landscapes
  • LEMDO
  • Linguistics
  • Maint
  • LondonMap
  • Mariage
  • MoM
  • Moses
  • Pro-D
  • Projects
  • ScanCan
  • HumsSites
  • Wendat

This collection ©2025 by admin • Help • Website engine