Please go thro this thread

http://groups.google.com/group/cake-php/browse_thread/thread/89a4c9231e2f08b6/#

I had this kind of problem than i asked to our server admin and below
is the reply from our server admin. I was using cpanel with Apache 1.3

Essentially the .htaccess file needs to look like this for each copy
installed; <IfModule mod_rewrite.c>  RewriteEngine on RewriteRule
foldername$  /foldername/ [L] RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L] </IfModule>
The reason being, CakePHP works great by default under Apache2.0,
which Plesk uses. Unfortunately, cpanel still hasn\'t updated to using
Apache2.0, it uses Apache1.3 so this is the fix to CakePHP to make it
work.\


May be this information help you out.

Thanks

On Sep 3, 9:33 pm, Alvaro <[EMAIL PROTECTED]> wrote:
> is apache1.3
>
> On Monday 03 September 2007 12:59, Vivek Narula wrote:
>
>
>
> > I had such types of problems laterly.
> >  which apache version are you using ?
>
> > On 9/3/07, Alvaro <[EMAIL PROTECTED]> wrote:
> > > can you show me an example about your modifications to .htaccess file?
>
> > > On Sunday 02 September 2007 22:01, Sam Sherlock wrote:
> > > > have you tried cake with internal rewrite?
>
> > > > I had a few troubles with 1and1 and cake's default htaccess see
> > > > config/core.php I was able to make a slight modification to  the
>
> > > htaccess
>
> > > > files and get it working fine.  Its worth turning this off as a trial.
>
> > > > though you issue does sound different from the issue I had with 1and1
> > > > as you describe the following
>
> > > > > If I force an error on database.php file I can get my layout working
>
> > > and
>
> > > > render some elements too
>
> > > > On 02/09/07, Alvaro <[EMAIL PROTECTED]> wrote:
> > > > > If I force an error on database.php file I can get my layout working
>
> > > and
>
> > > > > render some elements too, but off corse nothing about data db and get
> > > > > other errors. Why this happend? Is about data connection? is
>
> > > .htaccess?
>
> > > > > > Can you straight to your index.php file in Cake?
>
> > > > > I don't understand exactly what you mean. :)
>
> > > > > Thanks
> > > > > Alvaro- Hide quoted text -
>
> - Show quoted text -


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to