i have CakePhp inctalled on my windows Apache.

C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\cakeproj1
15.11.2007  14:47    <DIR>          .
15.11.2007  14:47    <DIR>          ..
15.11.2007  15:20               166 .htaccess
15.11.2007  14:46    <DIR>          app
15.11.2007  14:47    <DIR>          cake
15.11.2007  14:47    <DIR>          docs
02.02.2007  07:21             2я680 index.php
15.11.2007  14:47    <DIR>          vendors
</pre>

C:\Program Files\Apache Software Foundation\Apache2.2\htdocs
\cakeproj1\.htaccess
<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteBase /cakeproj1/
   RewriteRule    ^$ app/webroot/    [L]
   RewriteRule    (.*) app/webroot/$1 [L]
</IfModule>

it works,
but when i make sample from 
https://www6.software.ibm.com/developerworks/education/os-php-cake1/index.html

http://127.0.0.1/cakeproj1/users/register/ gives me form, where
....
<form action="/users/register"
...

and, of course, it not works, because this is
http://127.0.0.1/users/register
but not
http://127.0.0.1/cakeproj1/users/register

p.s.
i want for my cakehphp project to be placed in http://127.0.0.1/cakeproj1/
(C:\Program Files\Apache Software Foundation\Apache2.2\htdocs
\cakeproj1)

thanks you!

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

Reply via email to