Debugging conflicts with mod_rewrite [message #8860] |
Wed, 21 March 2007 17:24 |
Eclipse User |
|
|
|
Originally posted by: nospam.home.net
Hi group,
I´m not quite sure, wether this bug is really PDT related (my guess is
not), but since this currently seems to be the only place where one can
find equally minded pdt users, I thought I'd give it a shot.
The problem is quite easy to explain:
When mod_rewrite is being used on the path which is meant to be
debugged, the debugging session in PDT just stalls.
Simple example:
I have a contentdir called /vp and a matching setup in eclipse.
So basically when I want to debug my index.php I get a created URL of:
http://localhost/vp/index.php?<here comes all the GET params for the
debugger>
This works fine so far. Now lets do a simple change and add a rewrite
rule to the httpd configuration:
RewriteEngine On
RewriteRule ^/vp_rewritten(.*) /vp$1
As you can see, nothing fancy - just an ALIAS implemented with mod_rewrite.
Of course I have to change the URL that eclipse creates manually now. ;-)
OK, what happens when I acutally do request this URL:
Well I can see that 'something' is happening, because eclipse's debug
view at least shows a running <PHP Application> in the Debug tab. The
problem is, that neither a break point seems to be reached, nor does the
request ever return. Even when I disable all breakpoints. So the browser
just hangs there, waiting for a response from the server. So far, I
could not make out anything unusual like exploding memory-/cpu-usage.
Since everything with PDT and the debugger seems rather experimental to
this point, I guess this might be a bug somewhere in the setup.
Question to you all is: How can I proceed? Are there any logs I could
produce and give e.g. the guys @ Zend ? (I think some of them are
reading here as well.)
bye, Michael
|
|
|
Powered by
FUDForum. Page generated in 0.03642 seconds