Hi, thanks for your reply.
Currently, my file structure looks as follows: /app .htaccess <-- added the 'rewriteBase /' statement /cake /vendors .htaccess But what do I have to do with the .htaccess in the root directory (at app, cake and vendors level) I currently have two versions: (1) The one which was in the current install of cakePHP <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^$ app/webroot/ [L] RewriteRule (.*) app/webroot/$1 [L] </IfModule> If I enable this one, still the 500 Internal server error appears on the blogs and albums. (2) The one which was installed on the website before I added cakePHP to it # -FrontPage- IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* <Limit GET POST> order deny,allow deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> If I enable this one, the albums and blogs (at sub.domain.com) appear as they should, but the cakePHP site itself (at www.domain.com) appears without css, images, ... Both .htaccess files look quite Chinese to me... Hopefully you can help me out here. Thanks in advance Frank On Sep 8, 2:48 pm, Smelly Eddie <[email protected]> wrote: > Just change the .htaccess file in your webroot folder (cake/app/ > webroot.htaccess) > > Add > > RewriteBase / > > So you have > > <IfModule mod_rewrite.c> > RewriteEngine on > RewriteBase / > RewriteRule ^$ app/webroot/ [L] > RewriteRule (.*) app/webroot/$1 [L] > </IfModule> > > Works on GoDaddy and others. > > Or you can switch to DreamHost and get great support and $50 off 1 yr > with the promo code EDDIESAVES > > On Sep 7, 12:29 pm, keyser_soze83 <[email protected]> wrote: > > > > > Hi logislack, > > > thanks for your advice on this one. > > > I have my account on one.com and I asked them to create such an alias > > (as you mentioned in step 1), but they replied me it was impossible to > > add such an alias. > > > So I'm afraid this doesn't work :-( > > So I hope there might be another solution for this issue... > > > On Sep 5, 4:25 pm, logislack <[email protected]> wrote: > > > > Hi keyser_soze83 > > > > When I have trouble problems to install cakephp on a server, I use > > > this method and never fails: > > > > 1.- Create an Alias on httpd.conf > > > Alias /cakesite /home/user/public_html/cakesite > > > > 2.- Edit all .htaccess. > > > Add: RewriteBase /cakesite after "RewriteEngine on" and before of > > > "Rewrite Rule" > > > > Saluos! > > > > On Sep 4, 4:17 pm, keyser_soze83 <[email protected]> wrote: > > > > > Dear co-developers, > > > > > I know this problem keeps on appearing quite a few times on the > > > > groups, but anyway, after searching for a while, I did not found a > > > > solution yet. > > > > > Hopefully you can help me out here because I'm getting desperate. > > > > > I've developed some site with cakephp 1.2, but on the domain there > > > > were alread some blogs and photoalbums created in an earlier version > > > > of the site. > > > > > They were all accessible at: <blogname>.domain.com > > > > > Since I've installed cakephp for the new part of the site, these blogs > > > > and albums are not accessible any more. > > > > > I get: > > > > Internal Server Error > > > > The server encountered an internal error or misconfiguration and was > > > > unable to complete your request. > > > > Please contact the server administrator, [email protected] and inform > > > > them of the time the error occurred, and anything you might have done > > > > that may have caused the error. > > > > > More information about this error may be available in the server error > > > > log. > > > > > I think I need to adjust the .htaccess file to allow accessibility on > > > > these sub-domains. > > > > > It currently looks like this: > > > > > <IfModule mod_rewrite.c> > > > > RewriteEngine on > > > > RewriteRule ^$ app/webroot/ [L] > > > > RewriteRule (.*) app/webroot/$1 [L] > > > > </IfModule> > > > > > Can someone tell me what to do? > > > > > Thanks in advance > > > > Frank- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
