2009/4/21 Jalil F. <[email protected]>:
>
>
> Thanks. I see the new rules:
>
> RewriteEngine On
> RewriteCond %{REQUEST_FILENAME} -s [OR]
> RewriteCond %{REQUEST_FILENAME} -l [OR]
> RewriteCond %{REQUEST_FILENAME} -d
> RewriteRule ^.*$ - [NC,L]
> RewriteRule ^.*$ /index.php [NC,L]

Change the above to
RewriteRule ^.*$ index.php [NC,L]
(without a slash before index.php)
Then put your project in the Stage directory.

>
>
> However, I still have the same question. Could you help?
>
> Thanks,
>
> -Jalil
>
>
> vince. wrote:
>>
>> Hey,
>>
>> Please refer to the manual on the recommended rewrite rules to use, The
>> one
>> your using are from older versions.
>>
>> Vince.
>>
>> On Mon, Apr 20, 2009 at 11:22 PM, Jalil F. <[email protected]> wrote:
>>
>>>
>>> Currently, I have:
>>>
>>> RewriteRule !\.(js|ico|gif|jpg|png|css|htm|html)$ index.php
>>>
>>> in my htaccess file. I would like to run an exact parallel staging
>>> environment under <mysiteURL>/Stage. How should I modify this rule for
>>> this
>>> to happen?
>>>
>>> Thanks for your help,
>>>
>>> -Jalil
>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Question-on-RewriteRule-tp23144164p23144164.html
>>> Sent from the Zend Framework mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>> --
>> Vincent Gabriel.
>> Lead Developer, Senior Support.
>> Zend Certified Engineer.
>> Zend Framework Certified Engineer.
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/Question-on-RewriteRule-tp23144164p23158564.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>



-- 
Regards,
Martin Martinov
http://mmartinov.com/

Reply via email to