Re: problem after changing servers

2009-05-06 Thread brian

On Wed, May 6, 2009 at 2:27 AM, CakeMan  wrote:
>
> Hi,
>
> I had change my website to one server to another. my website is in
> Cakephp1.1. It was working fine at the old server however when i shift
> it to another new server the css and images are not loading. The path
> for images was "img/imagename.jpg"  BUT it is not working however if i
> change it to "app/webroot/img/imagename.jpg" then it starts showing
> the images.
>
> I have fully working website so i have to do change in all my pages to
> do this change which i don't want to do.

Don't do that. The problem is with your setup only. It's likely that
you missed an .htaccess file somewhere. Remember that they're often
hidden, so be sure you have all of them. Also, check that mod_rewrite
is working and Apache's config is correct.

http://groups.google.com/group/cake-php/browse_thread/thread/1299892b9fc0d88c

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



problem after changing servers

2009-05-05 Thread CakeMan

Hi,

I had change my website to one server to another. my website is in
Cakephp1.1. It was working fine at the old server however when i shift
it to another new server the css and images are not loading. The path
for images was "img/imagename.jpg"  BUT it is not working however if i
change it to "app/webroot/img/imagename.jpg" then it starts showing
the images.

I have fully working website so i have to do change in all my pages to
do this change which i don't want to do.

Pls help

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