I seen loads of posts about the problems with IIS, but I didn't spot
anything that relates exactly to my problem (so maybe it's not a cake
problem - but IIS) - maybe there is an existing post - and I just
don't know what to search for! (in which case I do apologise in
advance)

Basically, I can't run any rewrite dll's, so wanted to try the options
without it
I'm using php as ISAPI
The only php settings I've changed are the extensionpath, and
uncommented the extensions for mysql
I've gone through the basic tutorial
I'm using PHP 5
Cake 1.1.13.4450

So, to the problem

By adding
define ('SERVER_IIS', true);
 and
define ('BASE_URL', env('SCRIPT_NAME').'?');

I can get
http://localhost/cake/app/index.php?/posts/index
working (and links from that page work also)

but if i omit the '?', I just get page cannot be found

I did try
define ('BASE_URL', env('SCRIPT_NAME'));

But if i omit the '?' in the url, I still get page cannot be found -
it still shows the initial page if I put the '?' back in the url as
before, but now links from that page don't work (the links miss the
'?' out)

Have I missed a setting from IIS or PHP that cake needs?

Also, why do I have to put the 'app' part in also? - if I just use
http://localhost/cake/index.php?/posts/index
It stays on the home page


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