Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342034 - [sites] index.html should work on any directory
Summary: [sites] index.html should work on any directory
Status: RESOLVED WONTFIX
Alias: None
Product: Orion
Classification: ECD
Component: Server (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-06 11:11 EDT by Mark Macdonald CLA
Modified: 2015-05-05 14:49 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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