Anonymous | Login | Signup for a new account | 04-18-2024 19:26 PDT |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0002424 | [Resin] | minor | always | 02-11-08 13:56 | 03-26-08 14:30 | ||||
Reporter | ferg | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | no change required | ||||||
Status | closed | Product Version | 3.1.5 | ||||||
Summary | 0002424: host deploy enhancements | ||||||||
Description |
(rep by Stargazer) t strikes me that its the reliance on the physical directory name in the <host-deploy> construct which is causing the problem. It mixes the found dir name on disk with the contents of its particuar host.xml. Using my <resin:import> way everything is defined in the found xml files, no matter where they exist in the subdir tree, because I put the <resin:import> tag in the def for http://localhost [^] webapps in resin.conf, i.e. "/". So what would be perfect would be the <host-deploy> functionality but honouring everything in the located file, as in this example (as a useful side effect is the files can have any name too, which helps manage many hosts easier as I usually stick the hostname in the xml filename): conf/hostconf/pligg/www.foo.com.xml: <host xmlns="http://caucho.com/ns/resin" [^] xmlns:resin="http://caucho.com/ns/resin/core"> [^] <web-app id='www.foo.com' document-directory='/www/pligg/www.foo.com'> </web-app> </host> Lets me use http://localhost:8080/www.foo.com [^] and conf/hostconf/pligg/www.bar.com.xml: <host xmlns="http://caucho.com/ns/resin" [^] xmlns:resin="http://caucho.com/ns/resin/core"> [^] <web-app id='www.bar.com' document-directory='/www/pligg/www.bar.com'> </web-app> </host> Does the same for http://localhost:8080/www.bar.com [^] etc |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed. 25 unique queries executed. |