dyaryo

This is one of the first few photos that I took that I liked.

This was taken early morning, the first of January, New Year’s day,  some decades ago. The mist is actually the smoke left over from the previous night’s New Year fireworks and revelry. The guy on the bicycle is what one can call a newspaper delivery boy on the way towards the Malacañang area.  One can still see the barbed-wire barricades further down the street guarding the entrance to the Palace gates.

This was photo taken on film — the dark patches on the left is from its deterioration because I’m bad at keeping this thing.

force https

Backup your .htaccess file.

In the .htaccess  file add this to the top:

# Always use https for secure connections
# Replace 'www.example.com' with your domain name
# (as it appears on your SSL certificate)
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L]

Important! Replace www.example.com with your own domain name.

That  should do it (worked for me)

Changing directory or file permissions or ownerships

Recursively change ownership of directories or files

find /www -type d -exec chown root:root {} \;

find /www -type -f -exec chown root:root {} \;

1: find directories under /www and execute the chown command on each directory found and change their ownership to root
2: find files under /www and execute the chown command on each directory found and change their ownership to root

 

Recursively change permissions for a directory or file

find /www -type d -exec chmod 644 {} \;

find /www -type f -exec chmod 644 {} \;