Sunday, July 5, 2009

help about .htaccess and $html->link

on my local server i configure the /htdocs/.htaccess

<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteBase /
   RewriteCond %{HTTP_HOST} ^cakephp$ [NC]
   RewriteRule ^(.*)$ /cakephp/$1 [L]
</IfModule>

so i can use cake at http://cakephp/

but when i use
echo $html->link('home','/');
i get a url like "http://cakephp/cakephp/"
why there is one more "cakephp"?

Thank you for patient!

--
http://7thpark.com
Make web nice and rich!

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

No comments: