We've started using OSticket and would like to force access over https.I've searched and found a post stating we should use a .htaccess file I created the .htaccess file but lost access to the site completely. This web page is not available

ERR_CONNECTION_REFUSED Access was restored by removing the file.  The apache2 error and access logs didn't show up any issues that might point to why it stopped working.my .htaccess file contents     Options +FollowSymlinks    RewriteEngine on    RewriteCond %{SERVER_PORT} =80    RewriteRule ^(.*) https://%{SERVER_NAME}%{REQUEST_URI}Any suggestions welcome...C

Since our osticket runs internally only, we never used https with osTicket, but my suggestion would be to check / make sure that the helpdesk URL is also set to HTTPS://whatever-your-osTicket-URL-is/ under admin panel > settings > system.

Regarding the rewrite condition I'm not sure if that's the right approach to check for port 80, surely works, but in my opinion there are better checks - any search engine like Google, Bing, etc. is your friend here ;)

I tried the helpdesk URL change already so I guess its the .htaccess I've copied and pasted...We're using it internally only too, but we have plans to develop its use further and https will be a requirement at that point

The hosted version of osTicket (http://supportsystem.com) uses https for its osTicket sites.  So I'd say that its likely your webserver configuration or .htaccess.

5 days later

just in case anyone else is struggling on this, its a different linux distro to what I'm used to, I had to enable the ssl module!Noob error!

Thanks for posting your solution.  Hopefully someone else who has having the same issue will see this and it will help them. :)I'll mark this thread as resolved and close it.

Write a Reply...