What's the AllowOverrides setting for the vhost this thing is on? Maybe try it on All?
MM On Sun, May 15, 2011 at 5:15 PM, Marco Pais <[email protected]> wrote: > Thanks again Matt. > > I've tried several configs of the 3 .htaccess files. Right now, I have > cakephp in a subdirectory of htdocs: > > - htdocs - c:\xampp\htdocs > - cake site - c:\xampp\htdocs\subdir\cakephp > > So, my 3 .htaccess files follows like this: > > ----------- subdir/cakephp/.htaccess -------------------- > > <IfModule mod_rewrite.c> > RewriteEngine on > RewriteBase /subdir/cakephp/ > RewriteRule ^$ app/webroot/ [L] > RewriteRule (.*) app/webroot/$1 [L] > </IfModule> > > ----------- subdir/cakephp/app/.htaccess -------------------- > > <IfModule mod_rewrite.c> > RewriteEngine on > RewriteBase /subdir/cakephp/app/ > RewriteRule ^$ webroot/ [L] > RewriteRule (.*) webroot/$1 [L] > </IfModule> > > ----------- subdir/cakephp/app/webroot/.htaccess -------------------- > > <IfModule mod_rewrite.c> > RewriteEngine On > RewriteBase /subdir/cakephp/app/webroot/ > RewriteCond %{REQUEST_FILENAME} !-d > RewriteCond %{REQUEST_FILENAME} !-f > RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] > </IfModule> > > It doesn't work :( > > 2011/5/15 Matt Murphy <[email protected]> > >> you could try adding a RewriteBase for each .htaccess file of the 3 index >> directories which directs to that directory. (again, / /app, and >> /app/webroot). >> Might need terminating slashes... Can't remember. >> >> MM >> On Sun, May 15, 2011 at 4:44 PM, marcopais <[email protected]> wrote: >> >>> Yes, .htaccess files are there. Plus, I have tried without mod_rewrite, >>> as explained >>> here<http://wwdj.wijndaele.com/getting-started-with-cakephp-without-mod_rewrite/> >>> (is >>> somewhere on cakephp book also), but no luck. >>> >>> I read that, although this problem is mainly caused by mod_rewrite >>> issues, it can happen also due to some other problems, like whitespaces. >>> >>> 2011/5/15 Matt Murphy [via CakePHP] <[hidden >>> email]<http://user/SendEmail.jtp?type=node&node=4398501&i=0> >>> > >>> >>> You may have failed to transfer the hidden files, namely .htaccess. -- >>>> the relevant ones live in / /app and /app/webroot. Are they there? >>>> >>>> MM >>>> >>>> On Sun, May 15, 2011 at 4:22 PM, marcopais <[hidden >>>> email]<http://user/SendEmail.jtp?type=node&node=4398497&i=0> >>>> > wrote: >>>> >>>>> Hi there, Sorry to undig this old thread, but I'm running exactly the >>>>> same problem as @ajoberstar. My welcome page doesn't load any css and some >>>>> other include files, like the site mainmenu. This problem occurs on a site >>>>> that I've imported from a online server, where it's working fine. I need >>>>> to >>>>> get it working locally so I can make a few changes. I'm running XAMPP on >>>>> Windows 7. I ran this script >>>>> <http://bin.cakephp.org/saved/33005>mentioned on this thread, but still >>>>> no luck. I have mod_rewrite running, as >>>>> I have installed a fresh cakephp site, which works fine. Only the imported >>>>> site don't work... Any help? >>>>> ------------------------------ >>>>> View this message in context: Re: Welcome Page not finding >>>>> CSS/Images<http://cakephp.1045679.n5.nabble.com/Welcome-Page-not-finding-CSS-Images-tp1328476p4398451.html> >>>>> Sent from the CakePHP mailing list >>>>> archive<http://cakephp.1045679.n5.nabble.com/>at Nabble.com. >>>>> >>>>> -- >>>>> Our newest site for the community: CakePHP Video Tutorials >>>>> http://tv.cakephp.org >>>>> Check out the new CakePHP Questions site http://ask.cakephp.org and >>>>> help others with their CakePHP related questions. >>>>> >>>>> >>>>> To unsubscribe from this group, send email to >>>>> [hidden email] <http://user/SendEmail.jtp?type=node&node=4398497&i=1>For >>>>> more options, visit this group at >>>>> http://groups.google.com/group/cake-php >>>>> >>>> >>>> -- >>>> Our newest site for the community: CakePHP Video Tutorials >>>> http://tv.cakephp.org >>>> Check out the new CakePHP Questions site http://ask.cakephp.org and >>>> help others with their CakePHP related questions. >>>> >>>> >>>> To unsubscribe from this group, send email to >>>> [hidden email] <http://user/SendEmail.jtp?type=node&node=4398497&i=2>For >>>> more options, visit this group at >>>> http://groups.google.com/group/cake-php >>>> >>>> >>>> ------------------------------ >>>> If you reply to this email, your message will be added to the >>>> discussion below: >>>> >>>> http://cakephp.1045679.n5.nabble.com/Welcome-Page-not-finding-CSS-Images-tp1328476p4398497.html >>>> To unsubscribe from Welcome Page not finding CSS/Images, click here. >>>> >>> >>> >>> ------------------------------ >>> View this message in context: Re: Welcome Page not finding >>> CSS/Images<http://cakephp.1045679.n5.nabble.com/Welcome-Page-not-finding-CSS-Images-tp1328476p4398501.html> >>> Sent from the CakePHP mailing list >>> archive<http://cakephp.1045679.n5.nabble.com/>at Nabble.com. >>> >>> -- >>> Our newest site for the community: CakePHP Video Tutorials >>> http://tv.cakephp.org >>> Check out the new CakePHP Questions site http://ask.cakephp.org and help >>> others with their CakePHP related questions. >>> >>> >>> To unsubscribe from this group, send email to >>> [email protected] For more options, visit this group >>> at http://groups.google.com/group/cake-php >>> >> >> -- >> Our newest site for the community: CakePHP Video Tutorials >> http://tv.cakephp.org >> Check out the new CakePHP Questions site http://ask.cakephp.org and help >> others with their CakePHP related questions. >> >> >> To unsubscribe from this group, send email to >> [email protected] For more options, visit this group >> at http://groups.google.com/group/cake-php >> > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > [email protected] For more options, visit this group > at http://groups.google.com/group/cake-php > -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
