Giter Club home page Giter Club logo

Comments (4)

barryo avatar barryo commented on September 26, 2024

Assuming you're using Apache:

genUrl() will determine if the current request is via HTTPS and, if so, will generate a URL with https://. If not, http:// is used. This is done by checking the $_SERVER['HTTPS'] variable.

In the various projects that use this code, we have Apache redirect any non-SSL visitors to the SSL version. This works better as it ensures SSL connections rather than hoping the programer will remember to do this on a case by case basis.

If you are not using Apache please let me know what you are using.

If you want a way to force SSL, let me know also as I can code this in.

In either of the above cases, please reopen the ticket.

from ixp-manager.

 avatar commented on September 26, 2024

Hi Barry,
checked this in detail, now. I'm using apache and have not (yet) forced IXP Manager to https.
When I created the user I was logged on with only http. I now created another user,
using IXP Manager with https, than the link in the email is correct with https.
I have to enforce https usage for the IXP Manager, on my todo list, now.
Thanks, Thorleif

from ixp-manager.

listerr avatar listerr commented on September 26, 2024

On Mon, Sep 30 at 9:37:15 PM, bcix wrote:

I have to enforce https usage for the IXP Manager, on my todo list, now.
Thanks, Thorleif

I have an apache config snippet that does exactly that..

Let me know if you want it :)

rob

Rob Lister
[email protected]
LONAP Ltd

from ixp-manager.

barryo avatar barryo commented on September 26, 2024

@bcix : On Apache something like the following snippet should help to put the entire /ixp site under HTTPS:

<VirtualHost www.bcix.de:80>

    ...

    RewriteEngine on

    RewriteCond %{HTTPS} off
    RewriteRule ^/ixp/(.*)$ https://www.bcix.de/ixp/$1 [L,R]

</VirtualHost>

 <VirtualHost www.bcix.de:443>

    ...

</VirtualHost>

from ixp-manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.