I have everything working pretty well, but....

I have setup  my test directory as on a production server, not using 
.htacccess, but with the rewrite instructions in the httpd.conf:

   DocumentRoot "c:/ApacheSSL/htdocs/cake/app/webroot"
   ErrorLog logs/Cake-error.log
   CustomLog logs/Cake-access.log common
   <Directory "c:/ApacheSSL/htdocs/cake/app/webroot">
      Options None
      AllowOverride None
      Order allow,deny
      Allow from all
    </Directory>
    RewriteEngine On
    RewriteCond c:/ApacheSSL/htdocs/cake/app/webroot%{REQUEST_FILENAME} !-d
    RewriteCond c:/ApacheSSL/htdocs/cake/app/webroot%{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L]

It works well, but if I just put the URL, it gives me an error 404, not 
found. If I put URL /index.php, it works fine

I have:

AddType application/x-httpd-php .php .asx
AddType application/x-httpd-php-source .phps
DirectoryIndex index.html index.php

in my httpd.conf, after the LoadModules section, and other PHP sites are 
working well off the same Apache server.

What am I missing?

Thanks!

Bernard



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