|
Posted by alex on 03/11/06 16:51
Sorry, I was away for a while.
> Follow Jerry Stuckle's advise and make the include relative to
> $_SERVER['DOCUMENT_ROOT'].
Ok, my problem is that I have many included scripts to change :-(
> In my case, my includes are not in the web tree, so setting the path is
> appropriate.
>
> BTW: I don't think URL rewriting has any affect on the include_path since
> a) the path is absolute and b) PHP does care about URLs.
That's exaclty what I think... and it's the case on my production server
(and it was on my local machine few days ago).
Still, with my brand new xampp set up on my local dev machine, I now have
this problem (I didn't encounter it before with apache/php/mysql and zend
server).
I found a "solution" => adding http redirection in all my rewrite
conditions, i.e :
before : RewriteCond ^test$ /test.htm
after : RewriteCond ^test$ /test.htm [R=304]
It works but doesn't really satisfy me.
--
alex
Navigation:
[Reply to this message]
|