You are here: Re: [PHP] mod_rewrite, apache2, php5RC1 and osx bsd « PHP « IT news, forums, messages
Re: [PHP] mod_rewrite, apache2, php5RC1 and osx bsd

Posted by Curt Zirzow on 11/11/05 04:21

On Thu, Nov 10, 2005 at 06:10:50PM +1100, Dan Rossi wrote:
>
> On 10/11/2005, at 4:18 PM, Curt Zirzow wrote:
>
> >On Thu, Nov 10, 2005 at 03:36:07PM +1100, Dan Rossi wrote:
> >>Hi there, ive been having issues with mod_rewrite and apache2 with PHP
> >>5.1RC1. I have googled the php bugs and people have been experiencing
> >>the same issue however the php people cant see to reproduce the bug.
> >>Its most definately doing it for me, here is a rewrite rule i have
> >>setup, if i [L] to a php script, it either tries to download the faked
> >>url file or hangs. I reverted back to 5.1.0b2 and it works fine ??
> >>What do i do ?
> >>
> >>RewriteRule ^(.*)/(.*)/(.*)/(.*)/(.*)/(.+\.(video))$
> >>../../phpscript.php
> >
> >Well this is a really ugly Rewrite, i must say.
>
> Say what you like however it had been working, and for the application
> it works, i dont think you get what its trying to do but anyway , im
> faking a url with session id's and ecrypted keys and sending the
> matches to the get request of that file so its hidden.

Of course i dont get what your trying to do, the rewriterule
doesn't match your description of what you said.

>
> >
> >One thing to note is well 5.1RC4 has been available in Oct:
> > http://downloads.php.net/ilia/
> >
>
> Thats not available from the main site downloads. I also forgot to
> meantion i had downloaded the latest from php snaps and still the same
> problem, so obviouslly it has been overlooked.

From your other discusions it is kind of unclear exactly what
version of apache you are using, as well as are you using perfork,
perchild, worker, etc..

Also You mention fink but then you mention bsd, does it happen on
both systems?

As far it trying to download the faked url, what exactly is it
trying to download and what are the headers for the request as
well.

The hanging could be a loop of some sort, have you looked at the
output of the rewrite log to see exactly what is going on?


Curt
--

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация