Jump to content
The Uniform Server Community
Sign in to follow this  
mojito

cake php install

Recommended Posts

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.


http://www.landed.at - a travel forum, please come along and post something about a destination you know.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 best

Ric

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...