Skip to main content

[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 projectname in the Run As.. PHP Web Page URL?

Hi Roy,

I appreciate the detailed screenshot.

However that setting is applied on a page-by-page basis -- manual.

I'm looking for a similar setting that is applied globally to a project/workspace when set once.

I believe it's captured here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=236971 

Hopefully that makes it in soon.

Regards,
Matt

2008/7/8 Roy Ganor <roy@xxxxxxxx>:

Hi,

Using the launch configurations of the PHP Web Page you can specify the right path:

 

BTW – this is a classical question for the newsgroup where tons of PDT users are answering such kind of questions!

 

 


From: pdt-dev-bounces@xxxxxxxxxxx [mailto:pdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Matt Farley
Sent: Tuesday, July 08, 2008 9:46 AM
To: PDT Developers
Subject: Re: [pdt-dev] Why does Eclipse/PDT insist on injecting my projectname in the Run As.. PHP Web Page URL?

 

I thought about that as well, but I'd prefer to address it at the root -- Eclipse/PDT, as opposed to aliasing Apache for every project I start.

I can't be the only one who's ran into this?  Is there no other way?

Thanks,
Matt

2008/7/8 Nick Boldt <codeslave@xxxxxxxxxx>:

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.

Nick

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,
Matt

_______________________________________________
pdt-dev mailing list
pdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pdt-dev



_______________________________________________
pdt-dev mailing list
pdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pdt-dev

 


_______________________________________________
pdt-dev mailing list
pdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pdt-dev



Back to the top