mojito Posted August 18, 2008 Report Share Posted August 18, 2008 I was interested in trying out cake php framework. I cant get the basic install to work due to .htaccess files Here is the thread over at their end http://groups.google.com/group/cake-php/br...7f7bf72d1121a68 but I tried to edit the file and it doesnt work. Still FORBIDDEN error. I'm running vista. here is my .htaccess file <Directory "/www/"> # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs-2.0/mod/core.html#options # for more information. Options Indexes Includes FollowSymLinks # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit AllowOverride All Options FollowSymLinks # Controls who can get stuff from this server. Order allow,deny Allow from all </Directory> thanks for any help, as usual im halted before I get any work done frustrating for non php pros, who have to get everything right before one gets started. Quote http://www.landed.at - a travel forum, please come along and post something about a destination you know. Link to comment Share on other sites More sharing options...
jacob lee Posted August 19, 2008 Report Share Posted August 19, 2008 make your .ataccess files which is located in www folder like: AllowOverride All Options Indexes Includes FollowSymLinks Order allow,deny Allow from all or you can delete it! your configuration of www folder is in apache/conf/httpd.conf already. Quote Link to comment Share on other sites More sharing options...
Ric Posted August 19, 2008 Report Share Posted August 19, 2008 An alternative is to add the line to Cake .htaccess file <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine on RewriteRule ^$ app/webroot/ [L] RewriteRule (.*) app/webroot/$1 [L] </IfModule> All the bestRic Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.