Hi all,

I'm experiencing some nasty problems with the .htacess files of my cake
app. The problem is :

1. I don't have any access to the httpd.conf file of my server
2. My web hosting config forces me to add a slash before any
"redirection" in my .htaccess file (i have to point to the absolute
path)
(so instead of
RewriteRule   (.*) app/webroot/$1 [L]
I have
(.*) /app/webroot/$1 [L]
)

I haven't done any further modification of the file. All my links are
working fine, a perfect access to the img folder and to the css one,
etc... But the pretty urls I planned to use thanks to routes have been
turned into ugly ones.

For example, instead of
http://www.mydomain.be/news/
I got
http://www.mydomain.be/app/webroot/news
BUT if i click on http://www.mydomain.be/app/webroot/news, on the new
page, the same links (they're integrated in my layout) get back to the
pretty form and it they work just fine. In a nutshell, urls are
constantly switching...

I've been spending several days on this issue and i'm a little
desperate...

Thanks for reading...

Pierre

P.S : I would also need to integrate a cake app in the root folder of
another app. Is it possible, and do i have to use mod_rewrite to do it?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to