Skip to main content

Posts

PHP built-in webserver and IPv6 addresses

Though it's difficult to confirm around the Web, it appears as though the IP address scheme the built-in PHP server uses depends on the host name that's provided.  If a fully-qualified domain name (FQDN) is used, such as server.domain.tld, then the built-in server will be listening for IPv6 based requests.  If the server is started with an IPv4 address identified as the host, then it will naturally listen for IPv4 based requests. The closest to anything official around the Web was a comment in the PHP docs that only seeded this conclusion, at best.  But here it is in any case. Built-in web server http://php.net/manual/en/features.commandline.webserver.php#120449 Ultimately, the following answer from Stack Overflow held the "universal" solution.  Thank you dew010. Running PHP 5.4 built-in web server outside localhost http://stackoverflow.com/a/8377378/2487485 Start your development server like: php -S 0.0.0.0:8989

Apache and backslashes in comments

Apache httpd seems to have an issue that flusters the configuration file parser when a series of backslashes are present in a comment. The following snippet is taken from a vhosts configuration file.  Notice the 5 backslashes at the end of the first line.  # ///// Be sure to manage the corresponding [wrap]         directory block in                  [wrap]         httpd-directories.conf \\\\\ <VirtualHost *:80>     ServerAdmin webmaster@domain.tld     ServerName server.domain.tld     DocumentRoot "/path/to/server.domain.tld"     ErrorLog "/path/to/server.domain.tld-error.log"     CustomLog "/path/to/server.domain.tld-access.log" common </VirtualHost> With these backslashes present, an attempt to start the server wil...

Resetting Apache after a macOS update

Anyone who has been using a Mac for long enough to weather an update or two, and is also running a custom configuration of Apache , knows the "joy" of having to put everything back together again after each update. With each system update something about Apache is invariably updated and any custom configuration will no-longer be in place.  Granted, Apple is kind enough to make backups of the existing configuration files that are being overwritten.  But it's still a hassle to traipse through all the settings files to put them all back together. Without going over docs to see what has changed and trying to determine if it's worthwhile replacing all the new conf files with their backups, there's this solution. Write a document that details each conf file and its corresponding settings.  The file will need to be religiously maintained, but when it comes time to put the server back together, it can just be reconstructed from the details in the well maintained do...

Use your username to log into MyFitnessPal

The login panel for MyFitnessPal indicates that you should use your email address.  In actuality, your username will work just fine as well. A username can be provided in the Email Address field.

Amazon is taking sneakernet big time

Amazon has announced what it is calling AWS Snowmobile .  The name, is no doubt, building off its current AWS Snowball service, and it's taking the notion of physically transporting data both seriously and big time. Amazon has designed a system for moving data that includes trucks, cameras, and encryption that customers can use to move absolutely super-colossal volumes of data to its cloud services.  The company has done the math, and given the enormity of the numbers they're using, it is faster to copy files to mobile media and move it over the road than to copy it directly over the wire. The term sneakernet is a tongue-in-cheek colloquialism for a method of moving data around.  At one point copying files onto diskettes or CDs in order to bring them from computer to computer was just how it was done.  Fast networks and a reliance on Wi-Fi makes the practice look antiquated, to say the least.

It's possible to download macOS system disk images

For whatever reason you may want to, it's possible to download macOS system disk images ( DMG files). After Apple discontinued distributing new versions of, what was then known as OS X , on DVD, it made system images available from the App Store.  The DMGs can be found by: Open the App Store Select the Purchased "tab" Locate the system of interest Download Once the huge download has completed, you should be able to find the DMG in the Applications folder. App Store Purchased items view

NetBeans 8.2 has shipped

According to the chart listed on the NetBeans Release Roadmap , version 8.2 was supposed to ship in September.  The anticipated release date in the Release Overview section was "end of September."  It was a few days late, but it's here now ! It's great news!  And users should be eager to start using the new goodness like PHP 7 and ECMAScript 2015 (ES6).  However, Windows users may have an extra step in getting the installer working. The bug was first reported in October of 2015. "An error occurred while verifying bundled JVM" on Windows Server 2012 R2 The issue has a screen capture of the error message. Comment 7 holds the key to getting the installer up and running. Use the command line to launch the installer. Use the --javahome option to point to a valid Java installation. Example C:\> \Users\USERNAME\Downloads                     ...