|
List Info
Thread: Why does Eclipse/PDT insist on injecting my project name in the Run As.. PHP Web Page URL?
|
|
| Why does Eclipse/PDT insist on
injecting my project name in the Run
As.. PHP Web Page URL? |

|
2008-07-07 17:29:52 |
|
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
|
| Re: Why does Eclipse/PDT insist on
injecting my project name in the Run
As.. PHP Web Page |

|
2008-07-07 21:57:40 |
|
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
|
| Re: Why does Eclipse/PDT insist on
injecting my project name in the Run
As.. PHP Web Page |

|
2008-07-08 01:46:12 |
|
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  ca.ibm.com ">codeslave ca.ibm.com>:
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  farleyfami ly.net" target="_blank">matt farleyfamily.net>:
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 eclipse.org" target="_blank">pdt-dev eclipse.org
https://dev.eclipse.org/mailman/listinfo/pdt-dev
_______________________________________________
pdt-dev mailing list
pdt-dev eclipse.org">pdt-dev eclipse.org
https://dev.eclipse.org/mailman/listinfo/pdt-dev
|
| RE: Why does Eclipse/PDT insist on
injecting my projectname in the Run As..
PHP Web Page U |
  Israel |
2008-07-08 01:56:43 |
|
Hi,
Using the launch configurations of the
PHP Web Page you can specify the right path:
01C8E0E0.ECE18D40">
BTW – this is a classical question
for the newsgroup where tons of PDT users are answering such kind of questions!
From:
pdt-dev-bounces eclipse.org [mailto:pdt-dev-bounces eclipse.org] 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 ca.ibm.com">codeslave ca.ibm.com>:
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 farleyfamily.net"
target="_blank">matt farleyfamily.net>:
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 eclipse.org" target="_blank">pdt-dev eclipse.org
https://dev.eclipse.org/mailman/listinfo/pdt-dev
_______________________________________________
pdt-dev mailing list
pdt-dev eclipse.org">pdt-dev eclipse.org
https://dev.eclipse.org/mailman/listinfo/pdt-dev
|
 |
| View Original Image |
| Re: Why does Eclipse/PDT insist on
injecting my projectname in the Run As..
PHP Web Page U |

|
2008-07-08 07:26:45 |
|
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  zend.com"> roy zend.com>:
Hi,
Using the launch configurations of the
PHP Web Page you can specify the right path:
01C8E0E0.ECE18D40" width="840" height="502">
BTW – this is a classical question
for the newsgroup where tons of PDT users are answering such kind of questions!
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 ca.ibm.com" target="_blank">codeslave ca.ibm.com>:
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 farleyfamily.net" target="_blank">matt farleyfamily.net>:
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
I9;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 eclipse.org" target="_blank">pdt-dev eclipse.org
https://dev.eclipse.org/mailman/listinfo/pdt-dev
_______________________________________________
pdt-dev mailing list
pdt-dev eclipse.org" target="_blank">pdt-dev eclipse.org
https://dev.eclipse.org/mailman/listinfo/pdt-dev
_______________________________________________
pdt-dev mailing list
pdt-dev eclipse.org">pdt-dev eclipse.org
https://dev.eclipse.org/mailman/listinfo/pdt-dev
|
 |
| View Original Image |
[1-5]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|