Comments (4)
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.
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.
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.
@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)
- Master branch docker-compose setup broken; web interface error HOT 1
- Allow 2fa to be enabled on a per customer basis
- exception handler for Irrdb\\UpdateAsnDb, Irrdb\\UpdatePrefixDb HOT 2
- Whois PeeringDB closed Jan 2024
- IX-F export: allow excluding VLANs HOT 2
- Use MANRS API HOT 4
- Missing required parameter for [Route: customer@overview] [URI: customer/overview/{cust}/{tab?}] HOT 4
- Setup wizard for the initial database objects
- Looking Glass Page Syntax Error ! HOT 2
- MySQL issues with Install Script HOT 2
- Collector Startup Failure After Upgrade to Version 6.4.0 HOT 8
- Core bundle statistic page missing selection fields in mobile view
- IX-F Member Export Cannot Exlcude ASN/Tag HOT 1
- Misspelling "Port Utilisation" HOT 2
- ISSUE WITH MRTG HOT 1
- The masklen must not be greater than 64. HOT 2
- logger: "Driver [null] is not supported." HOT 3
- VLAN into IXPmanager is informational? HOT 1
- `/switch/store-by-snmp` fails with error 405 HOT 2
- The layer2 provisioner API reports the wrong port name for interfaces on different switches HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ixp-manager.