ssl only at login page

Moderator: crythias

Locked
videanuadrian
Znuny newbie
Posts: 3
Joined: 08 Apr 2013, 12:00
Znuny Version: 3.1 version
Real Name: Adrian Videanu

ssl only at login page

Post by videanuadrian »

Hi guys,
i`m trying to redirect login and logout pages to https with apache mod_rewrite and i encounter some problems because the login link is http://myhost.com/otrs/index.pl and if i put a rules like :

RewriteCond %{QUERY_STRING} ^$ [OR]
RewriteCond %{QUERY_STRING} ^Action=Logout
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [NE,L]

some ajax actions does not work anymore (like admin->sysConfig->actions).
any ideas how can i realize that ?
thanks.
Adrian
videanuadrian
Znuny newbie
Posts: 3
Joined: 08 Apr 2013, 12:00
Znuny Version: 3.1 version
Real Name: Adrian Videanu

Re: ssl only at login page

Post by videanuadrian »

nobody ?
any idea....
is this a good approach ?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: ssl only at login page

Post by crythias »

videanuadrian wrote:i`m trying to redirect login and logout pages to https with apache mod_rewrite
you could also specify those pages as https:// in SysConfig.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
videanuadrian
Znuny newbie
Posts: 3
Joined: 08 Apr 2013, 12:00
Znuny Version: 3.1 version
Real Name: Adrian Videanu

Re: ssl only at login page

Post by videanuadrian »

Hi Crythias, thanks for reply.
If you are talking about HttpType directive, from what i understand from file description this is not what i want.
My setup is something like :
customer enter the address http://my.domain.com the it is automatically redirected to https://my.domain.com/otrs/index.pl (this part is done via index.html),
after login the system has to switch back the user to http, because after that i do not need the extra load generated by https on server.
I also looked at loginurl and logouturl directives but to be honest i do not understand the exact purpose of those two.

Regards,
Adrian
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: ssl only at login page

Post by crythias »

videanuadrian wrote:loginurl and logouturl directives but to be honest i do not understand the exact purpose of those two.
if you go to the http://otrsserver/otrs/customer.pl and are not logged in, it will redirect you to loginurl
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: ssl only at login page

Post by crythias »

also, what kind of load do you think SSL represents in any noticeable way to your server in 2013?
IMO, you won't notice any difference ever.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked