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]>