Skip to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SSL Redirect

Featured Replies

At the Moment, SSL Redirects work this way:

 

<VirtualHost IP:80>
 ServerName domain.tld
 ServerAlias alias.domain.tld
 ServerAdmin admin@domain.tld
 Redirect  / https://domain.tld
</VirtualHost>

 

 

This works fine if you have set up your domain and your SSL cert etc right from the first place.

 

But there's a Problem when you had your website since some years and choose to change your site into an ssl only site afterwards.

 

Lets Pretend a user has folllowing bookmark:

 

http://domain/subpage

 

in this case the user would get redirected to:

 

https://domainsubpage

 

for an unexperienced user this could seem that the website is down.

 

 

a better way would be to use this:

<VirtualHost IP:80>
 ServerName domain.tld
 ServerAlias alias.domain.tld
 ServerAdmin admin@domain.tld
<IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteCond %{HTTPS} off
 RewriteRule (.*) https://domain.tld%{REQUEST_URI}
</IfModule>
 Redirect  / https://domain.tld
</VirtualHost>

 

In this case the user woould be redirected to https://domain/subpage and if mod rewrite is not available, there is still the old call

equivalent "rewrites" for lighttpd and nginx would be?

  • Author

According to the Lighty documentation this should work:

 

http://redmine.lighttpd.net/wiki/1/HowToRedirectHttpToHttps

 

 $HTTP["host"] =~ "domain.tld" {
   url.redirect = ( "^/(.*)" => "https://domain.tld/$1" )
   server.name                 = "domain.tld" 
 }

 

 

With nginx it should be:

server {
server_name  domain.tld;
location / {
     rewrite     ^(.*)   https://domain.tld$1 permanent;
   }
}

 

 

While i know that the lighty configuration works, i haven't tested the nginx one.

If you could now post that all on the bugtracker, that would be nice :)

  • Author

Done, ID: 541

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.