<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Webserver on Michael’s Domain</title><link>https://jeltsch.org/en/tags/webserver/</link><description>Recent content in Webserver on Michael’s Domain</description><generator>Hugo</generator><language>en-us</language><copyright>Copyright © 2002 - 2026 Michael Jeltsch.</copyright><lastBuildDate>Fri, 24 Jul 2026 00:18:18 +0300</lastBuildDate><atom:link href="https://jeltsch.org/en/tags/webserver/index.xml" rel="self" type="application/rss+xml"/><item><title>Updating drupal</title><link>https://jeltsch.org/en/updating_drupal/</link><pubDate>Tue, 19 Feb 2013 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/updating_drupal/</guid><description>&lt;p&gt;Here&amp;rsquo;s what I need to to to update 
 &lt;a href="https://jeltsch.org/en/tags/drupal/"&gt;drupal&lt;/a&gt;
 (minor updates, e.g. from 7.18 to 7.19) on my Ubuntu server. I have installed drupal from the drupal source itself and not from the Ubuntu repository (because the Ubuntu repository is usually quite old and not updated as frequently). Actually the update is quite painless; I am sure somebody automated that already somewhere…&lt;code&gt;cd /var/wwwsuwget http://ftp.drupal.org/files/projects/drupal-7.19.tar.gztar -xvzf drupal-7.19.tar.gz chown -R jeltsch:www-data drupal-7.19rm drupal-7.19.tar.gz cp -a drupal-7.18/sites/ drupal-7.19/&lt;/code&gt;The above cp command makes a copy of the complete site, which can take a long time and use lots of disk space. Instead, you can delete the &amp;ldquo;sites&amp;rdquo; subdirectory in the new drupal folder and make a link to the old &amp;ldquo;sites&amp;rdquo; subdirectory:&lt;code&gt;cd drupal-7.19rm -rf sitesln -s ../drupal-sites/ sites&lt;/code&gt;Here you should log into your site and put it into maintenance mode! &lt;code&gt;mysqldump -u root -p --databases drupal7_jeltsch_org drupal7_claudia_jeltsch_org drupal7_lammertlab_org &amp;gt; drupal7_all.sqlrm drupal7ln -s drupal-7.19/ drupal7&lt;/code&gt;Here you should click the link to the update script. After the updates were successfully performed you can put your site online again.** ****Drupal 9**Updating Drupal 9 is most easily done using composer:&lt;code&gt;composer update &amp;quot;drupal/core-*&amp;quot; --with-all-dependencies&lt;/code&gt;Also the modules can be updated. However, in my case the update was not always targeting the module that was actually in use but a module that was lower in the priority list in some other directory. For minor version updates:&lt;code&gt;composer update drupal/modulename --with-dependencies&lt;/code&gt;For major version updates:&lt;code&gt;composer require drupal/modulename:^2.0&lt;/code&gt;After this, don&amp;rsquo;t forget to visit 
 &lt;a href="https://yoursite.com/update.php" target="_blank" rel="noopener noreferrer nofollow"&gt;https://yoursite.com/update.php&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
!&lt;/p&gt;</description></item><item><title>Apache on Mac OS X</title><link>https://jeltsch.org/en/apache_on_mac_os_x/</link><pubDate>Wed, 23 May 2007 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/apache_on_mac_os_x/</guid><description>&lt;p&gt;I still use one of our ancient Macintoshs (Blue/White G3) as a web server (
 &lt;a href="http://msbl.helsinki.fi" target="_blank" rel="noopener noreferrer nofollow"&gt;msbl.helsinki.fi&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
). I had set up some access restrictions for some of the pages containing confidential data. And of course I forgot how I did it. Now I needed to figure out as I wanted to add some new stuff. For the general server, the accession is restricted based on individual .htaccess files in directories. In my own user directory (
 &lt;a href="http://msbl.helsinki.fi/~michael" target="_blank" rel="noopener noreferrer nofollow"&gt;msbl.helsinki.fi/~michael&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
) only one folder is access restricted (
 &lt;a href="http://msbl.helsinki.fi/~michael/presentations/confidential" target="_blank" rel="noopener noreferrer nofollow"&gt;msbl.helsinki.fi/~michael/presentations/confidential&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
). This setting is done in the main configuration file of Apache (/etc/httpd/httpd.conf) and only two users (michael and mcbl) have access via the following entry:&lt;code&gt; AuthType Basic AuthName &amp;quot;Confidental&amp;quot; AuthUserFile /Users/michael/.htpasswd require user michael mcbl&lt;/code&gt;&lt;/p&gt;</description></item></channel></rss>