Sinclair Trails blog 🔗🚌 #MediaMonday

Check out my blog about our full-time travel around the US in a 40-foot luxury motorhome. A new post every day about travel days, places we explore, RV enhancements and repairs, new food experiences, and more.

Back to one post per day on the Sinclair Trails blog now. The posts have caught up to about a week behind; I like to have a bit of a buffer against days where nothing interesting happens. For the most part, we work during the week, and explore on weekends.

Note: I’ll be doing new Sinclair Trails posts (and links to them here) two or occasionally three times per day for a while, to catch up; the posts are about two weeks behind where we are currently. Enjoy the extra content!

I started this blog on January 1, 2018, with a goal of posting one photo every day. Which I achieved for 1,346 days… until we had no internet during our Yellowstone trip, resulting in some missed days. Oh well, streaks are made to be broken. That might happen more often as we travel with uncertain internet connectivity, though we plan to stay in places with cell coverage, and will get technology to boost our connectivity, since we need internet access for our work.

Fun fact: I have a TextExpander snippet to write the Throwback Thursday text, that automatically includes the appropriate week number and year, thusly:

#! /bin/tcsh
set w=`date +"%U"` ; set y=`expr 1969 + $w + 1` ; echo "For week/year $w of my 52 years celebration, from ${y}: . #ThrowbackThursday #52years"

Which outputs:

For week/year 31 of my 52 years celebration, from 2001: . #ThrowbackThursday #52years

I’ve just created a new blog for my and Jenn’s RV adventures. The SSL certificate is still in the works, and more posts will be coming once the site is fully operational, but here it is: Sinclair Trails.

I don’t suppose there’s any way to prevent macOS updates stomping on my local website every time? After doing an OS update, I have to do some magical incantations in Terminal to get my localhost (dejal.local) site working again. I use this for local testing of website changes before pushing to my production server.

If interested, here is my spellbook to re-enable the local website and PHP, based on instructions I found on the web; presumably I could script this in some way, but I’m not confident enough with scripting or messing with these files to try that:

% sudo nano /etc/apache2/httpd.conf

Uncomment these:

LoadModule authz_host_module libexec/apache2/mod_authz_host.so
LoadModule authz_core_module libexec/apache2/mod_authz_core.so
LoadModule userdir_module libexec/apache2/mod_userdir.so
LoadModule rewrite_module libexec/apache2/mod_rewrite.so
LoadModule php7_module libexec/apache2/libphp7.so
LoadModule vhost_alias_module libexec/apache2/mod_vhost_alias.so
Include /private/etc/apache2/extra/httpd-userdir.conf
Include /private/etc/apache2/extra/httpd-vhosts.conf

% sudo nano /etc/hosts

Make sure this is still there (typically fine after an OS update):

#Local sites
127.0.0.1 dejal.local

% sudo nano /etc/apache2/extra/httpd-userdir.conf

Uncomment to be like this:

Include /private/etc/apache2/users/*.conf
<IfModule bonjour_module>
  RegisterUserSite customized-users
</IfModule>

% sudo nano /etc/apache2/users/dejal.conf

Should be like this (typically fine after an OS update):

<Directory "/Users/dejal/Sites/">
  AllowOverride All
  Options Indexes MultiViews FollowSymLinks
  Require all granted
</Directory>

% sudo nano /etc/apache2/extra/httpd-vhosts.conf

Change to this:

#Virtual Host Entry for dejal.local
<VirtualHost *:80>
DocumentRoot "/Users/dejal/Sites/dejal"
ServerName dejal.local
ErrorLog "/private/var/log/apache2/dejal-error_log"
CustomLog "/private/var/log/apache2/dejal-access_log" common
</VirtualHost>

% sudo apachectl restart