Differences between revisions 2 and 10 (spanning 8 versions)
Revision 2 as of 2007-01-07 09:56:29
Size: 759
Editor: cpe-76-173-67-9
Comment: old-http -> static-http
Revision 10 as of 2013-08-29 01:53:42
Size: 516
Editor: JeremyMcc
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Mercurial has limited support for serving from web servers with no CGI support.

To use, simply copy your project's repository files to a project directory on your server:

{{{
$ cd public_html
$ mkdir my-project
$ cp -a ../my-repo/.hg my-project
}}}

Alternately use a symlink. Copying can be accomplished via rsync, ftp, scp, etc., so long as all the files beneath .hg are copied.

Then you should be able to pull from this repo like so:

{{{
$ hg clone static-http://example.com/my-project
}}}

This is not recommended for most projects because it can result in a very large number of requests.
Note that the web server must support HTTP range requests.

If at all possible, you should use a [:CGI_Install:CGI-based server] instead.
Sharlto Copley, who gives a convincing strong man performance that is entirely seperate from the nervous Elysium ([[http://www.spanishpatagonia.com/sharlto-copley-s-elysium-apocalypse-who-loses-most/|www.spanishpatagonia.com]]) bureaucrat he played in District 9, who delivers the grath as Kruger, further validates that equation. There has been quite a Twitter tirade regarding Jodie Foster's wooden acting in" Elysium" won the weekend box office, but are you surprised just how popular" Rounders" still is today?

Sharlto Copley, who gives a convincing strong man performance that is entirely seperate from the nervous Elysium (www.spanishpatagonia.com) bureaucrat he played in District 9, who delivers the grath as Kruger, further validates that equation. There has been quite a Twitter tirade regarding Jodie Foster's wooden acting in" Elysium" won the weekend box office, but are you surprised just how popular" Rounders" still is today?

StaticHTTP (last edited 2013-08-29 22:40:46 by rcl)