If you are able to then use mod_dir. However this needs root privileges to enable on the server you are working with. On Debian, this seems to be built into Apache by default so there is no need to load it manually using a LoadModule directive.
http://httpd.apache.org/docs/1.3/mod/mod_dir.html http://httpd.apache.org/docs/2.0/mod/mod_dir.html You can also take a look at the following to see if it matches your case: http://www.onlamp.com/pub/a/apache/2004/02/19/apache_ckbk.html?page=2 You can also use URL rewriting rules as a last resort if that is all you have access to. See "Trailing Slash Problem" in: http://httpd.apache.org/docs/2.0/misc/rewriteguide.html#ToC2 Of course, since you would also want to have trailing slash when passing parameters to your script, you may have to modify the example rule there to use REQUEST_URI instead of REQUEST_FILENAME. Lastly, if I recall correctly, you should place the .htaccess containing those rules in the directory that holds your CakePHP installation (assuming you have everything under DOCUMENT_ROOT). Your best bet at solving this problem is still with mod_dir. On 12/30/06, lukem <[EMAIL PROTECTED]> wrote:
hi, i've installed cake in a subdirectory on a test server (linux, apache, php 5.1.6) which works fine. however, i've noticed that i only see the cake default page if i go to http://www.mysite.com/cake/ and not when i go to http://www.mysite.com/cake (note the missing trailing slash). Could there be a cake-related reason for this? many thanks, lukem. >
-- _nimrod_a_abing_ [?] http://abing.gotdns.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
