Search the Community
Showing results for tags 'https'.
-
Hi all My .htaccess file is correctly redirecting all requests to https:// www. That's great until I want to work locally. I thought I had seen a blog post by Ryan where there was a new config setting to ignore both of these if working from localhost? I can't find it now so wondering if I was imagining ?
-
Hi, I would like to set an admin template to 'https only' as recommended in the Processwire security docs. However if I do this it forces this setting locally too, resulting in https://localhost requests which result in an error page. Is there a simple way round this? Setting https for templates in the config? Thanks!
-
Hi all, Just a quick question, when using the multisite module is there anything different that needs to be done in order to setup HTTPS for each of the domains its serving? Would a single SSL certificate for the main domain be enough to cover the others aswell or would you need multiple ceritficates one for each domain the mutlisite setup uses?
-
I installed an SSL Certificate, then edited my .htaccess file: # ----------------------------------------------------------------------------------------------- # 9. If you only want to allow HTTPS, uncomment the RewriteCond and RewriteRule lines below. # ----------------------------------------------------------------------------------------------- RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] by uncommenting out the Rewrite lines. Now I get 404 error pages when I try go to any .../processwire-master/<pagename>/ This includes my admin page at .../processwire-master/processwire/, so i can't get into my admin. What else do I need to do?
-
I've noticed that the processwire.com website runs over SSL, but i also noticed that visiting the websites over http still works, and once using the insecure version the links are also relative pointing to non-ssl links. As a fix there could possibly add an auto redirect to the HTTPS site? This could potentially then take advantage of HTTP/2 speed.
-
The last days two new sites went online and both got a SSL certificate installed. But one has a HTTP problem, although both are configured the same (seem to be). When I run curl -I -L https://www.example.com/ (http://bit.ly/2pOdjGj) it gets redirected to itself again and again. I had a HTTPS redirect in my .htaaccess but have removed it. The home template was configured to use only HTTPS but is now configured to accept both. If I change that to HTTP only, I get and error. The origin must come from PW, because all files not processed by PW don't have the redirect problem. I had a look at the /site/assets/cache/ folder but don't know what to delete. And there is a cache table in the DB as well. Don't know either if I can just delete its entries. Apache 2.4.18 PHP 7.0.11 PW 3.0.42 No dedicated cache installed, no cache activated in PW
-
Hello community, This is the first time I have enabled SSL with PW powered site so forgive the question. Templates are set to HTTP or HTTP so content is being processed. However all the assets do not load correctly eg. Failed to load resource: the server responded with a status of 404 (Page Not Found) https://site.com/site/assets/files/1/logo.png Any tips? Thank you!
-
i have one website in PW working fine https://domain.com in .htaccess i have un commented bellow to work fine with my SSL RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L] now i have one folder in this domain with images & i want to get the images with http not https. like when i type http://domain.com/images/image1.jpg it convert this into https://domain.com/images/image1.jpg how to make only imags in image foler load with http Thanks
-
HELLO! Is anyone running a http/2 setup in production yet and have any strategies / experiences they can share? I'm currently running on Ubuntu with DigitalOcean | nginx with serverpilot.io (and they now offer https/2 support)
-
Now that CloudFlare has free Universal SSL, I'd like to serve my site over https:// What is the recommended PW approach to do this? Is it just a matter of tweaking the .htaccess file to force https:// ? If so, how would I go about it? With one little tweak -- adding an "s" to the force "www." rewrite rule -- I can successfully redirect from http://domain.com to https://www.domain.com: RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] But how should I deal with the second scenario: redirecting from http://www.domain.com to http s://www.domain.com? Everything I've tried ends up in a redirect loop.
-
When installing ProcessWire out of the box (Softaculous), there is one minor mistake in making it truly https friendly. site/templates/_main.php - the http: has to be removed in order to load the google font accordingly to the site setup https/http. <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title><?php echo $title; ?></title> <meta name="description" content="<?php echo $page->summary; ?>" /> <link href='http://fonts.googleapis.com/css?family=Lusitana:400,700|Quattrocento:400,700' rel='stylesheet' type='text/css' /> <link rel="stylesheet" type="text/css" href="<?php echo $config->urls->templates?>styles/main.css" /> </head> Great product! Continue the brilliance.
- 7 replies
-
- 3
-
-
- https
- out of the box
-
(and 2 more)
Tagged with:
-
We have installed an SSL certificate on our server for the domain its running on. There are several pages in the website that have user input like a form. How can i force that those pages only be accessable on https:// So that direct access to those URLs or links to the URL automaticly be redirected to https:// instead of http://
-
Hallo! I'd like to force SSL (port 443) for the back-end (./processwire/) and prevent the users from loging to the back-end using non-encrypted connection. What seems to be the best way to achieve it? Best regards, Mick