This working
RewriteEngine on
RewriteRule^demo$demo/[L]
RewriteRule^demo/(.*) demo/$1[L]
RewriteRule^$ app/webroot/[L]
RewriteRule(.*) app/webroot/$1 [L]
Thanks
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://tw
also remember that there are 2 htaccess to update...
Le 3 sept. 2015 22:03, "Anthony GRASSIOT" a écrit :
> No, I don't think you do need to update your 2.x htaccess, I have several
> application with this exact setup on share hosting but, you might have a
> different case...
> Le 3 sept. 2015 21:
No, I don't think you do need to update your 2.x htaccess, I have several
application with this exact setup on share hosting but, you might have a
different case...
Le 3 sept. 2015 21:54, "Salines" a écrit :
> I need to update first .htacess ind the cakephp 2 to skip rewrite rules if
> user type
I need to update first .htacess ind the cakephp 2 to skip rewrite rules if
user type mydomainname.com/demo/, not to change RewriteBase
RewriteEngine on
RewriteRule^$ app/webroot/[L]
RewriteRule(.*) app/webroot/$1 [L]
current (cakephp 2) app
.htacess
index.php
/app
/lib
/p
RewriteBase /demo/
Le 3 sept. 2015 21:26, "Salines" a écrit :
> Hello,
> can somebody help me,
>
> I have a CakePHP 2.x web application located on the server in the
> public_html folder. Now I need to upgrade the app to CakePHP version 3,
> including a new design, but the client requires installi
Hello,
can somebody help me,
I have a CakePHP 2.x web application located on the server in the
public_html folder. Now I need to upgrade the app to CakePHP version 3,
including a new design, but the client requires installing the demo
applications on the live server, in addition to current.
I