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.
Summary: | project url expected end with '/' | ||
---|---|---|---|
Product: | php | Reporter: | mmuru |
Component: | Project | Assignee: | Tomas Mysik <tmysik> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | rmatous |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
mmuru
2010-08-04 00:11:15 UTC
Discussed many times AFAIK, please justify this requirement by commenting a little bit and reopen(now treated as incomplete and waiting for your input) if you strongly believe this should be fixed or changed. Anyway PHP->Project is the right category here Currently, developinng symfony framework based php web application using NB69 and most of the page url don't end with '/' and they are absolutely valid. Everything else is working in NB except this one issue annoying hence unable to run and debug these pages individually. I strongly feel this should be fixed or at least provide an option to enable/disable in the "advanced tab" of the run time configuration. Please, don't close this issue w/o provide me a workaround for it. Let me know if you need additional information. Well, this could be perhaps changed but 2 things need to be kept in mind: 1) Project URL should point to a "directory" - why? Because if you Run File, the relative path of the file is appended to the Project URL (so something like "http://localhost/index.phpmy/file.php" could be the result) 2) I believe that the "start" file is needed for debugger - Radku, can you confirm, please? Or are we able to start debugging e.g. "http://localhost/hello" and the debugger will work? In any case, I will look at it and try to change it if possible. Thanks. 1. anyone can use DirectoryIndex apache directive points to a start up file and should not be assumed it always index.php 2. http://localhost/start is not directory. It is a valid url of the page. may or may not have extension 3. In symfony, one can use 'routing.yml' to reconfigure how to access each pages a.k.s rewrite In any case, NB should have flexible options for project run-time configurations In mean time, please let me know is there any workaround for issue? TIA -Muru (In reply to comment #4) > 1. anyone can use DirectoryIndex apache directive points to a start up file and > should not be assumed it always index.php Yes and this could be the problem for debugger - Radku, can you confirm whether we need to know the "start" file or not? Thanks. > 2. http://localhost/start is not directory. It is a valid url of the page. may > or may not have extension Sorry, not sure why you mention this point. > 3. In symfony, one can use 'routing.yml' to reconfigure how to access each > pages a.k.s rewrite Again, this could be a problem for the debugger, not for running a file/project. > In any case, NB should have flexible options for project run-time > configurations Agreed. > In mean time, please let me know is there any workaround for issue? No. Fixed, please verify. Thanks. http://hg.netbeans.org/web-main/rev/622b25c32dc8 Integrated into 'main-golden', will be available in build *201008110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/622b25c32dc8 User: Tomas Mysik <tmysik@netbeans.org> Log: #189186: project url expected end with '/' |