Eduardo,
eu tive aplicações no uol e não tive problemas.
Eu usava:
Eu usava:
<a href="<?=Router::url('/', true)?>contato/enviar">
<span class="btn btn-primary col-md-12">
Contato
</span>
</a>
Em 23 de julho de 2014 15:07, Eduardo Monteiro <edmonteironet@gmail.com> escreveu:
Pessoal,--Desenvolvi uma aplicação usando cakephp. Quando subi a aplicação para uma hospedagem na UOL, as URLs ficaram malucas. Em vez de mostrar URLs usando o domínio, o cake está usando o caminho completo var/www/html/minhapasta/webroot. Alguém aqui poderia me ajudar com isso?Em vez de mostrar o endereço http://edmonteiro.com/noticias/acao/18 o cake está mostrando /var/www/html/edmonteiro.com/web/noticias/acao/18.Preciso muito de ajuda.
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment