Path Mapping [message #881792] |
Tue, 05 June 2012 09:09 |
B V Raghav Messages: 1 Registered: June 2012 |
Junior Member |
|
|
I am a noob to PDT.
I am trying the following test.
Project Directory Structure:
Dummy #Project
+-index.php
\-another.php
While index.php open, I try to "Debug As -> PHP Web Application"
The configuration of the PHP server is:
Server -->
Base URL: http :// localhost
Local Web Root: <blank>
Path Mapping -->
Path On Server: /~usr/pdt/Dummy/index.php
Path on Workspace: /Dummy/index.php
The real working behind is that pdt is a symlink to the workspace folder created by:
$ ln -s /path/to/workspace /home/usr/public_html/pdt
I have also tested that
http :// localhost/~usr/pdt/Dummy/index.php
works clean.
However, on selecting the Debug File as /Dummy/index.php for Debug Configuration, the Auto Generate URL is http :// localhost/Dummy/index.php
I did not understand how the path mapping actually helps. I intended the auto generate url to be like http :// localhost/pdt/Dummy/index.php
Kinldy point out my mistake, in understanding or otherwise..
Thanks
r
P.S. - Forgive the usage of blank spaces in url... That is a limitation.
|
|
|
Powered by
FUDForum. Page generated in 0.02142 seconds