Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
2424 | minor | always | 02-11-08 13:56 | 03-26-08 14:30 | |
|
|||||
Reporter: | ferg | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.5 | ||
Product Build: | Resolution: | no change required | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
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 |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|