For the Apache httpd web server, you can use the following rule in your
configuration. I imagine you could create a rule for `www.foo.com` as
well. I would have to research the details on that. I also believe you
will have the rewrite module for apache!
<VirtualHost *:80>
<!-- other configuration directives -->
RewriteEngine on
RewriteCond %{SERVER_NAME} =foo.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent]
</VirtualHost>
Brian
On Sat, Dec 16, 2023 at 05:24:54PM -0800, Bob Rowden wrote:
Yes I am curious as to how that works. I updated
the cert on my server
and I still have to purposefully put in https
On December 16, 2023 17:07:30 "Brian E. Lavender" <brian(a)brie.com>
wrote:
Sen,
I just pushed your most recent changes to the Saclug site!
https://www.saclug.org
I wonder if we can get http to forward to https? Dave?
Brian
On Mon, Dec 11, 2023 at 02:13:34PM -0800, Brian E. Lavender wrote:
I am still digesting your <picture> tag on the site! I have to say that
is pretty cool!
https://github.com/brieweb/saclug.org/blob/master/content/pages/locatio
ns.md?plain=1
<picture>
<source srcset="/images/saclug_map_400.webp 400w,
/images/saclug_map_600.webp 600w, /images/saclug_map_800.webp 800w,
/images/saclug_map_1000.webp 1000w, /images/saclug_map.webp 1920w"
type="image/webp" sizes="(max-width: 720px) 400px, (max-width: 1280px)
800px, (max-width: 2560px) 1000px"/>
<source srcset="/images/saclug_map_400.png 400w,
/images/saclug_map_600.png 600w, /images/saclug_map_800.png 800w,
/images/saclug_map_1000.png 1000w, /images/saclug_map.png 1920w"
type="image/png" sizes="(max-width: 720px) 400px, (max-width: 1280px)
800px, (max-width: 2560px) 1000px"/>
<img style="width: 100%; height: auto;"
src="/images/saclug_map.png"
alt="pictographic map showing path from outside bel air market to
meeting room"/>
</picture>
On Mon, Dec 11, 2023 at 09:43:56AM -0800, Sen Hastings wrote:
Just stumbled across this today:
https://ist.uwaterloo.ca/~anderson/images/index.html
It's a fascinating look at older practices of images on the web.
I like this page especially:
https://ist.uwaterloo.ca/~anderson/images/GIFvsJPEG/SameImageDiffSizes.
html
_______________________________________________
Lug-nuts mailing list -- lug-nuts(a)bigbrie.com
To unsubscribe send an email to lug-nuts-leave(a)bigbrie.com
--
Brian Lavender
http://www.brie.com/brian/
"There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the
other
way is to make it so complicated that there are no obvious
deficiencies."
Professor C. A. R. Hoare
The 1980 Turing award lecture
_______________________________________________
Lug-nuts mailing list -- lug-nuts(a)bigbrie.com
To unsubscribe send an email to lug-nuts-leave(a)bigbrie.com
--
Brian Lavender
http://www.brie.com/brian/
"There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the
other
way is to make it so complicated that there are no obvious
deficiencies."
Professor C. A. R. Hoare
The 1980 Turing award lecture
_______________________________________________
Lug-nuts mailing list -- lug-nuts(a)bigbrie.com
To unsubscribe send an email to lug-nuts-leave(a)bigbrie.com
_______________________________________________
Lug-nuts mailing list -- lug-nuts(a)bigbrie.com
To unsubscribe send an email to lug-nuts-leave(a)bigbrie.com
"There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the other
way is to make it so complicated that there are no obvious deficiencies."
Professor C. A. R. Hoare
The 1980 Turing award lecture