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 - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
