Configure Cake's .htaccess to use other site with it's own .htaccess

2014-05-28 Thread Tomas Gonzalez Mendivelzúa

Hi, I'm trying to run a site with it's own rewrite rules inside the 
/app/webroot/ folder but I'm not being able to make it work.
*Please tell me if this is the right place to post this or if I should post 
it in some other place.*

The site is in /app/webroot/extra/*
Here are both .htaccess files:

*Cake *(/app/webroot/.htaccess)

IfModule mod_rewrite.c
RewriteEngine On

RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]

RewriteCond %{HTTP_HOST} !^www\.
RewriteCond %{HTTP_HOST} !^local\.
RewriteCond %{HTTP_HOST} !^staging\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]
/IfModule

*Extra *(/app/webroot/extra/.htaccess)

IfModule mod_rewrite.c
RewriteEngine On

RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]

RewriteCond %{HTTP_HOST} !^(localhost|staging|host)?$ [NC]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTP_HOST} !^local\. [NC]
RewriteCond %{HTTP_HOST} !^staging\. [NC]
RewriteRule ^ https%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f

RewriteRule ^.*$ ./index.php
/IfModule


I need to correct these files so that both sites work correctly.
Any help will be very appreciated!


Tom.

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: 3.0: a peek into CakePHP's future

2013-08-13 Thread Tomas Gonzalez Mendivelzúa
Hi, I'm new to this group and I've just read this whole thread. 
I've been happily working with CakePHP for two years.
*My thumbs up for OO models!*

I understand you don't have a release date for 3.0, but is there any 
unofficial estimate? Like will it come during this year? I just can't 
wait!

Congratulations to the core devs on their excellent work!

I know it's not the right thread, but:
- Since I'm from Argentina but I perfectly understand English, I'd like to 
help with Spanish localizations. Where could I start?
- Is there such thing as an official Argentinean CakePHP community?

Cheers!


On Thursday, August 8, 2013 5:39:44 AM UTC-3, Muhammad Arslan wrote:

 It will return both i.e arrays and objects.


 On Friday, July 6, 2012 6:17:18 PM UTC+5, Marsson wrote:

 Does it mean Cake 3.0´s Model will return objects instead of arrays ?




 On Fri, Jul 6, 2012 at 6:33 AM, Kazik kaz...@gmail.com wrote:


 On Friday, July 6, 2012 4:36:03 AM UTC+2, José Lorenzo wrote:


- Model layer rewrite:
   - Models to return objects from queries
   - Datamapper-like paradigm
   - Richer query API
   - Support for any database type
   - Support for more database drivers both PDO and native

 The new model layer will be an exciting feature. But it also looks like 
 it is going to be very different from CakePHP 2.

 Is there going to be an update path for CakePHP 2 apps to CakePHP 3?


 k 

 -- 
 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+u...@googlegroups.com For more options, visit this group at 
 http://groups.google.com/group/cake-php




-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.