Try enabling rewrite module in you Apache config. The line should look like the one below. I had the same problem and got it solved by doing so.
LoadModule rewrite_module modules/mod_rewrite.so -- Jena On Wednesday, March 2, 2011 9:42:12 PM UTC+5:30, Duke wrote: > > Thanks for your reply, > > The server is configured as follows: > > Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.7a > mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 > > I tried renaming cake.generic.css to cake.css, and changing > default.ctp but still get the same error 406. > > I'll have a look at core.php to see if I can spot anything but being a > newbie I highly suspect nothing will jump out! > > On Mar 2, 3:25 pm, Sam Sherlock <sam.sherl...@gmail.com> wrote: > > what server is this installed on? > > > > the display of the home ctp file works ok? (not styled) > > try domain.com/app/pages/home - this should display the same home.ctp > > > > I have feeling that this issue might have something to do with MIME > > > > > types on the server due to the dot in the filename (cake.generic.css), > > > but I am doubtful. > > > > I doubt that but you can check > > > > what happens if you: > > a) copy the cake.generic.css -to- cake.css > > b) update the app/views/layouts/default.ctp to point to cake.css > > > > do you still get err 406? > > > > maybe something is happening with htaccess and the default ht's need > > altering for your server > > maybe you need to use cake internal routing - see app/config/core.php > > > > - S > > > > On 2 March 2011 13:40, Duke <chrispickf...@gmail.com> wrote: > > > > > > > > > > > > > > > > > Hi all, > > > > > My first post here so I'll give a little introduction. I'm pretty new > > > to CakePHP but have experience with PHP and MVC. So far I've read > > > through the cookbook and I'm halfway through reading a more in depth > > > book on the platform. > > > > > I have just done a fresh install onto a test web host and when loading > > > up the default index page it isn't applying any CSS styles. Looking > > > further into it, the host is returning a HTTP error 406 (Not > > > Acceptable) for the /css/cake.generic.css file. > > > > > A little about the install... > > > > > Cake root: /home/xxx/cakephp > > > App root: /home/xxx/cakephp/app > > > Web root: /home/xxx/public_html/app > > > URL:http://domain.com/app > > > > > I have feeling that this issue might have something to do with MIME > > > types on the server due to the dot in the filename (cake.generic.css), > > > but I am doubtful. > > > > > Has anyone experienced this problem, or even better, managed to > > > resolve it? > > > > > Many Thanks > > > > > -- > > > Our newest site for the community: CakePHP Video Tutorials > > >http://tv.cakephp.org > > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help > > > others with their CakePHP related questions. > > > > > To unsubscribe from this group, send email to > > > cake-php+u...@googlegroups.com <javascript:> For more options, visit > this group > > > athttp://groups.google.com/group/cake-php -- 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+unsubscr...@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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.