On Tue, Sep 7, 2010 at 10:10 AM, tpl <[email protected]> wrote: > Hi, > > I'm a complete newbie when it comes to cakephp. > > We are migrating to new servers and one of those servers is hosting a > website written in php, using the cake framework. > > The website seems to be working but the images are not shown. > > When you look at the properties of the image url, on the old server: > > http://servername/img/magnify.png > > On the new server, however, we will get: > > http://servername/app/webroot/img/magnify.png. > > > Any help on where to start troubleshooting would be greatly > appreciated. Since we are on a strict budget and timeframe in the > project, I simply don't have the time to start to learn cakephp at > this time.
Is mod_rewrite enabled? A default Cake install has 3 .htaccess files. Whether they're all required or any are modified will depend on the deployment structure. Is the webroot/ dir inside of app/? Beside it? It's also possible that the mod_rewrite rules had been in the main site/virtual host Apache config. So, if you're missing any .htaccess files, check that. A search on "cakephp htaccess" should help. And is this server provided by some company? There are some that need a bit of fiddling. See here, for example: https://docs.google.com/leaf?id=0B_kFlIFfrTc7NjI4YTYzOTAtYWIyZC00Yzk3LTg2MmItNTI5MjJkNGFlMTkz&hl=en&pli=1 (click on "Web hosting examples ...") Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
