Re: How to force DebugKit to use HTTPS for its requests?

2016-01-09 Thread mark_story
wrote: > > Apps running on Heroku can be requested via HTTPS even though the app and > Web server don't know anything about it. Apps behind CloudFlare have a > similar option. > > In this environment, DebugKit may be blocked as "mixed content" because > the

How to force DebugKit to use HTTPS for its requests?

2015-12-29 Thread Ethan Pooley
Apps running on Heroku can be requested via HTTPS even though the app and Web server don't know anything about it. Apps behind CloudFlare have a similar option. In this environment, DebugKit may be blocked as "mixed content" because the request for it happens via HTTP. My brow

Re: Redirect everything except start page to https

2015-05-01 Thread Athanassios
but not the other pages. > How can I achieve that? > > RewriteEngine On > RewriteCond %{HTTPS} off > RewriteRule (.*) https://.. > Back in the days of CakePHP 1.3, I did something similar by adding the following code in my controllers beforeFilter() function. I be

Redirect everything except start page to https

2015-04-29 Thread Sven Mäurer
In my config file I have created two VirtualHosts. Below is the config that redirects to 443 where everything is configured and working. Now I want to make the startpage reachable without ssl but not the other pages. How can I achieve that? RewriteEngine On RewriteCond %{HTTPS} off

https + 2.4 + Iframe + Auth + Not Logging in

2014-02-17 Thread Rodrigo Ranieri
I Tried to find on docs, forum search and everything else. I have an aplication that the user logs with a email and a access key. It works nice and clean. BUT, another version of my app was demanded to run inside a Iframe: https inside a https. Its was a sales demand, not my decison. Now i

Re: Starnge redirect from http to https on login

2013-11-22 Thread dtemes
We have found the solution, after sending user credentials the login action was redirecting to users/index, that first redirect keeps the https protocol, but then in the index action we have some business logic to check the type of user and based on that redirecting to the index action of

Re: Starnge redirect from http to https on login

2013-11-22 Thread AD7six
This log does not look to show a redirect changing protocols. it shows, what looks like, two parallel/subsequent requests to /users on https and http. the last request shown doesn't originate from the request before it and has no referer. If relevant, check what is stored in the sessi

Re: Starnge redirect from http to https on login

2013-11-21 Thread Andras Kende
e server and doing > some tests with our app running over https. The very first issue is that > after login we are being redirected to http, and not https, here are some > apache logs: > > xxx.xxx.com:443 192.168.1.3 - - [21/Nov/2013:12:45:24 -0800] "POST > /users/login HTT

Starnge redirect from http to https on login

2013-11-21 Thread dtemes
We have just installed a self signed ssl cert on the apache server and doing some tests with our app running over https. The very first issue is that after login we are being redirected to http, and not https, here are some apache logs: xxx.xxx.com:443 192.168.1.3 - - [21/Nov/2013:12:45:24

Re: While redirecting from http to https , session expired

2012-11-29 Thread Jeremy Burns : Class Outfit
roblem > that i am facing is redirection from http to https works fine on my local > machine , > but when i deploy it on the server and tried to redirect , the session > expires and again asking to loigin , please reply asap is anybody knows the > solution . > > Thanks in adv

While redirecting from http to https , session expired

2012-11-29 Thread sagar shirsath
Hi , I have implemented ssl on my local and on the server , the problem that i am facing is redirection from http to https works fine on my local machine , but when i deploy it on the server and tried to redirect , the session expires and again asking to loigin , please reply asap is

Re: How to use HTTPS in cakephp

2012-04-10 Thread Josh
Thanks.. i will see about the certificates. On Tuesday, April 10, 2012 3:41:25 PM UTC-6, euromark wrote: > > for starters the protocol (http or https) doesnt necessarily have to do > with cake. > your application will run with both versions - you can switch easily > between them.

Re: How to use HTTPS in cakephp

2012-04-10 Thread euromark
for starters the protocol (http or https) doesnt necessarily have to do with cake. your application will run with both versions - you can switch easily between them. you should first consult on how to install and setup the certificates, how to make your apache route the https connection. if

How to use HTTPS in cakephp

2012-04-10 Thread Josh
Hello everyone, i want to use https in cakephp how can i use that? do i need to use some security component? or do i need to change the route.php?? Thanks in advance. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site

Re: HttpSocket won't use 443 port for https request automatically

2012-01-31 Thread Perry
time > (as you did here^^) > > > On 31 Jan., 04:38, Perry wrote: > > when I pass a https url to HttpSocket::get, it won't use 443 port > > automatically, and return nothing > > > > but when i specify the port in url, likehttps://example.com:443/, it >

Re: HttpSocket won't use 443 port for https request automatically

2012-01-31 Thread euromark
could be you can open a ticket at cakephp.lighthouseapp.com/projects/42648/tickets/ if you feel like this should be addressed but dont forget to mention the cake version you are using this time (as you did here^^) On 31 Jan., 04:38, Perry wrote: > when I pass a https url to HttpSocket::get,

HttpSocket won't use 443 port for https request automatically

2012-01-30 Thread Perry
when I pass a https url to HttpSocket::get, it won't use 443 port automatically, and return nothing but when i specify the port in url, like https://example.com:443/, it works fine is this a bug? -- Perry | 彭琪 http://pengqi.me -- Our newest site for the community: CakePHP Video Tuto

Re: HTTPS and HTTP on same app

2011-12-19 Thread Mario
have just added to a fully working site based on CakePHP 2.0 and > Apache 2.2.16 a wildcard SSL certificate. Created virtual hosts > pointing HTTPS to the same HTTP app. > > But when I load the HTTPS version, the certificate is ok but lots of > errors: first thing > [Mon Dec 19 16:

HTTPS and HTTP on same app

2011-12-19 Thread Mario
Hi all, I have just added to a fully working site based on CakePHP 2.0 and Apache 2.2.16 a wildcard SSL certificate. Created virtual hosts pointing HTTPS to the same HTTP app. But when I load the HTTPS version, the certificate is ok but lots of errors: first thing [Mon Dec 19 16:34:57 2011

Re: landing page not working after payment on https

2011-06-23 Thread chris
I think its going to be difficult for anyone to give you specific help. Without knowing the exact details of yours and the payment system involved. I think being on HTTPS can affect the way sessions are handled. One issue I know of is that, dependant on settings, a cookie set by HTTPS, must only

Re: landing page not working after payment on https

2011-06-22 Thread Ritesh R Aryal
Still looking for your valued response. Lets brainstorm to have right solution. Is this a Session issues ? but it is working fine when the site is worked on http://sitename.com. But it gives problem when i get response back from payment page. cheers -- Our newest site for the community: CakePH

landing page not working after payment on https

2011-06-22 Thread Ritesh R Aryal
wever, it is not working with HTTPS://sitename.com. Once the payment is done, then, instead of going back to the payment confirmation page it is directly bouncing back to the login page. What could be the error / issues right here ? Is it the issue of handing HTTP and HTTPS on cakephp ? your

Re: .htaccess for https site

2011-01-24 Thread ShadowCross
The line RewriteCond %{SERVER_PORT} !^80$ seems to indicate that your RewriteRule's are only applied if the incoming request is NOT coming in from port 80 (port 80 is usually the http:// port, while port 443 is usually the https:// port). The "!" negates the pattern, so I thi

Re: .htaccess for https site

2011-01-23 Thread Ryan Schmidt
It sounds like what he's trying to do (or at least, what the snippet of rewrite rule he posted is supposed to do) is require the site be accessed only via https; if the site is accessed via http it would redirect to the corresponding https URL. On Jan 23, 2011, at 17:58, Andras Kende

Re: .htaccess for https site

2011-01-23 Thread Andras Kende
The default .htaccess works fine for https site What re ou trying to do ? Andras Kende http://www.kende.com On Jan 23, 2011, at 3:22 PM, heh wrote: > Hi, > Noob user here. > Can anyone guide me to an example of .htaccess setting for htts site? > this is the default that cake h

.htaccess for https site

2011-01-23 Thread heh
%{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

Re: Sessions and http/https

2010-10-24 Thread dtemes
Thats another option, and by doing that you don't have to touch the core code, I will take a look at it before upgrading to 1.3.5... On 24 oct, 14:23, odd wrote: > dtemes schrieb: > > > I tryed with a custom save handler, but then i moved to database > > driver sessions, so finally I decided to

Re: Sessions and http/https

2010-10-24 Thread odd
dtemes schrieb: > I tryed with a custom save handler, but then i moved to database > driver sessions, so finally I decided to touch the cake core code > and set session.cookie_secure to 0, I am not really fond of this kind > of solutions and would prefer a way to set it up from a config file > wit

Re: Sessions and http/https

2010-10-23 Thread dtemes
I tryed with a custom save handler, but then i moved to database driver sessions, so finally I decided to touch the cake core code and set session.cookie_secure to 0, I am not really fond of this kind of solutions and would prefer a way to set it up from a config file without having to change the

Re: Sessions and http/https

2010-10-23 Thread odd
Maybe the "session.cookie_secure" option is set to true/1 by default in your PHP configuration (see php.ini), so uncommenting that line in cakes session class wont have any effect. Or maybe you have some PHP extension installed that automatically chooses to secure the cookie. Instead of uncommenti

Sessions and http/https

2010-10-22 Thread Jeremy Burns
I can see lots of activity on this subject, but no clear working answer; so excuse me if it's a broken record. My users log in via an https page. They are logged in and the Auth session variable is set. If they now go to an http page I would expect them to still be logged in, but they are no

http routes ok, https alsways redirects to pages/home at first call...

2010-09-27 Thread DigitalDude
http://myapp/signup which works really nice. When I click a link in an email or so the route just works fine, calls the correct action and so on... But when using SSL encryption on my production server, the route becomes this: https://myapp/signup This should not be a problem, BUT from this poi

Re: https links not working

2010-03-03 Thread Lorenzo Bettini
Lorenzo Bettini wrote: Hi I'd like to access my cakephp based web site also using https, but I always get an error saying that the requested url is not found on the server. Note that apache is configured to serve also https requests and it works with other pages... is there anything t

Re: SSL and https

2010-03-01 Thread Jeremy Burns
: >> >>>if (in_array($this->params['action'], $action)): >>>$this->Security->blackHoleCallback = 'forceSSL'; >>>$this->Security->requireSecure(); >>>else: >>>$this->Security->bl

Httpsocket -> from https to https

2010-03-01 Thread robmcvey
Hi, having a strange problem with the server config it would appear. (My code works fine on another host, but unfortunalty I need to make this work where it is now!) I am using cakePHP Httpsocket class. The app is on https:// and the URL I am POST'ing to is also https://. If I use the same

Re: Apply https for a particular module

2010-02-28 Thread Jeremy Burns
This should get you started: http://book.cakephp.org/view/268/Usage This works in 1.2 and 1.3 - I can't confirm that the same for 1.1 though. Jeremy Burns On 1 Mar 2010, at 04:28, SeeVik wrote: > Hello all > > I am using Cakephp 1.1 for my webapp and I want to use https when t

Apply https for a particular module

2010-02-28 Thread SeeVik
Hello all I am using Cakephp 1.1 for my webapp and I want to use https when the user logs in his user account. For guest users I want the simple http connection to be used. Can this be done by using some setting in cakephp or should it be set it in Apache configuration? Thanks and Regards

Re: SSL and https

2010-02-18 Thread alan
I like it! 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 fr

Re: SSL and https

2010-02-18 Thread jperras
>    else: > >            $this->Security->blackHoleCallback = 'unforceSSL'; > >    endif; > > > I have these two functions in app_controller: > > >    function forceSSL() { > > >            $this->redirect('https://' . env('S

Re: SSL and https

2010-02-17 Thread alan
When I've done this, I usually set specific controllers/actions as $useSSL=true; and force everything else back to non-SSL app_controller.php:beforeFilter ... $this->ishttps = $this->set('ishttps',((isset($_SERVER['HTTPS']) && $_SERVER['HT

Re: SSL and https

2010-02-17 Thread Jeremy Burns
gt;>>if (in_array($this->params['action'], $action)): >>>$this->Security->blackHoleCallback = 'forceSSL'; >>>$this->Security->requireSecure(); >>>else: >>>$this->Security-

Re: SSL and https

2010-02-17 Thread John Andersen
e: > >            $this->Security->blackHoleCallback = 'unforceSSL'; > >    endif; > > > I have these two functions in app_controller: > > >    function forceSSL() { > > >            $this->redirect('https://' . env('SERVER_NAM

Re: SSL and https

2010-02-16 Thread Jeremy Burns
gt; > I have these two functions in app_controller: > > function forceSSL() { > > $this->redirect('https://' . env('SERVER_NAME') . $this->here); > > } > > function unforceSSL() { > > $this->redirect('http

SSL and https

2010-02-11 Thread Jeremy Burns
y->requireSecure(); else: $this->Security->blackHoleCallback = 'unforceSSL'; endif; I have these two functions in app_controller: function forceSSL() { $this->redirect('https://' . env('

https links not working

2010-02-11 Thread Lorenzo Bettini
Hi I'd like to access my cakephp based web site also using https, but I always get an error saying that the requested url is not found on the server. Note that apache is configured to serve also https requests and it works with other pages... is there anything to set somewhere? than

https links not working

2010-01-29 Thread Lorenzo Bettini
Hi I'd like to access my cakephp based web site also using https, but I always get an error saying that the requested url is not found on the server. Note that apache is configured to serve also https requests and it works with other pages... is there anything to set somewhere? than

Re: about https

2009-10-08 Thread Martin Westin
on Solaris 10 with apcahe and php is configured. > I have my website placed at /var/apache/htdocs/index.html as document root. > and i access it on local apache server. > > Now i want to shift it on https to secure it from other systems on LAN. > > what steps i should take to implemen

about https

2009-10-07 Thread wiky
Hi i am working on Solaris 10 with apcahe and php is configured. I have my website placed at /var/apache/htdocs/index.html as document root. and i access it on local apache server. Now i want to shift it on https to secure it from other systems on LAN. what steps i should take to implement

Re: Loosing SESSION When Transitioning from https to http Using Session Component

2009-08-17 Thread bondo
t; > Val > > On Aug 17, 12:12 pm, brian wrote: > > > Use https for the redirect, also. Either that, or redesign your app so > > you don't require thesessionvars in the other view. Are you doing > > this to save doing a find() in the "view" view? > >

Re: Loosing SESSION When Transitioning from https to http Using Session Component

2009-08-17 Thread vb13
thing works. Is this some kind of a security thing? Val On Aug 17, 12:12 pm, brian wrote: > Use https for the redirect, also. Either that, or redesign your app so > you don't require the session vars in the other view. Are you doing > this to save doing a find() in the "view&q

Re: Loosing SESSION When Transitioning from https to http Using Session Component

2009-08-17 Thread brian
Use https for the redirect, also. Either that, or redesign your app so you don't require the session vars in the other view. Are you doing this to save doing a find() in the "view" view? On Mon, Aug 17, 2009 at 10:22 AM, vb13 wrote: > > I have a User Edit page that submits

Loosing SESSION When Transitioning from https to http Using Session Component

2009-08-17 Thread vb13
I have a User Edit page that submits data over https /user/edit. The controller saves data and redirects via http to /user/view. In the process I use php session to read/write some data. If I access session data using Cake Session component, I loose my session. As a result I get redirected to a

Re: https

2009-06-17 Thread Adam Royle
There is no code you need to change to get ssl working with cakephp. Make sure you have ssl setup on the site correctly with just static files first. Cheers, Adam - Original Message - From: "rakesh singh" To: "CakePHP" Sent: Wednesday, June 17, 2009 8:43 PM Sub

https

2009-06-17 Thread rakesh singh
hican anyone explain me how to use https in cakephp as i m having a problem in my project --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email t

Re: Error with HTTPS

2009-06-01 Thread jstein
On Jun 1, 7:30 pm, Pablo wrote: > Did anybody see this before? Any clue? Using HTTP or HTTPS should be the same to Cake. There must be a difference between the configurations on the server. It could look like your .htaccess file is not interpreted with the HTTPS-settings. Rega

Error with HTTPS

2009-06-01 Thread Pablo
Hello everyone, This morning a system guy just configured apache2 to work with https. I hoped that everty URL of my cakephp application would work also with https protocol but ... http://192.168.1.242/pacex/alta-pacientes works perfectly and https://192.168.1.242/pacex/alta-pacientes returns

Can Routes Handle HTTPS?

2009-01-06 Thread Rob Wilkerson
't do for our needs. The "easy" solution I see is to update each link in each view that accesses a secure page so that it uses a fully qualified URI with the https protocol applied. That will also require that fully qualified URIs are applied to all links _on_ secure pages that targ

Re: session lost when switching from http to https, vice versa, in cakephp rc3

2008-12-08 Thread Justin
Hi Robert, > > I've never done what you have done, but I'm sure it's possible because > most people do shopping carts this way. > > The problem might be that Cake is switching to secure cookies when it > finds the current URL is using HTTPS. The cookie is used to sto

Re: session lost when switching from http to https, vice versa, in cakephp rc3

2008-12-04 Thread Mathew
Hi Robert, I've never done what you have done, but I'm sure it's possible because most people do shopping carts this way. The problem might be that Cake is switching to secure cookies when it finds the current URL is using HTTPS. The cookie is used to store the session ID and whe

Re: Adding https in $html->url

2008-12-04 Thread Mathew
Hi Jipson, I'm not sure exactly but I think you can define the protocol to the router in cake like this. url(array('base'=>'https://','url'=>'/carts/authorize'));?> You can also do this with cake controllers. url(array ('base

Re: Adding https in $html->url

2008-12-04 Thread Jipson
ll need to include the full path to the secure URL, > like this: >     url('https://mycart/carts/authorize/);?> > in order to force the HTTPS protocol. > > Out of curiosity, why are you using $html->url instead of $html->link? --~--~-~--~~~---~

Re: Adding https in $html->url

2008-12-04 Thread Lance Willett
> i want to get ishttps://mycart/carts/authorize/, what i have to do for it Hi Jipson, Most likely you'll need to include the full path to the secure URL, like this: url('https://mycart/carts/authorize/); ?> in order to force the HTTPS protocol. Out of curiosity, why are

session lost when switching from http to https, vice versa, in cakephp rc3

2008-12-03 Thread robert123
hi, I am using cakephp rc3 I will lose my cakephp session whenever i swtich http to https: or https to http anyone knows how to solve this problem, reason being, the user was adding to the shopping cart, but when the protocol changes from http to https for checkout:, the shopping cart session

Adding https in $html->url

2008-12-03 Thread Jipson
Hi Friends, In my project i am giving the links to payment page view as follows. url('/carts/authorize/); ?> now i am getting the output url as http://mycart/carts/authorize/ what i want to get is https://mycart/carts/authorize/ , what i have to do for it, anybody please

Re: Force SSL (HTTPS) Component, Finalization Help

2008-07-01 Thread Daniel E.
{ if($arySSL['controller'] == $this->_getConfig('controller') && $arySSL['action'] == $this->_getConfig('action')){ $bolForced = true; }elseif($arySSL['controller

Re: Force SSL (HTTPS) Component, Finalization Help

2008-07-01 Thread Daniel Hofstetter
Hi Daniel, > I managed to get my component working but would like to call cake's > native 'redirect' instead of "header('location...", if it is > possible... Does anyone know how this can be done? Store a reference of the controller (which is automatically passed as parameter to the initialize()

Force SSL (HTTPS) Component, Finalization Help

2008-07-01 Thread Daniel E.
Hello All, I managed to get my component working but would like to call cake's native 'redirect' instead of "header('location...", if it is possible... Does anyone know how this can be done? ~/app/app_controller.php: SSL->reset=false;//requests continue i

Could HtmlHelper link generate an https url without including full URL?

2008-06-11 Thread aranworld
What I would love to be able to do is something like this: $html->link('login', '/users/login', array('secure'=>TRUE) ); Depending on which server I was on, this would generate either: https://www.cakephp.org/users/login OR https://cakephp.localhost/us

Re: how come session is gone when it is redirect to https

2008-05-31 Thread robert123
hi, any suggestion on how to solve this problem. because whenever I redirect to a https connection for payment like from http://www.domain.com/checkout to https://www.domain.com/checkout the session is lost. Thank you On May 31, 5:38 pm, "Dr. Tarique Sani" <[EMAIL PROTECTED]>

Re: how come session is gone when it is redirect to https

2008-05-31 Thread Dr. Tarique Sani
On Sat, May 31, 2008 at 3:06 PM, robert123 <[EMAIL PROTECTED]> wrote: > > anyone knows why cakephp session is gone when it is redirect from http > to https: This is not CakePHP specific - http <> https - will happen with

how come session is gone when it is redirect to https

2008-05-31 Thread robert123
anyone knows why cakephp session is gone when it is redirect from http to https: Thank you www.generics.ws www.genericsmed.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to

Re: using htaccess to force HTTPS on /myaccount

2008-02-13 Thread francky06l
You have to set a RewriteCond on myaccount after the rule on the HTTPS port. Check on Apache, I am sure there are plenty of sample to combine to condition for a rule. hth On Feb 13, 11:07 pm, Hoddy <[EMAIL PROTECTED]> wrote: > cake1.1, apache1.3 > > Hi > > could anyone ple

using htaccess to force HTTPS on /myaccount

2008-02-13 Thread Hoddy
cake1.1, apache1.3 Hi could anyone please shed any light on using htaccess to force a section of the site (ie myaccount) to use https. The problem is that ALL requests get redirected to HTTPS instead of just those to /myaccount/* My htaccess in root dir looks like: RewriteEngine On

Re: Strategy for minimizing time in https/SSL

2007-12-14 Thread dr. Hannibal Lecter
Well, I did a commercial site with http/https switching a while ago, but it wasn't in Cake.. >From my experience, even though the SSL does bring a slight overhead, it is actually unnoticeable. What we did was mod_overwrite redirection in apache, like this: RewriteRule (.*/secure/.

Re: Strategy for minimizing time in https/SSL

2007-12-14 Thread keymaster
suggestions, anyone? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For

Strategy for minimizing time in https/SSL

2007-12-10 Thread keymaster
In my appController I plan to check if a secure controller/action is being referred to, and if so, redirect to https (assuming we are not already https). Similiarly, if a nonsecure controller/action is being referred to (excluding webroot), I plan to redirect to http (assuming we are not already

passing session from http to https

2007-12-05 Thread gentleJuggernaut
I have a cakephp 1.2 app that moves to https during credit card transactions. When it does all session data is gone. I have researched this issue with php and have found different answers as to session behavior when changing to an SSL url. Session work is new for me. I have read the cake

Re: HTTPS

2007-11-28 Thread powtac
Is the apache DocumentRoot of HTTP the realy the same as for HTTPS? See httpd.conf and the ???ssl???.conf --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send ema

Re: https and mod_rewrite

2007-11-28 Thread powtac
Found a thread similar to your problem: http://www.webhostingtalk.com/archive/index.php/t-373698.html, they mention to run the easyapache or buildapache script... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake

Re: https and mod_rewrite

2007-11-28 Thread jaymon
It turned out to be a slightly corrupted installation of apache. I had compiled mod_rewrite into the apache ssl engine, but then had also loaded the mod_rewrite.so library. Getting rid of the latter fixed the problem Thanks for the help, Jay On Nov 27, 8:13 pm, "Samuel DeVore" <[EMAIL PROTECTED

Re: HTTPS

2007-11-27 Thread wowwildcat
work well too. But when I view it using https, the the style of welcome message didn't show. When I try on https://localhost/cake/welcome I get "Missing controller" error message. It seems like mod_rewrite didn't working in secure connection. Anyone can give me some hint or h

Re: https and mod_rewrite

2007-11-27 Thread Samuel DeVore
On Nov 27, 2007 5:35 PM, jaymon <[EMAIL PROTECTED]> wrote: > > Would the port mapping for the allow_override rule always live in > the .htaccess file or is possible that it is somewhere else? > With my problem it was in the httpd.conf files that the ports and allow override issues were taking pla

Re: https and mod_rewrite

2007-11-27 Thread jaymon
Would the port mapping for the allow_override rule always live in the .htaccess file or is possible that it is somewhere else? On Nov 27, 1:59 pm, "Samuel DeVore" <[EMAIL PROTECTED]> wrote: > I'vehad that problem when my allow override rule was tied to the port > (80) and was not set for thehttp

Re: https and mod_rewrite

2007-11-27 Thread Samuel DeVore
I'vehad that problem when my allow override rule was tied to the port (80) and was not set for the https port (443) it was a funky apache issue for me. I have also had a server where two totally different instances of apache handled http and https and had different configs On Nov 27, 20

Re: https and mod_rewrite

2007-11-27 Thread Chris Hartjes
On Nov 27, 2007 11:45 AM, jaymon <[EMAIL PROTECTED]> wrote: > > I can't seem to get Cake to work over https. I have my project working > fine over http so I know that the code is good. But when I try to run > it from my https server it can't find "/home" (The

Caching, way to globally disable on HTTPS detect?

2007-11-27 Thread jarmstrong
Does anyone have a good example or concept of how someone might easily enable/disable caching based on if HTTPS is enabled/disabled? Another option in my mind might be an extension to the Caching mechanism that caches the HTTPS objects seperately from HTTP. The reason I need this is the links

https and mod_rewrite

2007-11-27 Thread jaymon
I can't seem to get Cake to work over https. I have my project working fine over http so I know that the code is good. But when I try to run it from my https server it can't find "/home" (The requested URL / home/ was not found on this server.). Additionally when my server sta

Re: HTTPS

2007-11-27 Thread maschoen
Your question needs a little more information to get any kind of useful answer. Is this css in a separate style sheet, or embedded directly in the view. Did you put the sytel sheet in the webroot/css directory or elsewhere? Are you using a helper? How are you referencing the filename. Etc. e

Re: Using redirect on https

2007-06-20 Thread safl
I'm sry for spamming the list. The problem had nothing to do with CakePHP but it was a misconfiguration of Apache-SSL. Somehow i was browsing with https url and got the "Accept the certificate" popup but the actual traffic was http not https... very weird. Anyway some tingling w

Using redirect on https

2007-06-20 Thread safl
My app runs on a server that only runs https no http. When i do a: $this->redirect('controller/action', null, true); The created url is: http://cake.devenvironment.local/controller/action/ The obvious error is that the 's' is missing on the url, what am i doing wron

RE: Silly HTTPS quesiton...

2007-04-20 Thread Paul Webster
Most definitely, like I said not the best practice solution - and of course all secure submissions etc should of course be from a secure form which will just naturally posted to the current (HTTPS) path without a redirect. -Original Message- From: cake-php@googlegroups.com [mailto

Re: Silly HTTPS quesiton...

2007-04-20 Thread Martin Schapendonk
2007/4/20, Paul Webster <[EMAIL PROTECTED]>: > Like I said, this may not be the "best practice" way to do it, but to me > it did it good enough given the situation I was addressing. Criticism > and feedback most welcome. With that solution, you might experience browser security warnings when post

RE: Silly HTTPS quesiton...

2007-04-19 Thread Paul Webster
two lines to do most of the magic for me (this is not complete but these are the lines that do it): RewriteRule ^secure/(.*)$ https://domain.com/$1 [QSA,L] RewriteRule ^ns/(.*)$ http://domain.com/$1 [QSA,L] When I want to go to a secure econnection I call my link http://domain.com/secure

RE: Silly HTTPS quesiton...

2007-04-19 Thread Mariano Iglesias
I did this some months ago: http://groups.google.com/group/cake-php/browse_thread/thread/f603fbcad492144 f But in your case if you are redirecting them to HTTPS then Cake will keep that since its links do not include http:// portion. -MI

Silly HTTPS quesiton...

2007-04-19 Thread [EMAIL PROTECTED]
Upon login, I'd like to send a user to a HTTPS url for a secure connection. All subsequent links around the site need to maintain this. How is this accomplished in cake? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

Re: Getting Different Sessions for HTTPS and HTTP

2007-04-18 Thread [EMAIL PROTECTED]
I have a site where some sections are accessed via HTTPS ( login, > payments ) while the rest is accesses via HTTP. Currently I have a > problem where I get a different session data for each protocol. > > On my windows development environment everything works fine - when > using eithe

Getting Different Sessions for HTTPS and HTTP

2007-04-18 Thread [EMAIL PROTECTED]
I have a site where some sections are accessed via HTTPS ( login, payments ) while the rest is accesses via HTTP. Currently I have a problem where I get a different session data for each protocol. On my windows development environment everything works fine - when using either HTTPS or HTTP cake

Re: Login through HTTPS on CakePHP

2006-11-01 Thread mariano.iglesias
through HTTPS. So in boostrap.php I added: $GLOBALS['AppConfig'] = array( 'SSLActions' => array ( 'account/*' ) ); This means that any action within the account controler must be accessed through SSL. Then, I had to extend the Html hel

Login through HTTPS on CakePHP

2006-10-23 Thread Mariano Iglesias
rc' => $this->webroot . 'img/icons/login.jpg')); ?>link($layout_texts['top.menu.forgot'], '/account/forgot'); ?>   My first question could be a little off-topic, and if that's the case I apologyze: if the user is viewing this form throu