That doesn't seem to be a rewrite issue. What do your routes for
UsersController, if any, look like? Do you have the following in
routes.php?
require CAKE . 'Config' . DS . 'routes.php';
And if you have access to the server's Apache config, you'll speed up
the site a bit by putting the rewrite rules in the vhost config and
disabling AllowOverride so Apache won't be forced to look for and read
.htaccess files. Just copy the on at app/webroot/.htaccess into the
VirtualHost block.
On Tue, Jul 3, 2012 at 1:34 PM, Cosmin Paul <cosmin.paul@gmail.com> wrote:
> sry for this, I've resubmitted from draft folder.
>
> Has some-one a clue on this ?
>
> This is my virtual host:
> <VirtualHost *:80>
> ServerName mysite
> ServerAdmin webmaster@localhost
>
> DocumentRoot /home/cosminct/workspace/www/mysite/app/webroot
>
> <Directory /home/cosminct/workspace/www/mysite/app/webroot/>
> Options FollowSymLinks
> AllowOverride All
> </Directory>
> </VirtualHost>
>
> And mod_rewrite.c is included.
>
> Cheers
>
>
> On Tue, Jul 3, 2012 at 8:02 PM, Cosmin Paul <cosmin.paul@gmail.com> wrote:
>> Hi,
>>
>> I set-up cake and I have a problem that google can't answer:
>>
>>
>> http://mysite/users/add
>>
>> on this URL: http://mysite/users/
>> --
>
>
>
> --
> Paul-Cosmin Constandachi
> Tel: 0723.46.46.42
>
> --
> Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Tuesday, July 3, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment