Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | corrected formatting of example cgi scripts in server documentation |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
ea667800169d9aa962adae39eda3113d |
| User & Date: | joshua 2010-07-31 13:18:41.000 |
Context
|
2010-08-05
| ||
| 10:09 | Update SQLite to the latest 3.7.1 development snapshot. check-in: d090292800 user: drh tags: trunk, release | |
|
2010-07-31
| ||
| 16:20 | Merge with trunk. check-in: d084f952fe user: michael tags: ttmrichter-skins | |
| 13:18 | corrected formatting of example cgi scripts in server documentation check-in: ea66780016 user: joshua tags: trunk | |
|
2010-07-30
| ||
| 00:16 | Merge change by Benoit Mortgat into the trunk. check-in: e3fb8dc36c user: drh tags: trunk | |
Changes
Changes to www/server.wiki.
| ︙ | ︙ | |||
54 55 56 57 58 59 60 | </p> </blockquote> <h3>One script per repository</h3><blockquote> <p> Create a script (let's call it 'repo') in your CGI directory which has content like this: <blockquote><tt> | | | | | 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | </p> </blockquote> <h3>One script per repository</h3><blockquote> <p> Create a script (let's call it 'repo') in your CGI directory which has content like this: <blockquote><tt> #!/path-to/fossil<br> repository: /path-to-repo/repository </tt></blockquote> </p> <p> It may be necessary to set permissions properly, or to modify an ".htaccess" file or other server-specific things like that. Consult with your server provider if you need that sort of assistance. </p> <p> Once the script is set up correctly, and assuming your server is also set correctly, you should be able to access your repository with a URL like: <tt>http://mydomain.org/cgi-bin/repo</tt> (assuming the "repo" script is accessible under "cgi-bin", which would be a typical deployment on Apache for instance). </p> </blockquote> <h3>Serving multiple repositories with one script</h3><blockquote> <p> This scenario is almost identical to the previous one. However, here we will assume you have multiple repositories, in one directory (call it 'fossils'). So as before, create a script (again, 'repo'): <blockquote><tt> #!/path-to/fossil<br> directory: /path-to-repo/fossils<br> notfound: http://url-to-go-to-if-repo-not-found/ </tt></blockquote> </p> <p> Once deployed, a URL like: <tt>http://mydomain.org/cgi-bin/repo/XYZ</tt> will serve up the repository "fossils/XYX" (if it exists). This makes serving multiple projects on one server pretty painless. </p> </blockquote> |
| ︙ | ︙ |