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 Dan Rossi on 11/11/05 02:00

On 11/11/2005, at 8:36 AM, Richard Lynch wrote:

> On Wed, November 9, 2005 10:36 pm, 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
>
> I should think all those .* should be .+ instead...

Ill try that thanks ! I guess i could also use [A-z] or whatever lol

>
> I mean, if somebody surfs to this URL:
>
> http://example.com//////example.video
>
> Do you really want that to hit ../../phpscript.php

No not at all, this file is actually called from a windows media player
embedded plugin , ie
/videos/somethingtoaddtogetquery/anotherthingtoaddtogetquery passed to
the script as ?somequery=$1&anotherquery=$2

 

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

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