Obrigado Maurício!

Acabei de falar com o gerente do servidor, e o problema foi causado pela
versão 2.2 do apache, ele instalou então a versão 2.0 e funcionou, não tinha
nada a ver com o cake.
Simplesmente qualquer requisição para img, css (qualquer coisa menos php,
html) ele retornava só o header, uma coisa muito estranha :S

Obrigado pela atenção de todos, se alguém tiver um problema similar e só
perguntar eu pego mais informações.

Abraços

2007/7/31, Maurício Pena <[EMAIL PROTECTED]>:
>
> O mod_rewrite do seu servidor apache está desabilitado. Siga estas
> instruções do manual do cake e veja se resolve o problema:
>
> Configuring Apache and mod_rewrite
>
> While CakePHP is built to work with mod_rewrite out of the box, we've
> noticed that a few users struggle with getting everything to play nicely on
> their systems. Here are a few things you might try to get it running
> correctly:
>
>    1.
>
>    Make sure that an .htaccess override is allowed: in your httpd.conf,
>    you should have a section that defines a section for each Directory on your
>    server. Make sure the *AllowOverride* is set to *All* for the
>    correct Directory.
>    2.
>
>    Make sure you are editing the system httpd.conf rather than a user-
>    or site-specific httpd.conf.
>    3.
>
>    For some reason or another, you might have obtained a copy of
>    CakePHP without the needed .htaccess files. This sometimes happens because
>    some operating systems treat files that start with '.' as hidden, and don't
>    copy them. Make sure your copy of CakePHP is from the downloads section of
>    the site or our SVN repository.
>    4.
>
>    Make sure you are loading up mod_rewrite correctly! You should see
>    something like *LoadModule rewrite_module
>    libexec/httpd/mod_rewrite.so* and *AddModule mod_rewrite.c* in your
>    httpd.conf.
>    5.
>
>    If you are installing Cake into a user directory (
>    http://example.com/~myusername/ <http://example.com/%7Emyusername/>),
>    you'll need to modify the .htaccess file in the base directory of your Cake
>    installation. Just add the line "RewriteBase /~myusername/".
>    6.
>
>    If for some reason your URLS are suffixed with a long, annoying
>    session ID (
>    http://example.com/posts/?CAKEPHP=4kgj577sgabvnmhjgkdiuy1956if6ska),
>    you might also add "php_flag session.trans_id off" to the .htaccess
>    file at the root of your installation as well.
>
>
>
> On 7/30/07, André Piantino <[EMAIL PROTECTED]> wrote:
> >
> > Olá!
> >
> > Eu instalei o cakephp na minha máquina Win, e apareceu legal, mas quando
> > coloquei no servidor Linux o arquivo css padrão que o cake gera vem vazio.
> > Alguém já teve esse problema?
> >
> > Abraço
> >
> > --
> > André Porto Leal Piantino <[EMAIL PROTECTED]>
> > SkypeId: andrepiantino
> >
> >
>
> >
>


-- 
André Porto Leal Piantino <[EMAIL PROTECTED]>
SkypeId: andrepiantino

--~--~---------~--~----~------------~-------~--~----~
Recebeu esta mensagem porque está inscrito em Grupo "Cake PHP Português" do 
Grupos Google.
 Para enviar mensagens para este grupo, envie um email para 
[email protected]
 Para anular a inscrição neste grupo, envie um email para [EMAIL PROTECTED]
 Para mais opções, visite este grupo em 
http://groups.google.com/group/cake-php-pt?hl=pt-PT
-~----------~----~----~----~------~----~------~--~---

Responder a