.htaccess for https site

2011-01-23 Thread heh
Hi,
Noob user here.
Can anyone guide me to an example of .htaccess setting for htts site?
 this is the default that cake have provided

  RewriteRule^$ app/webroot/[L]
   RewriteRule(.*) app/webroot/$1 [L]

search some site and tgis group and find this recomendation


  RewriteCond %{SERVER_PORT} !^80$
   RewriteRule^$ https://localhost/sticker/app/webroot/[L]
   RewriteRule(.*) https://localhost/sticker/app/webroot/$1 [L]

but the rewrite seems not working.

Thanks

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


Re: how to display the particular month wise and partuclar day wise recods

2010-05-07 Thread heh
hi I'm new to cake too. But for doing in a standard sql you can use

Ex: select * from timesheets where user_id='$id' AND 'date'='month';
as
select * from timesheets where user_id='$id' AND
month('date')='month';

assuming that you use mysql like me.
for cake syntax you have to dig a bit about find condition.
Sorry if it doesn't you much , a newb like you t000

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 this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en