Re: Routes not working in site copy

2009-10-28 Thread toby1kenobi

Thanks Pablo, I actually found what the problem was eventually, I
needed a Directory directive for the new directory in the Apache
config.

Toby

Pablo Viojo wrote:
 Try deleting the files in tmp/cache/* folders.

 Regards,

 Pablo Viojo
 pvi...@gmail.com
 http://pviojo.net

 ¿Que necesitas?
 http://needish.com


 On Tue, Oct 27, 2009 at 12:56 PM, toby1kenobi toby.math...@gmail.comwrote:

 
  Hi everyone,
 
   I'm sure this is something simple, and glaringly obvious, but I've
  been plugging away for a couple of hours now without seeing the
  light...
 
   We have a development version of a site running, and it's about to
  go live. I SSH'd onto the server, and made a copy of the development
  site, so /var/www/dev - /var/www/html.
 
   I then opened my httpd.conf.include and copied the VirtualHost and
  Directory sections for the dev site, and modified the copies
  (DocumentRoot, ServerName mainly) for the live version. I then
  restarted Apache.
 
   For the live version I can now browse to the homepage, but anything
  involved routes doesn't work, I get a 404 (whatever debug is set to in
  core.php).
 
   If I switch the DocumentRoot for the new version to point at the
  directory used by the dev version, the site starts working again!
 
   What am I missing here?!
 
   Thanks,
 
  Toby
  
 
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Routes not working in site copy

2009-10-27 Thread toby1kenobi

Hi everyone,

  I'm sure this is something simple, and glaringly obvious, but I've
been plugging away for a couple of hours now without seeing the
light...

  We have a development version of a site running, and it's about to
go live. I SSH'd onto the server, and made a copy of the development
site, so /var/www/dev - /var/www/html.

  I then opened my httpd.conf.include and copied the VirtualHost and
Directory sections for the dev site, and modified the copies
(DocumentRoot, ServerName mainly) for the live version. I then
restarted Apache.

  For the live version I can now browse to the homepage, but anything
involved routes doesn't work, I get a 404 (whatever debug is set to in
core.php).

  If I switch the DocumentRoot for the new version to point at the
directory used by the dev version, the site starts working again!

  What am I missing here?!

  Thanks,

Toby
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Routes not working in site copy

2009-10-27 Thread Pablo Viojo
Try deleting the files in tmp/cache/* folders.

Regards,

Pablo Viojo
pvi...@gmail.com
http://pviojo.net

¿Que necesitas?
http://needish.com


On Tue, Oct 27, 2009 at 12:56 PM, toby1kenobi toby.math...@gmail.comwrote:


 Hi everyone,

  I'm sure this is something simple, and glaringly obvious, but I've
 been plugging away for a couple of hours now without seeing the
 light...

  We have a development version of a site running, and it's about to
 go live. I SSH'd onto the server, and made a copy of the development
 site, so /var/www/dev - /var/www/html.

  I then opened my httpd.conf.include and copied the VirtualHost and
 Directory sections for the dev site, and modified the copies
 (DocumentRoot, ServerName mainly) for the live version. I then
 restarted Apache.

  For the live version I can now browse to the homepage, but anything
 involved routes doesn't work, I get a 404 (whatever debug is set to in
 core.php).

  If I switch the DocumentRoot for the new version to point at the
 directory used by the dev version, the site starts working again!

  What am I missing here?!

  Thanks,

 Toby
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---