Intermediate PHP knowledge here but just getting into Cake. Installed on: OS: MS Vista Server: Apache PHP: 5.2.3 MySQL: 5.0.45 Cake: 1.1.19...
Installed Apache/PHP/MySQL using AppServ 2.5.9. Directory structure: www/ -------->cake/ ------------------>app/ ------------------>cake/ ------------------>doc/ ------------------>vendors/ Doing the cake blog tutorial (http://manual.cakephp.org/appendix/ blog_tutorial). Now, when I access localhost/cake/, I get the home page full with CSS styles, db config file present, db connected, etc. After doing the files for the blog (up to Section 8, /app/views/posts/ index.thtml), this is the url I input: http://localhost/cake/posts/index I get the same Home page, only without the CSS. I go back through the three files: --->app/controllers/posts_controller.php --->app/models/post.php --->app/views/posts/index.thtml (have tried .ctp extension as well as I saw this in another tutorial). In do a simple echo statement at the beginning of each script and exit the script...but on reloads I see the same page. I've enabled mod_rewrite in my httpd.conf file. I've also added: <Directory "/cake/app/webroot"> Options Indexes MultiViews AllowOverride All Order allow,deny Allow from all </Directory> below: <Directory /> Options FollowSymLinks ExecCGI Indexes AllowOverride None Order deny,allow Deny from all Satisfy all </Directory> in my httpd.conf file. I've restarted, stopped and started Apache and even rebooted my computer. My thinking being along the lines that it is the rewrite issue as I get the home page content, just without the CSS. I've also added below into the .htaccess file: <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^$ app/webroot/ [L] RewriteRule (.*) app/webroot/$1 [L] </IfModule> Because I'm not too familiar with how this works I also tried variations of /cake/app/webroot, cake/app/webroot, /app/webroot, / webroot and webroot. I worked on the .htaccess files in both the / cake directory and the app directory (both read what is above now). Hope I've provided enough information for someone to point me in the right direction. I have my server set up with four sites (cake being one) and I'd like to keep it that way if possible. Thanks for any help in advance! Tim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
