Hi, How solve this problem?
This code:
echo $this->Form->create('Post');
echo $this->Form->input('title');
echo $this->Form->input('body', array('rows' => '3'));
echo $this->Form->end('Save Post');
Generate this html code:
<form id="PostAddForm" accept-charset="utf-8" method="post"
action="/cakephp/index.php/posts/posts/add">
*.htaccess in webroot*:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
</IfModule>
*.htaccess in app:*
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ webroot/ [L]
#RewriteRule ^index\.php/(.*)$ webroot/$1 [L]
RewriteRule (.*) webroot/$1 [L]
</IfModule>
*.htaccess in cakephp root:*
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ app/webroot/ [L]
RewriteRule ^index\.php/(.*)$ app/webroot/$1 [L]
RewriteRule (.*) app/webroot/$1 [L]
</IfModule>
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.