Hi,

Thanks so much for this. Here's an update :

I went to the url you suggested : https://trac.cakephp.org/ticket/812

I followed the instructions to change the index.php and config.php.

It now works fine !!

That is to say, where it produced a page with urls such as
"www.mysite.com/index.php/posts/index" it now produces
"www.mysite.com/index.php?posts/index" which works a treat !

Thanks so much - I was beginning to think that cake was one of those
packages I would see loads of people going on and on about how great it
was and I'd be left thinking "well if its so great how come I can't
even do the tutorial !!".

The problem, as suggested in the url you gave, is that my server is
actually IIS and php has been installed as cgi (this is confirmed if
you do phpinfo(); and see this : "Server API    CGI/FastCGI" on the
fourth line down).

Thanks dude you saved my bacon ;-)

John K.

bitrace wrote:
> Hi!
>
> I'm pretty new here too but have also had some problems getting Cake
> working without mod_rewrite being available.  So might be able to help.
>
> If you have uncommented define ('BASE_URL', env('SCRIPT_NAME'));  from
> core.php you must all make sure the 3 .htaccess files are removed from
> from the cake install folders
>
> /cake_1.1.5.3148
> /app
> /app/webroot
>
> On my install I found that once this was done there was a problem with
> the  links being generated incorrectly from the base url which I
> managed to fix by changing
>
> //define ('BASE_URL', env('SCRIPT_NAME'));
> to define ('BASE_URL', 'http://'.env('HTTP_HOST').'/index.php'); in
> core.php
>
> presumably you could also try
> define ('BASE_URL', 'http://'.env('HTTP_HOST').'/index.php?')
>
> I think this problem may also relate to
> https://trac.cakephp.org/ticket/812
> 
> cheers


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

Reply via email to