<br><br><b><i>Bill Moseley &lt;moseley@hank.org&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> On Wed, May 14, 2008 at 08:29:00AM -0700, Dr. Jennifer Nussbaum wrote:<br>&gt; Hi,<br>&gt; <br>&gt; I just upgraded some packages on my server, including some versions<br>&gt; of Catalyst.  Now Im getting problems after i log in a user. Im<br>&gt; using the RequireSSL plugin, but now, after a user logs in<br>&gt; successfully, instead of going to http://www.mysite.com/myapp/, it<br>&gt; goes to<br>&gt; http://www.mysite.com:443/myapp/user/http://www.mysite.com/myapp.<br>&gt; And then I get the message "Bad Request...your speaking plain HTTP<br>&gt; to an SSL-enabled server port. Instead use the HTTPS scheme to<br>&gt; access this URL, please."<br><br>Sure you didn't end up down-grading Catalyst::Engine::Apache?<br><br>At one point it only would remove port 80 but in recent versions it<br>removes
 both 80 and 443:</blockquote>Hey, i must have missed that for some reason. Upgrading fixes the port problem.<br><br>But i do still have the double-URL problem which may be something im doing.<br>(But it did change recnetly....)<br><br>My login system (i copied this from somewhere) works like this: in my Root<br>controller, if there's no user, i set<br><br>&nbsp; $c-&gt;session-&gt;{original_uri} = $c-&gt;req-&gt;uri;<br><br>and then i redirect to the login page. Then in the login routine, if the login is successful:<br><br>&nbsp; my $redirect = $c-&gt;session-&gt;{original_uri};<br>&nbsp; $c-&gt;session-&gt;{original_uri} = undef;<br>&nbsp; $c-&gt;res-&gt;redirect( $c-&gt;uri_for("$redirect")); # stringify<br><br>But this redirects to something with that weird double URL (but without the 443<br>problem at least).<br><br>Is this something thats changed recently? What should i be doing to get this behaviour?<br><br>Thanx again!<br><br>Jen<br><p>&#32;