Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th February 2006, 20:52
blackflag blackflag is offline
Member
 
Join Date: Feb 2006
Posts: 47
Thanks: 0
Thanked 2 Times in 2 Posts
Default redirect an application (egroupware) from http to https

Hello all,
I have egroupware installed. It is accessible via http and https.
I want egroupware only accessible via https.
I tried in apache derictives:

Redirect /egroupware https://domain.tld/egroupware

but when I access the url ispconfig says in derictives that it is not supported.

So, what is the correct way to make an app only accessible via https?
Or the correct way in ispconfig to do a redirect?

tia
stefan
Reply With Quote
Sponsored Links
  #2  
Old 20th February 2006, 22:26
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Is mod_rewrite enabled in your Apache?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 21st February 2006, 01:09
blackflag blackflag is offline
Member
 
Join Date: Feb 2006
Posts: 47
Thanks: 0
Thanked 2 Times in 2 Posts
Default

yes, mod_rewrite is enabled in my apache2 configuration
Reply With Quote
  #4  
Old 21st February 2006, 10:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

What exactly did you add in the Apache Directives field? Just
Code:
Redirect /egroupware https://domain.tld/egroupware
?
You must at least have
Code:
RewriteEngine on
at the beginning. Have a look at this guide: http://httpd.apache.org/docs/1.3/misc/rewriteguide.html
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 21st February 2006, 16:09
blackflag blackflag is offline
Member
 
Join Date: Feb 2006
Posts: 47
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Okay I tried this and it dont work.
I get then a message that the limit of redirect is reached for that URL.
ANd there is no discription about this limit in the link you gave.

Whats now?

can someone help

tia

stefan
Reply With Quote
  #6  
Old 21st February 2006, 16:25
blackflag blackflag is offline
Member
 
Join Date: Feb 2006
Posts: 47
Thanks: 0
Thanked 2 Times in 2 Posts
Default

should mod_rewrite enabled in ispconfig? Or in my apache2?
When in ispconfig where can I do this?

tia
stefan
Reply With Quote
  #7  
Old 21st February 2006, 16:56
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,487
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

mod_rewrite must be loaded in your apache configuration and if you want to put rewrite rules in your apache directiveds window you must enable it wit putting this line

RewriteEngine on

in the apache directives window too as falko posted above.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 21st February 2006, 17:04
blackflag blackflag is offline
Member
 
Join Date: Feb 2006
Posts: 47
Thanks: 0
Thanked 2 Times in 2 Posts
Default

"RewriteEngine on " have I set
but as I discribed I get the error message that the "limit of redirect is reached for that URL" when I browse http://domain.tld/egroupware

Okay I enable this fo some time:

Redirect /egroupware https://www.nopanicsystems.net/egroupware
RewriteEngine on

Please browse : http://www.nopanicsystems.net/egroupware

that you can see the error message.

what is to do?

tia stefan

Last edited by blackflag; 21st February 2006 at 17:15.
Reply With Quote
  #9  
Old 21st February 2006, 17:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by blackflag
Redirect /egroupware https://www.nopanicsystems.net/egroupware
RewriteEngine on
It should be
Code:
RewriteEngine on
Redirect /egroupware https://www.nopanicsystems.net/egroupware
Quote:
but as I discribed I get the error message that the "limit of redirect is reached for that URL" when I browse http://domain.tld/egroupware
This happens because when you go to https://www.nopanicsystems.net/egroupware it is redirected to https://www.nopanicsystems.net/egroupware which is then redirected to https://www.nopanicsystems.net/egroupware and so on - you're in a loop. you must change your redirect rule.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #10  
Old 21st February 2006, 17:56
blackflag blackflag is offline
Member
 
Join Date: Feb 2006
Posts: 47
Thanks: 0
Thanked 2 Times in 2 Posts
 
Default

I have it done it how you mean it.

RewriteEngine on
Redirect /egroupware https://www.nopanicsystems.net/egroupware


browse http://www.nopanicsystems.net/egroupware
give the error, also with https.

I really dont know what is going wrong.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
From HTTP to HTTPS fastcooler Installation/Configuration 4 15th April 2006 15:43
ISPConfig - From HTTPS to HTTP Hans Installation/Configuration 4 13th February 2006 19:27
from http to https after installation? Mahir Installation/Configuration 25 7th December 2005 20:40
No login access by http or https onoxsis Installation/Configuration 9 24th October 2005 11:13
Change from https to http after install hagel Installation/Configuration 4 22nd August 2005 17:14


All times are GMT +2. The time now is 09:31.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.