This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Reproduced in build071120. Project as well as subfolders should have index file for executing.
fixed. if there are no selected files of default index files inside selected folders that can be run, notification message will be printed. We now look for 'index.php' only as for index file. May be should also look for another files that can be used as index... - for files with different extensions - with different names containing 'index' - index specified by user. Now just look for the same file we suggest as index during project creation.
I strongly object from assigning folder url some "index" file via IDE. Web server can be configured in the way of having ANY file as index. And we cannot determine this configuration. User could have configuration of web server where index file is f.e. "default.php", he has this file in his project tree and he expects that opening project or folder url will lead to opening "default.php" as result . Not "index.php". So name "index" is just commonly used name and nothing more. It has no preference against any other name. And as I said before there is no possibility to know what index file is ( it can be "index.html" at all without any "php" ). So I don't understand why we should decide INSTEAD of web server what file should be opened when user runs "http://webserver/" url. We just need to open EXACTLY this url "http://webserver/" and nothing more. The real result will depend on web server configuration. I don't understand the bug description exactly but I object against provided fix.
As I have understood from discussion with QE, issue is about 'run in command line'. The best decision is to have 'run in command line' on files only. But there was a request to have 'run in command line' on project (which means 'on directory'). While we have no mechanism to let user specify index file for directory (line in apache's httpd.conf), we have to suggest our version of index file name.
Good for me.