WebFaction
Community site: login faq

I currently have a app called cakephp2_0 this is a static php5.3 app.

I also have a symlink app that is called cakephp__app that points to cakephp2__0/app/webroot folder.

When I access my symlink app through the browser it opens correctly but as soon as I click on lets say the "Add Posts" link I get this error:

The requested URL /cakephp___app/posts/add was not found on this server.

I assume there is something wrong with my .htaccess file(s) but I'm not sure what.

Any help would be greatly appreciated.

Thanks, Chris

asked 09 Jan '12, 20:44

ckooiker
536
accept rate: 0%


The directive should be RewriteBase.

It can also be the HTML links, if the links are to '/foo/' and not 'foo/' this can happen because of the the starting forward slash setting the absolute path.

permanent link

answered 09 Jan '12, 21:10

johns ♦♦
5.2k211
accept rate: 22%

Thanks for your reply, I tried to use the RewriteBase, and i got the web app working when i wasn't using the symlink app to point to it.

I assume that cakephp is getting confused when i use the symlink app to point to the webroot folder.

(10 Jan '12, 07:53) ckooiker

Yes this is possible that the symbolic link is causing a conflict.

(10 Jan '12, 08:36) timg ♦♦
Your answer
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:

×33
×13
×7

question asked: 09 Jan '12, 20:44

question was seen: 2,568 times

last updated: 10 Jan '12, 08:36

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