hgbook
changeset 677:83540574ee49
removed whitespace from URLs
author | Raphael Borun Das Gupta <hg@raphael.dasgupta.ch> |
---|---|
date | Sat Apr 18 17:38:07 2009 +0200 (2009-04-18) |
parents | 3b640272a966 |
children | 743dc55775fe |
files | en/ch05-collab.xml |
line diff
1.1 --- a/en/ch05-collab.xml Sun Apr 12 00:05:30 2009 -0700 1.2 +++ b/en/ch05-collab.xml Sat Apr 18 17:38:07 2009 +0200 1.3 @@ -959,11 +959,11 @@ 1.4 <title>What could <emphasis>possibly</emphasis> go 1.5 wrong?</title> 1.6 1.7 - <para id="x_4c7">Once you've copied the CGI script into place, go into a 1.8 - web browser, and try to open the URL <ulink 1.9 - url="http://myhostname/ 1.10 - myuser/hgweb.cgi">http://myhostname/ 1.11 - myuser/hgweb.cgi</ulink>, <emphasis>but</emphasis> brace 1.12 + <para id="x_4c7">Once you've copied the CGI script into place, 1.13 + go into a web browser, and try to open the URL <ulink 1.14 + url="http://myhostname/myuser/hgweb.cgi" 1.15 + >http://myhostname/myuser/hgweb.cgi</ulink>, 1.16 + <emphasis>but</emphasis> brace 1.17 yourself for instant failure. There's a high probability 1.18 that trying to visit this URL will fail, and there are many 1.19 possible reasons for this. In fact, you're likely to 1.20 @@ -1114,9 +1114,10 @@ 1.21 chmod 755 ~/public_html ~/public_html/hgwebdir.cgi</programlisting> 1.22 1.23 <para id="x_4d7">With basic configuration out of the way, try to 1.24 - visit <ulink url="http://myhostname/ 1.25 - myuser/hgwebdir.cgi">http://myhostname/ 1.26 - myuser/hgwebdir.cgi</ulink> in your browser. It should 1.27 + visit <ulink 1.28 + url="http://myhostname/myuser/hgwebdir.cgi" 1.29 + >http://myhostname/ myuser/hgwebdir.cgi</ulink> 1.30 + in your browser. It should 1.31 display an empty list of repositories. If you get a blank 1.32 window or error message, try walking through the list of 1.33 potential problems in <xref 1.34 @@ -1156,12 +1157,12 @@ 1.35 class="directory">/my/root</filename> from the name, and 1.36 publish the repository with a virtual path of <filename 1.37 class="directory">this/repo</filename>. If the base URL for 1.38 - our CGI script is <ulink url="http://myhostname/ 1.39 - myuser/hgwebdir.cgi">http://myhostname/ 1.40 - myuser/hgwebdir.cgi</ulink>, the complete URL for that 1.41 - repository will be <ulink url="http://myhostname/ 1.42 - myuser/hgwebdir.cgi/this/repo">http://myhostname/ 1.43 - myuser/hgwebdir.cgi/this/repo</ulink>.</para> 1.44 + our CGI script is <ulink 1.45 + url="http://myhostname/myuser/hgwebdir.cgi" 1.46 + >http://myhostname/myuser/hgwebdir.cgi</ulink>, the complete URL 1.47 + for that repository will be <ulink 1.48 + url="http://myhostname/myuser/hgwebdir.cgi/this/repo" 1.49 + >http://myhostname/myuser/hgwebdir.cgi/this/repo</ulink>.</para> 1.50 1.51 <para id="x_4dc">If we replace <filename 1.52 class="directory">/my/root</filename> on the left hand side