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
ssl only at login page
Moderator: crythias
-
- Znuny newbie
- Posts: 3
- Joined: 08 Apr 2013, 12:00
- Znuny Version: 3.1 version
- Real Name: Adrian Videanu
-
- 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
nobody ?
any idea....
is this a good approach ?
any idea....
is this a good approach ?
-
- 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
you could also specify those pages as https:// in SysConfig.videanuadrian wrote:i`m trying to redirect login and logout pages to https with apache mod_rewrite
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
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
-
- 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
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
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
-
- 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
if you go to the http://otrsserver/otrs/customer.pl and are not logged in, it will redirect you to loginurlvideanuadrian wrote:loginurl and logouturl directives but to be honest i do not understand the exact purpose of those two.
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
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
-
- 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
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.
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
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