How to include folders above the root in project? |
Site Admin
|
You'd set per following:
- Root Directory: W:\mulligan\ - Run Mode: 3rd party web server - Root URL: leave empty - Remote Root Dir: W:\mulligan\ - Default File to Run: W:\mulligan\public_html\index.php then add one mapping entry on the mapping tab where you'd type - Root Directory: W:\mulligan\public_html - Root URL: http://arkadia/mulligan/public_html - Remote Root Dir: W:\mulligan\public_html Dmitri. |
||||||||||||
|
|
That did it, I now have remote debugging with all folders available in the project!
Thanks for your detailed example. I studied the help on this and just didn't quite get it. This same area in HomeSite is very dificult also for some reason. ------ A few comments/suggestions One thing that confused me was when setting a path, it is not always clear if this from the 'viewpoint' of the local workstation or the remote server. For example:
Cold be improved by specifying 'Enter the path to a local physical directory.' Further an example would be helpful e.g. 'C:\Apache\htdocs'.
Im still not clear as to what should go in here if I don't have network access to the remote server? Would this be the physical path to the root from the server's view ? e.g. 'D:\Inetpub\wwwroot' on an IIS machine? An example here would improve the help also. ----------- Finally, on the Mapping tab of Project Properties, why would I want to move an entry up or down? I could find no explanation of this in the help. My new entry won't move up or down, but it works amd I'm happy with that. Just wondering for future mappings. Thanks for your fast and helpful reply. -Glen |
||||||||||||||||
|
Site Admin
|
Thanks for suggestions.
Not exactly. Under "local physical" one may understand a really local physical directory. While it could be a directory mapped from a disk shared among the network. But it's correct that this directory is from the local (IDE) point of view. Usually it's apache htdocs directory in case of local apache, or a directory where you keep your project files. Remote root directory. It should be the same as local root directory in case of local Apache or really remote directory in case of remote Apache. It's always directory from Apache's point of view. Root URL - is a presentation of the same physical directory in HTTP namespace . Usually http://localhost/ in case of local Apache.
If you have several mapping entries, they have different precedence and you may want to adjust it by moving an entry upper or lower. |
||||||||||||||||
|
|
Thanks Dmitri,
You explanation made it much clearer for me. Your support through this forum is a valuable "feature" of PhpED. -Glen |
||||||||||||
|
Site Admin
|
I hope
|
||||||||||||
|
How to include folders above the root in project? |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by