Re: Plaudits and dumb questions...
Stephen Clarke wrote: Hi, I've just discovered the joys of Cocoon. Installation of both Cocoon 2 and Tomcat 4 on Win95 went remarkably smoothly despite my trepidation. The only problem I recall is running out of environment space when running the batches. I had to make a shortcut to the batches and control the environment space through the shortcut properties. Now I've got some really dumb questions which you are free to ignore. I won't be this stupid for long. I've got as far as serving up my own XML/XSLT combo. Fantastic. Now, 1. How do I serve a static HTML file, ie. what do I have to put in sitemap? The short path: map:match pattern=static/*.html map:read src=mystatichtmlpath/{1}.html type=text/html/ /map:match 2. What reason is there not to abandon Apache httpd altogether and simply assign Cocoon to port 80 and serve everything from there. (Suspect 1 and 2 may be connected ). The reason is simple, performance. It takes many more steps to cocoon to serv a static resource than apache. So i think the best is the combo of apache and cocoon behind it. Try to put all the static resources in apache like the images. Just putting images on apache will boost the speed of your site because that is the major load of most sites. You can do that with the Rewrite Module. 3. How do I serve my PHP files through Cocoon? I notice there is a PHPGenerator in the libraries. But what do I put in the sitemap. What about CGI / Perl ? Any chance of that? 4. Upon whom do I pour my plaudits for this wonderful institution, cocoon. regards, Stephen Clarke - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mauricio Souza Lima Rational Consulting [EMAIL PROTECTED] Rua Helena, 140 / cj. 82 São Paulo - SP - Brazil Fone / Direct: +55 11 3842-7138 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Plaudits and dumb questions...
On Sun, 30 Dec 2001, Stephen Clarke wrote: Hi, I've just discovered the joys of Cocoon. Installation of both Cocoon 2 and Tomcat 4 on Win95 went remarkably smoothly despite my trepidation. The only problem I recall is running out of environment space when running the batches. I had to make a shortcut to the batches and control the environment space through the shortcut properties. Now I've got some really dumb questions which you are free to ignore. I won't be this stupid for long. I've got as far as serving up my own XML/XSLT combo. Fantastic. Now, 1. How do I serve a static HTML file, ie. what do I have to put in sitemap? Use a Reader (see sample sitemap). 2. What reason is there not to abandon Apache httpd altogether and simply assign Cocoon to port 80 and serve everything from there. (Suspect 1 and 2 may be connected ). Running Tomcat on port 80 requires root privileges (at least on unix and alike OS). This is essential on production system. Apache httpd has been developed to run on port 80 and to take care of security issues. 3. How do I serve my PHP files through Cocoon? I notice there is a PHPGenerator in the libraries. But what do I put in the sitemap. What about CGI / Perl ? Any chance of that? I've never used that one. Sorry, can't help you out. 4. Upon whom do I pour my plaudits for this wonderful institution, cocoon. To all who have helped making it :) Giacomo regards, Stephen Clarke - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Plaudits and dumb questions...
Hi, I've just discovered the joys of Cocoon. Installation of both Cocoon 2 and Tomcat 4 on Win95 went remarkably smoothly despite my trepidation. The only problem I recall is running out of environment space when running the batches. I had to make a shortcut to the batches and control the environment space through the shortcut properties. Now I've got some really dumb questions which you are free to ignore. I won't be this stupid for long. I've got as far as serving up my own XML/XSLT combo. Fantastic. Now, 1. How do I serve a static HTML file, ie. what do I have to put in sitemap? 2. What reason is there not to abandon Apache httpd altogether and simply assign Cocoon to port 80 and serve everything from there. (Suspect 1 and 2 may be connected ). 3. How do I serve my PHP files through Cocoon? I notice there is a PHPGenerator in the libraries. But what do I put in the sitemap. What about CGI / Perl ? Any chance of that? 4. Upon whom do I pour my plaudits for this wonderful institution, cocoon. regards, Stephen Clarke - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Plaudits and dumb questions...
- Original Message - From: Stephen Clarke [EMAIL PROTECTED] To: Cocoon [EMAIL PROTECTED] Sent: Sunday, December 30, 2001 2:58 PM Subject: Plaudits and dumb questions... Hi, I've just discovered the joys of Cocoon. Installation of both Cocoon 2 and Tomcat 4 on Win95 went remarkably smoothly despite my trepidation. The only problem I recall is running out of environment space when running the batches. I had to make a shortcut to the batches and control the environment space through the shortcut properties. Now I've got some really dumb questions which you are free to ignore. I won't be this stupid for long. I've got as far as serving up my own XML/XSLT combo. Fantastic. Now, 1. How do I serve a static HTML file, ie. what do I have to put in sitemap? See the examples first, it's too long to explain everything here ;-) 2. What reason is there not to abandon Apache httpd altogether and simply assign Cocoon to port 80 and serve everything from there. (Suspect 1 and 2 may be connected ). Tomcat 4.0 developers say that it's better to use it directly on port 80 if your app is dynamic, with apache also if there are many static resources. For Cocoon it's basically the same. Try the two and keep the fastest. Period. 3. How do I serve my PHP files through Cocoon? I notice there is a PHPGenerator in the libraries. But what do I put in the sitemap. What about CGI / Perl ? Any chance of that? 4. Upon whom do I pour my plaudits for this wonderful institution, cocoon. To everyone, the creator, the developers, the testers, the users the community. Nicola Ken Barozzi -- Nicola Ken Barozzi [EMAIL PROTECTED] These are the days of miracle and wonder... ...so don't cry baby, don't cry... Paul Simon - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]