Okay, found the solution, and feel a bit foolish about it :). I've been searching for answers in .htaccess files, apache conf etc., but the answer is really simple.
The move command in linux by default does not move the hidden files. I was using the following commands: ~/webprojects/testcake $ mkdir trunk ~/webprojects/testcake $ mv * trunk This was leaving the .htaccess file in the root itself. What I should have done was: ~/webprojects $ mv testcake trunk ~/webprojects $ mkdir testcake ~/webprojects $ mv trunk testcake/ and that solves it! On Fri, Mar 19, 2010 at 9:10 AM, Plasty Grove <[email protected]>wrote: > Hi all, > > I'm new to cakephp and coming in from a core java background. I'm trying to > set up the versioning in a way that I'm used to, with trunk as the main > development branch. I'm using Ubuntu. > > I've got apache set up to redirect localhost to ~/public_html. I've created > a folder ~/webprojects which holds all the projects and symlinking from > public_html to webprojects. > > However, the CSS and images seem to work only if I symlink as follows: > > ~/public_html/testcake -> ../webprojects/testcake > > They don't show up if I move all the contents under testcake into a folder > called trunk and symlink to that instead. I.e. > > ~/public_html/testcake-> ../webprojects/testcake/trunk > > (testcake is the cakephp package renamed, it has the folders app, cake etc) > > Any help would be appreciated. > > Thanks, > Plasty > > > Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" 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 To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
