WebFaction
Community site: login faq

I am trying to install a CakePHP website in Webfaction. I've created a website, a PHP 5.3 webapp and put the files in the correct directories.

Whien I echo $content_for_layout a get a message from CakePHP saying "URL rewriting is not properly configured on your server." anyone knows how to solve this?

asked 20 Nov '11, 12:33

daniels1006
11
accept rate: 0%

Are you using CakePHP under a sub-directory or a sub-URL path?

If so, have you set the RewriteBase in your .htaccess?

(20 Nov '11, 19:12) neeravk

Which .htaccess does this need to be set in? I.e. which folder?

(27 Sep '13, 22:59) Xiuyuan

This would be at the root of the application; for example "$HOME/webapps/myapp/.htaccess"

(27 Sep '13, 23:32) ryans ♦♦
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×13
×7

question asked: 20 Nov '11, 12:33

question was seen: 2,368 times

last updated: 27 Sep '13, 23:32

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2016 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM