Size: 1285
Comment:
|
Size: 1518
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
Line 4: | Line 3: |
Line 7: | Line 5: |
The project back end is based on eXist, an XML database. The main site runs under Apache and is set up to proxy certain pages to eXist running under Tomcat. In order for session information (held in cookies) that is used for the search functionality to be passed correctly it is necessary for the directory paths under Apache and Tomcat/eXist to be identical. This causes a number of annoying problems. |
The project back end is based on eXist, an XML database. The main site runs under Apache and is set up to proxy certain pages to eXist running under Tomcat. In order for session information (held in cookies) that is used for the search functionality to be passed correctly it is necessary for the directory paths under Apache and Tomcat/eXist to be identical. This causes a number of annoying problems. |
Line 11: | Line 8: |
Line 14: | Line 10: |
Setting up mod proxy in Apache configs under SUSE edit /etc/sysconfig/apache2 and add in proxy and proxy_http to the loaded modules. | |
Line 15: | Line 12: |
Setting up mod proxy in Apache configs under SUSE edit /etc/sysconfig/apache2 and add in proxy and proxy_http to the loaded modules. |
=== Cocoon setup === add |
Line 18: | Line 15: |
<preserve-space>true</preserve-space> <indent>yes</indent> | |
Line 19: | Line 17: |
to the appropriate serializer in sitemap.xmap in order to stop the source code appearing on one line. | |
Line 21: | Line 20: |
TestPage [:TestPage:MyNewPage:} AnotherPage |
The Ruskin and Sutherland projects
Ruskin: The Elements of Drawing
Documenting some of the project work.
The project back end is based on eXist, an XML database. The main site runs under Apache and is set up to proxy certain pages to eXist running under Tomcat. In order for session information (held in cookies) that is used for the search functionality to be passed correctly it is necessary for the directory paths under Apache and Tomcat/eXist to be identical. This causes a number of annoying problems.
- although the scripts live in /ruskin/catalogue and /ruskin/texts they must be served from /catalogue and /texts. This is easy to set up with a sitemap.xmap file. However, in order for the import module directive to work with relative URLs the virtual directory /catalogue or /texts MUST ACTUALLY EXIST (though they can be empty).
It would perhaps be easier to store the module in the database, though to my mind this rather defeats the point of a generic module - it should be able to be used to hold the single reference to the paths, and database collections used in the project.
Setting up mod proxy in Apache configs under SUSE edit /etc/sysconfig/apache2 and add in proxy and proxy_http to the loaded modules.
Cocoon setup
add
<preserve-space>true</preserve-space> <indent>yes</indent>
to the appropriate serializer in sitemap.xmap in order to stop the source code appearing on one line.
Sutherland
[:TestPage:MyNewPage:}