Are you sure that would help?
In fact, it will not work, because the Shop needs Rewriting, too.
At the moment, I have cake in it's own folder, called "website",
but the customer wants the cake folders in the root directory - for
whatever reasons.
Thanks for your comments on this!
On 27 Nov., 09:
put an .htaccess to your folder "shop" with the following:
RewriteEngine off
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to
I suck with .htacces files but it seems like it shouldn't be too hard to add
an exemption to the url rewriting/redirecting. Hopefully someone else can
help you with that.
You could try configuring it in your config/routes.php
I would try something like
Router::connect('/shop/*', array('url'=>'/
Non-techncal solution: landing page in / and cake tree in a
subdirectory. .htaccess won't need the /app/webroot lines in /
anymore.
On Thu, Nov 26, 2009 at 5:54 AM, moe wrote:
> hey all,
>
> i need some help with my .htaccess.
>
> i have the cake folders, including the root .htaccess, in my root
hey all,
i need some help with my .htaccess.
i have the cake folders, including the root .htaccess, in my root
folder with mydomain.com pointing on it. in the root there is also a
folder "shop" with a xtcommerce shop set up. a second domain myshop.de
is pointing to this folder.
with the default .
I placed my webroot outside the app directory. Actual structure is:
/app
/cake
/www -> contains web files (previously in /app/webroot)
Everything works fine when Apache docroot points to /www, but when
docroot points to /, some weird things start occurring: it doesn´t
find appropriately CSS and J
Still no luck.
I decided the echo all the constants generated in my index.php files
to make sure everything was working correctly after I tried to setup a
simple calendar app to test things out. It can't find the 'config/
core.php' inside the relevant app folder, and looking at
'bootstrap.php' w
If you use mod-rewrite, only the .htacess of the webroot is necessary.
I had a similar problem, and needed to add a rewriteBase / into my
htaccess.
On Sep 24, 10:34 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I'm setting up a more secure production-style CAKEphp configuration
> for our d
I'm setting up a more secure production-style CAKEphp configuration
for our developers to use. I'm more a sysadmin than a programmer, so
cake itself is baffling to me.
What I'm hoping to get some help with is resolving an issue I'm having
with the .htaccess files for this setup.
Here's the bas