Hi,
I set up iTop and wanted to to set it up using https only. For this I defined a virtual host in ssl.conf. I added the line 'RequestHeader set HTTPS on' as suggested by the documentation and set 'secure_connection = true'. Login is working. When I tried to access a menu under 'Admin Tools' for instance I got the error
and added .htaccess in DocumentRoot of iTop containing
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Now I don't get the error anymore, but I'm always redirected to the 'welcome page'. I can access from there the 'Contact page' for instance, but when I try to show all contacts the query is not displayed on the webpage and doesn't come back. The log file of apache and itop are not showing anything. Can someone point me to what I'm doing wrong?
Cheers
Tobias
edit: I'm using iTop Version 2.1.0
Last edit: Tobias Michelis 2015-01-22
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm not entirely sure that this is related as I'm not an expert in the matter, but it sound as if iTop is always trying to go back to the non-SSL version.
Can you check the 'app_root_url' value in your config-itop.php file and ensure that this is set to 'https://itop.yourdomain.com"
Hope this helps.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I set up iTop and wanted to to set it up using https only. For this I defined a virtual host in ssl.conf. I added the line 'RequestHeader set HTTPS on' as suggested by the documentation and set 'secure_connection = true'. Login is working. When I tried to access a menu under 'Admin Tools' for instance I got the error
Fatal error - itop cannot continue
Error: secure connection required.
So I configured a redirect rule in httpd.conf
and added .htaccess in DocumentRoot of iTop containing
Now I don't get the error anymore, but I'm always redirected to the 'welcome page'. I can access from there the 'Contact page' for instance, but when I try to show all contacts the query is not displayed on the webpage and doesn't come back. The log file of apache and itop are not showing anything. Can someone point me to what I'm doing wrong?
Cheers
Tobias
edit: I'm using iTop Version 2.1.0
Last edit: Tobias Michelis 2015-01-22
Hi Tobias,
I'm not entirely sure that this is related as I'm not an expert in the matter, but it sound as if iTop is always trying to go back to the non-SSL version.
Can you check the 'app_root_url' value in your config-itop.php file and ensure that this is set to 'https://itop.yourdomain.com"
Hope this helps.
Hi TwinTraveller,
that was exactly the problem. I missed the line somehow. Thank you very much.
Cheers
Tobias
edit: Sometimes things can be so easy, if you are doing it the right way ;).
Last edit: Tobias Michelis 2015-02-04