you are using a ~ type domain ... Not sure this work with rewrite ..Is this ~ temporary ? What i dp not understand is you rewrite rule .. Why not using the cake default one ? I mean with the index.php etc ..?
On Nov 15, 9:21 pm, Indian Baker <[EMAIL PROTECTED]> wrote: > Hi Francky, > Thanks for the tip, but it didnt quite help. > I modified the .htaccess located in my public_html to > ------------------------------------- > <IfModule mod_rewrite.c> > RewriteEngine on > RewriteBase /home/hoteljob/public_html > RewriteRule ^~(.*) content_pages/displayurl/$1 [L] > RewriteRule ^$ app/webroot/ [L] > RewriteRule (.*) app/webroot/$1 [L] > </IfModule> > ------------------------------------- > > but now even its a 404 error right on the home page > itselfhttp://72.167.47.152/~hoteljob/ > > Any idea what I could be doing wrong? > > On Nov 16, 12:26 am, francky06l <[EMAIL PROTECTED]> wrote: > > > Maybe add a rewriteBase in your htaccess. > > rewriteBase /home/hoteljob/publichtml > > > after set your rewrite rules, without the '/home ...' > > Hope this helps > > > On Nov 15, 3:16 pm, Indian Baker <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > We built an application using CakePHP 1.2 and it works fine on our > > > local development sever. > > > However when we try to upload it to this server.. nothing seems to > > > work.. > > > Here is the URLhttp://72.167.47.152/~hoteljob/ > > > > I'm guessing it has to with either the mod rewrite or something wrong > > > with the htaccess files. > > > > Actually we had to modify the lines in the htaccess on the root to get > > > atleast the homepage to work, else even that gave a 404 error.. > > > This is what we modified the htcasse file to > > > ------------------------------------------------------------------------------- > > > <IfModule mod_rewrite.c> > > > RewriteEngine on > > > RewriteEngine on > > > RewriteRule content_pages/displayurl/$1 [L] > > > RewriteRule /home/hoteljob/public_html/app/webroot/ [L] > > > RewriteRule /home/hoteljob/public_html/app/webroot/$1 [L] > > > </IfModule> > > > > ------------------------------------------------------------------------------- > > > > Any ideas what would be wrong... this is a dedicated server, so we've > > > had to setup things from scratch.. > > > Thanks in advance --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---