Tuesday, May 3, 2011

Re: Route problem with PHP 5.3

> I've put an phpinfo() file into webroot folder and it was accessible with
> http://localhost/projectname/app/webroot/teste.php

your url shouldnt look like that if you have set up your httpd conf
correctly.

http://localhost/projectname/app/webroot/teste.php

should be

http://localhost/projectname/teste.php

or better

http://localhost/teste.php


hosts should look like

<VirtualHost *>
ServerName servername
DocumentRoot /data/projectname/app/webroot/
<Directory /data/projectname/app/webroot/>
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>


also check you've set correct paths in webroot/index.php

whist this doesnt affect the php issue, it should make the routing behave
better.

HTH


> --
> 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
>


--
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

No comments: