[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pdt-dev] Why does Eclipse/PDT insist on injecting my project name in the Run As.. PHP Web Page URL?

If you're using Apache2 as your test server (or most likely all php-enabled http servers), you can alias/virtualhost http://localhost/ProjectX/ as http://locahost/ with some minor adjustments to your config files. Details on request.


2008/7/7 Matt Farley <matt@xxxxxxxxxxxxxxxx>:
Just started using PDT and for the life of me I can't figure out how to get PDT to stop injecting the project name in the Debug/Run "PHP Web Page" URL.

In my example, my site exists at: http://localhost/
And my project is named: "ProjectX"

So when I'm editing a PHP page and I want to run/debug as "PHP Web Page" the initial URL it prompts me with in the popup is: http://localhost/ProjectX/path/to/file.php

I've been pulling my hair out trying to figure out how to get it to default to:
http://localhost/path/to/file.php  (I've been having to manually remove the /ProjectX/ from each URL.

Any help is greatly appreciated!

Many thanks,

pdt-dev mailing list