CakePHP Not found page when accessing view - WAMP mod_rewrite issue

2007-02-25 Thread spheroid2007

I have searched and searched and searched...and not found a consistent
or clear answer on this.

I have CakePHP installed and currently have WAMP 1.6.6, and when using
PHP5 or PHP4, when I access a view I created at http://localhost/users/register
I get a 404 Not Found error (testing in Firefox).

I have the same files set up on my web host remotely and it seems to
be working there. I think it's a mod_rewrite issue from what I've
read.

I've enabled mod_rewrite and restarted services. Still the same issue.
I've modified the .htaccess file and still no go (though I may not
have been told the right settings to use).

When I access my install at http://localhost it's fine. Just not the
view I've created.

How do you set WAMP to work with CakePHP??


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: CakePHP configuration on WAMP - directory path settings?

2007-02-22 Thread spheroid2007

With the modified settings, I get the correct cake default page when i
go to http://locahost/cakeApp1. But, when starting the examples in
"Cook up websites fast with Cake Part 1", I go to 
http://localhost/cakeApp1/users/register
and get a "Page cannot be found"


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



CakePHP configuration on WAMP - directory path settings?

2007-02-21 Thread spheroid2007

I successfully set up Cake on my LAMP hosting to have multiple
applications on one hosting account (http://bakery.cakephp.org/
articles/view/141). Now, I'm not sure the settings on my WAMP (local
computer) for the directory of the application.

On my local system, I've set up cake in the following structure:

c:\wamp
   \cake
  \cake
  \vendors
   \apps\cakeApp1
   \www\cakeApp1

So the setup when working will allow me to view the cake app at
http://localhost/cakeApp1.

Question: when configuring c:\wamp\www\cakeApp1\index.php, what
settings would I change below:

if (!defined('ROOT')) {
 define('ROOT', DS.'apps'.DS.'cakeApp1');
}
if (!defined('APP_DIR')) {
 define('APP_DIR',dirname('cakeApp1'));
}
/**
 * This only needs to be changed if the cake installed libs are
located
 * outside of the distributed directory structure.
 */
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
  define('CAKE_CORE_INCLUDE_PATH', DS.'cake');
}

This doesn't work correctly. Thanks in advance!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---