<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Apache on Michael’s Domain</title><link>https://jeltsch.org/en/tags/apache/</link><description>Recent content in Apache 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/apache/index.xml" rel="self" type="application/rss+xml"/><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><item><title>Problems with vhosts on RedHat 8</title><link>https://jeltsch.org/en/problems_with_vhosts_on_redhat_8/</link><pubDate>Wed, 23 May 2007 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/problems_with_vhosts_on_redhat_8/</guid><description>&lt;p&gt;We have httpd-2.0.40-11.9 installed and configured at our domain registrars site that jeltsch.org, marzidesign.com and sundayscam.com are forwared to our IP address (62.18.133.129). However, whatever site we requested from within our browser, the index.html files from vhost jeltsch.org was loaded. First it seemed that the browsers request didn&amp;rsquo;t include the name of the server. Because in such cases the webservers serves the first vhost in the list (which is jeltsch.org). However, the problem was another one: Under the vhosts directives we had the following configuration:&lt;code&gt;NameVirtualHost *:80ServerAdmin webmaster@jeltsch.orgDocumentRoot /var/www/html/vhosts/jeltsch.orgServerName jeltsch.orgServerAlias www.jeltsch.orgErrorLog logs/jeltsch.org-error_logCustomLog logs/jeltsch.org-access_log combined&lt;/code&gt;and then all the other vhosts. When we changed these settings to the following ones, things started to work:&lt;code&gt;NameVirtualHost 62.78.133.129ServerAdmin webmaster@jeltsch.orgDocumentRoot /var/www/html/vhosts/jeltsch.orgServerName jeltsch.orgServerAlias www.jeltsch.orgErrorLog logs/jeltsch.org-error_logCustomLog logs/jeltsch.org-access_log combined&lt;/code&gt;This is not nice as it requires us to change the IP number in the httpd.conf file every time our dynamically assigned ip address changes. In theory the * should work.&lt;/p&gt;</description></item></channel></rss>