You do not need to edit the rewrite rules. The rewrite rules only redirects 
traffic to the index.php if a request does not have a corresponding real file. 

It is thus possible to bypass zf bootstrapping simply by creating a file. 

For example:

Info.php with phpinfo(); inside.



> Op 22 mrt. 2015 om 16:18 heeft edipoReboucas <[email protected]> het 
> volgende geschreven:
> 
> You have to modify the rewrite rules of you server.
> 
> If you are using apache, probably the rewrite are on .htaccess of your
> public folder.
> Em 22/03/2015 12:22, "expertics [via Zend Framework Community]" <
> [email protected]> escreveu:
> 
>> How to use a standalone php file in the public folder that bypasses the
>> MVC bootstrapping, because I want to use  Zend\ProgressBar adapter for
>> upload files.
>> 
>> Thanks in advance!
>> 
>> George
>> 
>> --
>> List: [hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=4662494&i=0>
>> Info: http://framework.zend.com/archives
>> Unsubscribe: [hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=4662494&i=1>
>> 
>> 
>> 
>> 
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>> 
>> http://zend-framework-community.634137.n4.nabble.com/Bypasses-the-MVC-bootstrapping-tp4662494.html
>> To start a new topic under Zend Framework, email
>> [email protected]
>> To unsubscribe from Zend Framework, click here
>> <http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=634138&code=Y29udGF0b0BlZGlwby5jb20uYnJ8NjM0MTM4fDY3OTY2MTE2>
>> .
>> NAML
>> <http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
> 
> 
> 
> 
> --
> View this message in context: 
> http://zend-framework-community.634137.n4.nabble.com/Bypasses-the-MVC-bootstrapping-tp4662494p4662495.html
> Sent from the Zend Framework mailing list archive at Nabble.com.

--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to