Re: [fossil-users] fossil local server
Petr Ferdus petr...@... writes: ... Could you please share what you use in windows service/how you create them. If you also serve repositories via https I would like to see the set up of that as well. Thanks Peter ... I simply use nssm (non sucking service manager) and install the service using: nssm install servicename fossilexepath server --port 8000 --notfound defaultredirect directory-with-fossil-files nssm restarts fossil, if the server process dies - which sometimes happens, if the browser requests the style.css on a refresh. You can use anysrv from MS too, but this doesn't restart the server process. I do not use https on my local net. best regards Wolfgang ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] fossil local server
On Thu, 4 Nov 2010 16:22:02 + (UTC), Wolfgang wrote Subject: Re: [fossil-users] fossil local server To: fossil-users@lists.fossil-scm.org Message-ID: loom.20101104t171822-...@post.gmane.org Content-Type: text/plain; charset=utf-8 Richard Hipp d...@... writes: On Thu, Nov 4, 2010 at 3:01 AM, Riza Dindir riza.din...@gmail.com wrote: Maybe what I have understood is incorrect. To state it again. If I run the fossil server using this command ?fossil server .\ in the directory where the fossil files are (the fossil.exe can be there too), I should be able to direct my browser to the fossil repositories as ... You are correct.? If you pass a directory name to the server command then fossil will serve all repositories named *.fossil in that directory.? I do this frequently myself.? I know it works.But I always do it on Linux and Mac. ... Please try your command without the trailing \:? fossil server . ... I'm running fossil on multiple machines (XP Pro, XP Home, Win7 HP) as service with the directory option: no problems. Maybe try localhost:8080/repo-name/timeline to test, if you have a problem with the redirection to the home page. Wolfgang Yes that works... rd ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] fossil local server
On Thu, 04 Nov 2010 19:39:01 +0100, Petr Ferdus wrote Subject: Re: [fossil-users] fossil local server To: fossil-users@lists.fossil-scm.org Message-ID: 1288895941.566598.1442.nullmai...@mail1002.cent Content-Type: text/plain; charset=UTF-8 __ Od: Wolfgang rat...@stumvolls.de Komu: fossil-users@lists.fossil-scm.org Datum: 04.11.2010 17:22 P?edm?t: Re: [fossil-users] fossil local server Richard Hipp d...@... writes: On Thu, Nov 4, 2010 at 3:01 AM, Riza Dindir riza.din...@gmail.com wrote: Maybe what I have understood is incorrect. To state it again. If I run the fossil server using this command fossil server . in the directory where the fossil files are (the fossil.exe can be there too), I should be able to direct my browser to the fossil repositories as ... You are correct. If you pass a directory name to the server command then fossil will serve all repositories named *.fossil in that directory. I do this frequently myself. I know it works.But I always do it on Linux and Mac. ... Please try your command without the trailing : fossil server . ... I'm running fossil on multiple machines (XP Pro, XP Home, Win7 HP) as service with the directory option: no problems. I can use fossil serving multiple repos from a directory along the lines: start fossil repositories /MIN fossil.exe server . Could you please share what you use in windows service/how you create them. If you also serve repositories via https I would like to see the set up of that as well. Thanks Peter If you are asking me, I have Windows XP and I am not using any windows services. I am trying to run this on the command line (for evaluation purposes). The command is fossil.exe server . rd ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] fossil local server
On Wed, 3 Nov 2010 13:17:10 -0400, James Turner wrote On Wed, Nov 03, 2010 at 06:13:45PM +0100, Stephan Beal wrote: On Wed, Nov 3, 2010 at 4:04 PM, Riza Dindir riza.din...@gmail.com wrote: The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete. * This problem can sometimes be caused by disabling or refusing to accept cookies. Didn't someone else report this problem on the list last week sometime? -- - stephan beal http://wanderinghorse.net/home/stephan/ There was a bug if index-page was set that a redirect loop could happen. This is fixed in the latest trunk. Have tried this with the latest version (I believe). The version I have is labeled as Fossil snapshot as of 2010-11-01 14:23:35 on the download page and the file I have downloaded is fossil-w32-20101101142335.zip. Maybe what I have understood is incorrect. To state it again. If I run the fossil server using this command fossil server .\ in the directory where the fossil files are (the fossil.exe can be there too), I should be able to direct my browser to the fossil repositories as http://localhost:8080/repo_name where repo_name will be the names of the fossil files (excluding the .fossil extension). Would this be correct? Kind Regards, rd ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] fossil local server
Hmmm, I thought it was for this purpose. What is the server command used for? Have you ever used that? 2010/11/4 Adam J Richardson fat...@crackmonkey.us: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Riza, Yes I have a directory path/to/repo where I have the fossil repositories (with .fossil extensions, two examples created - example1.fossil and example2.fossil - with fossil new and one cloned - the fossil repository) and the fossil.exe. One of the created fossil repository is named example1.fossil (the repo_name was just made up :) ). I run the server in this directory like so fossil.exe server .\ That command actually does start a web server, but I don't think it's the intended usage. You could instead do (tested in XP, works fine): c:\ start fossil.exe server .\example1.fossil --port 8081 c:\ start fossil.exe server .\example2.fossil --port 8082 You could make that into a batch script if you have more than two fossils. Don't forget the 'start' to spawn duplicate command line environments for your web servers. Good luck, Adam J Richardson -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkzSeBUACgkQSUH6dLOqvqnzwACg8E5QkwSWlLqbJKncegHiw/il 2gUAn2qKTUo6af7G+YdMpS8zIdwgxGKW =srB6 -END PGP SIGNATURE- ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] fossil local server
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 4 Nov 2010 11:30:09 +0200 Riza Dindir riza.din...@gmail.com wrote: Hmmm, I thought it was for this purpose. What is the server command used for? Have you ever used that? I've always used it (many times, so useful!) like this: fossil.exe server .\example1.fossil --port 8081 And never like this: fossil.exe server .\ The last example does indeed start a web server, but it doesn't seem to host any files. Richard, can you comment at this point? Regards, Adam J Richardson -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkzShEwACgkQSUH6dLOqvqlPxQCg2tflq5Mk9r/HhtJDU/mfYhmb kSoAmgI3XOv58ENbXkKVMXd3tnTpBC0c =Clk3 -END PGP SIGNATURE- ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] fossil local server
On Thu, Nov 4, 2010 at 3:01 AM, Riza Dindir riza.din...@gmail.com wrote: Maybe what I have understood is incorrect. To state it again. If I run the fossil server using this command fossil server .\ in the directory where the fossil files are (the fossil.exe can be there too), I should be able to direct my browser to the fossil repositories as http://localhost:8080/repo_name where repo_name will be the names of the fossil files (excluding the .fossil extension). Would this be correct? You are correct. If you pass a directory name to the server command then fossil will serve all repositories named *.fossil in that directory. I do this frequently myself. I know it works. But I always do it on Linux and Mac. I haven't tested this on windows lately. And windows tends to give problems for these kinds of things. Also, I always omit the trailing directory separator. Please try your command without the trailing \: fossil server . Let me know if omitting the trailing \ does not clear the problem. -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] fossil local server
Hi Richard, I have tried it without the trailing \ and it does not work. But here is the thing I discovered. When starting the server I can reach the web pages for the fossil clone I have (myclone.fossil - as I mentioned before). Then I thought maybe it has something to do with capital letters in the file name (well was out of any ideas and the fossil clone has no caps :) ) and created a new repo called MyProjects.fossil. Then I started the server as before fossil server . and tried to get to the project (http://localhost:8080/MyProjects). It displayed the page for this repo with a title Unnamed Fossil Project and in the body there was a link setup/config. When you click on that link you configure the project. I have added the project name, description and the index page. After I have done these I redirected the browser again to this repo (http://localhost:8080/MyProjects) and have gotten the same error. Kind Regards, rd On Thu, 04 Nov 2010 05:16:24 -0700, Richard Hipp wrote On Thu, Nov 4, 2010 at 3:01 AM, Riza Dindir riza.din...@gmail.com wrote: Maybe what I have understood is incorrect. To state it again. If I run the fossil server using this command fossil server .\ in the directory where the fossil files are (the fossil.exe can be there too), I should be able to direct my browser to the fossil repositories as http://localhost:8080/repo_name where repo_name will be the names of the fossil files (excluding the .fossil extension). Would this be correct? You are correct. If you pass a directory name to the server command then fossil will serve all repositories named *.fossil in that directory. I do this frequently myself. I know it works. But I always do it on Linux and Mac. I haven't tested this on windows lately. And windows tends to give problems for these kinds of things. Also, I always omit the trailing directory separator. Please try your command without the trailing \: fossil server . Let me know if omitting the trailing \ does not clear the problem. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] fossil local server
__ Od: Wolfgang rat...@stumvolls.de Komu: fossil-users@lists.fossil-scm.org Datum: 04.11.2010 17:22 Předmět: Re: [fossil-users] fossil local server Richard Hipp d...@... writes: On Thu, Nov 4, 2010 at 3:01 AM, Riza Dindir riza.din...@gmail.com wrote: Maybe what I have understood is incorrect. To state it again. If I run the fossil server using this command fossil server . in the directory where the fossil files are (the fossil.exe can be there too), I should be able to direct my browser to the fossil repositories as ... You are correct. If you pass a directory name to the server command then fossil will serve all repositories named *.fossil in that directory. I do this frequently myself. I know it works.But I always do it on Linux and Mac. ... Please try your command without the trailing : fossil server . ... I'm running fossil on multiple machines (XP Pro, XP Home, Win7 HP) as service with the directory option: no problems. I can use fossil serving multiple repos from a directory along the lines: start fossil repositories /MIN fossil.exe server . Could you please share what you use in windows service/how you create them. If you also serve repositories via https I would like to see the set up of that as well. Thanks Peter Maybe try localhost:8080/repo-name/timeline to test, if you have a problem with the redirection to the home page. Wolfgang ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] fossil local server
On Wed, Nov 3, 2010 at 8:34 AM, Riza Dindir riza.din...@gmail.com wrote: Hello, I want to run the fossil server path/to/repo command. The path/to/repo has 3 fossil files (with .fossil extensions). When I start the above command and point the browser to the http://localhost:8080/repo_name it does not open the repository wiki site/pages. In the server help it says (fossil help server) In the 'server' command, the REPOSITORY can be a directory (aka folder) that contains one or more respositories with names ending in '.fossil'. In that case, the first element of the URL is used to select among the various repositories. Isn't the URL http://localhost:8080/repo_name; correct? Is your repository named path/to/repo/repo_name.fossil? Kind Regards, rd ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] fossil local server
On Wed, 03 Nov, 2010 06:54:20 -0700, Laurens Van Houtven wrote Can you try it anyway in Firefox? I had a very similar redirect loop problem with Chrome nightlies in a different app that magically went away with FF. lvh I have tried that, but has the same error, that refers to recursive behavior that is seen in chrome. Here is the error... The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete. * This problem can sometimes be caused by disabling or refusing to accept cookies. Kind Regards, rd ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users