Tuesday, November 11, 2014

Apache2 configuration files are changing.

For instance, in the sites-available and the sites-enabled directories, files now seem to have to have a .conf extension. If you already have many virtual hosts setup, this can be a challenge. some people suggest a simple move (mv) to change the filenames, but then the links in sites-enabled will not be correct. You will need to remove the old links and establish new ones. A simple batch file can be created to accomplish the job.



In the sites-available directory

$ sudo mv www.yoursite.com www.yoursite.com.conf.

In the sites-enabled directory

$ sudo unlink www.yoursite.com
$ sudo ls -s ../sites-available/www.yoursite.conf.

Then you may need to rerun a2ensite on each site.


Also could be a change in the default virtual host directory:

Default Virtual Host

If your Apache configuration file is replaced during the upgrade, the location of your default virtual host will change from /var/www to /var/www/html. You may have to disable the default virtual host again, if you don’t want it. We have a specific directory identified in the .conf file to get around this.


Headless web server still seems to work. Arrow is pointing the the leds connected to the parallel port. The leds can do light demos or even present messages about the server status.

No comments:

Post a Comment