Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 342034

Summary: [sites] index.html should work on any directory
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ServerAssignee: Project Inbox <orion.server-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: mamacdon, tomasz.zarna
Version: 0.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2011-04-06 11:11:21 EDT
0.2 M6

1. Create a project named "mysite"
2. Import a .zip created with Initializr into mysite
3. Create a new site that mounts the /mysite project at "/demo"
4. Save the site, launch it.
5. Go to http://127.0.0.2:8080/demo (or whatever the hostname of the launched site is). I expected to see my index.html, but instead I get a directory listing.

Any workspace path should allow an index.html to be provided. Currently this only works with the root (/).
Comment 1 John Arthorne CLA 2011-05-20 09:22:29 EDT
Note that our WelcomeFileFilter only appends index.html if the path has a trailing slash.
Comment 2 John Arthorne CLA 2015-05-05 14:49:19 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html