Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] How to use the web server?

To make that 200 OK, you would go to http://localhost:8080 and log in (create a new account if you haven't - user creation is enabled for everyone for now but can be disabled), using the same browser that will later do the GET request on http://localhost:8080/file/org.eclipse.orion.client.core/static/ide.css so that it will send the cookie that gets set once you've logged in.

The secondary question, the file is available because we make two directories (client.core, client.editor) available for all accounts. This is meant for people who download the server and want to "kick the tires". To get one of your directories to show up, you would add the option to eclipse.ini and then after logging in, click on the "chain" tool item that shows up at the root. This will open a "link folder" dialog. Enter a name you want it to show up under in Orion (e.g. "fbug") and as server path enter "C:\jjb\eclipse\fbugWorkspace\fbug". The idea is that the prefix would be something that contains directories you want to work on, e.g. "C:\jjb\eclipse\fbugWorkspace" so that you can then link to subdirectories that you want to see. For example, your fbugWorkspace might contain other directories.

Makes sense?

Boris

Inactive hide details for "John J. Barton" ---2011/01/26 13:05:10---Using the example Boris posted: http://localhost:8080/file/"John J. Barton" ---2011/01/26 13:05:10---Using the example Boris posted: http://localhost:8080/file/org.eclipse.orion.client.core/static/ide.


From:

"John J. Barton" <johnjbarton@xxxxxxxxxxxxxxx>

To:

Orion developer discussions <orion-dev@xxxxxxxxxxx>

Date:

2011/01/26 13:05

Subject:

[orion-dev] How to use the web server?

Sent by:

orion-dev-bounces@xxxxxxxxxxx




Using the example Boris posted:

http://localhost:8080/file/org.eclipse.orion.client.core/static/ide.css

I get 401 unauthorized.

My primary question is how to make that be 200 ok.

A secondary question: why is that file available? I put
-Dorg.eclipse.e4.webide.server.allowedPathPrefixes=C:\jjb\eclipse\fbugWorkspace\fbug
in my eclipse.ini, but that directory does not show up. I get two others orion client and server, but I don't understand why.

jjb


_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/orion-dev


GIF image

GIF image


Back to the top