You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Tuan Luu <tu...@gmx.ch> on 2004/03/04 10:33:42 UTC

redirect cocoon http to https

Hello 
I have cocoon 2.1.2 mod_jk2, apache httpd 2.0.48, tomcat 4.1.29. 

Now I'd like to transfer all http to https: 
http://servername/cocoon --> https://servername/cocoon

I can rewrite or redirect the server to https, but actually not the
directory. 
can anyone help here?


-- 
+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: redirect cocoon http to https

Posted by Tuan Luu <tu...@gmx.ch>.
This only works if I enter servername in the url 
but if you enter servername/cocoon --> http://servername/cocoon


> Hello,
> 
> In your httpd.conf 
> 
> <Directory />
>   RewriteEngine on
>   RewriteCond         %{SERVER_NAME} =your.server.domain
>   RewriteRule         ^(.*)$  https://your.server.domain/$1
> </Directory>
> 
> 
> any help in: http://httpd.apache.org/docs/mod/mod_rewrite.html#RewriteRule
> 
> On Thursday 04 March 2004 10.33, Tuan Luu wrote:
> > Hello
> > I have cocoon 2.1.2 mod_jk2, apache httpd 2.0.48, tomcat 4.1.29.
> >
> > Now I'd like to transfer all http to https:
> > http://servername/cocoon --> https://servername/cocoon
> >
> > I can rewrite or redirect the server to https, but actually not the
> > directory.
> > can anyone help here?
> 
> -- 
> bye,
> Zoltan Zidarics programmer
> PTE University Pecs, Hungary
> icq: 43288694
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 

-- 
+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: redirect cocoon http to https

Posted by Zamek <za...@vili.pmmf.hu>.
Hello,

In your httpd.conf 

<Directory />
  RewriteEngine on
  RewriteCond         %{SERVER_NAME} =your.server.domain
  RewriteRule         ^(.*)$  https://your.server.domain/$1
</Directory>


any help in: http://httpd.apache.org/docs/mod/mod_rewrite.html#RewriteRule

On Thursday 04 March 2004 10.33, Tuan Luu wrote:
> Hello
> I have cocoon 2.1.2 mod_jk2, apache httpd 2.0.48, tomcat 4.1.29.
>
> Now I'd like to transfer all http to https:
> http://servername/cocoon --> https://servername/cocoon
>
> I can rewrite or redirect the server to https, but actually not the
> directory.
> can anyone help here?

-- 
bye,
Zoltan Zidarics programmer
PTE University Pecs, Hungary
icq: 43288694


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org