Folders named ‘icons,’ click handlers, and a new repo

illustration of lottery number balls in a globe

Two things I’ve learned recently: Don’t use “icons” as a folder name in a website directory if you’re on Apache. Everything inside will 404. Apparently Apache aliases any directory named icons to its own icons directory by default with no .htaccess override allowed. This falls into the “but why did it work on my computer?” […]

Minimum Viable File Permissions

403 notice

The alpha version of a program I’m writing uploaded with whackadoodle file permissions, and after that experience and considering security for database connection information, I became curious about the minimum permission level for various kinds of files that would still allow the page to load and operate. I wrote a test page that has a […]

Joomla and image attributes

Joomla’s editor will strip out any HTML attributes it doesn’t know, which includes usemap. To add that or another unknown image attribute to the allowed list, open /plugins/editors/tinymce/tinymce.php and find if ($advimg) Add |usemap to the collection of |-separated attributes after $elements We also set the editor on Joomla to “extended” functionality, but I don’t […]

Useful web-bits

This spring I started a new venture: professional web development. It is currently far more learning than doing, and I anticipate that being the case for a while. For my own future reference and perhaps to help others I’m going to publicly log the bits and pieces of information I’ve had to track down to […]