Mercurial > urweb
comparison demo/prose @ 863:305bc0a431de
.msgs processing in FastCGI
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sat, 27 Jun 2009 17:50:31 -0400 |
parents | c884a42599f3 |
children | 0ae8894d5c97 |
comparison
equal
deleted
inserted
replaced
862:66dbf3953758 | 863:305bc0a431de |
---|---|
17 | 17 |
18 <p>The <tt>-demo</tt> version also generates some HTML in a subdirectory <tt>out</tt> of the demo directory. It is easy to set Apache up to serve these HTML files, and to proxy out to the Ur/Web web server for dynamic page requests. This configuration works for me, where <tt>DIR</tt> is the location of an Ur/Web source distribution. | 18 <p>The <tt>-demo</tt> version also generates some HTML in a subdirectory <tt>out</tt> of the demo directory. It is easy to set Apache up to serve these HTML files, and to proxy out to the Ur/Web web server for dynamic page requests. This configuration works for me, where <tt>DIR</tt> is the location of an Ur/Web source distribution. |
19 | 19 |
20 <blockquote><pre>Alias /demo/ "DIR/demo/out/" | 20 <blockquote><pre>Alias /demo/ "DIR/demo/out/" |
21 | 21 |
22 ProxyPass /Demo/ http://localhost:8080/ | 22 ProxyPass /Demo/ http://localhost:8080/Demo/ |
23 ProxyPassReverse /Demo/ http://localhost:8080/</pre></blockquote></p> | 23 ProxyPassReverse /Demo/ http://localhost:8080/Demo/</pre></blockquote></p> |
24 | 24 |
25 <p>Building the demo also generates a <tt>demo.sql</tt> file, giving the SQL commands to run to define all of the tables and sequences that the applications expect to see. The file <tt>demo.urp</tt> contains a <tt>database</tt> line with the PostgreSQL database that the demo web server will try to connect to.</p> | 25 <p>Building the demo also generates a <tt>demo.sql</tt> file, giving the SQL commands to run to define all of the tables and sequences that the applications expect to see. The file <tt>demo.urp</tt> contains a <tt>database</tt> line with the PostgreSQL database that the demo web server will try to connect to.</p> |
26 | 26 |
27 <p>The rest of the demo focuses on the individual applications. Follow the links in the lefthand frame to visit the applications, commentary, and syntax-highlighted source code. (An Emacs mode is behind the syntax highlighting.) I recommend visiting the applications in the order listed, since that is the order in which new concepts are introduced.</p> | 27 <p>The rest of the demo focuses on the individual applications. Follow the links in the lefthand frame to visit the applications, commentary, and syntax-highlighted source code. (An Emacs mode is behind the syntax highlighting.) I recommend visiting the applications in the order listed, since that is the order in which new concepts are introduced.</p> |
28 | 28 |