Thursday, March 3, 2011

Re: How to completly deny access to test.php?

On Thu, Mar 3, 2011 at 6:03 AM, chris <chris.gan@internetlogistics.com> wrote:
> I notice that if you have the debug level set to 0 then accessing a
> url such as
>
> myapp.com/test.php
>
> results in the message
>
> 'Debug setting does not allow access to this url.'
>
> Is there a setting to make it so this URL is completely inaccessible
> for production sites, either it redirects or goes to an error page?

Yes, there is just such a setting:

rm -f app/webroot/test.php

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate