<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://dreness.com/wikimedia/index.php?action=history&amp;feed=atom&amp;title=Apache-ssl</id>
		<title>Apache-ssl - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://dreness.com/wikimedia/index.php?action=history&amp;feed=atom&amp;title=Apache-ssl"/>
		<link rel="alternate" type="text/html" href="https://dreness.com/wikimedia/index.php?title=Apache-ssl&amp;action=history"/>
		<updated>2026-05-23T14:20:04Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.3</generator>

	<entry>
		<id>https://dreness.com/wikimedia/index.php?title=Apache-ssl&amp;diff=1129&amp;oldid=prev</id>
		<title>Dre: initial rev from backup</title>
		<link rel="alternate" type="text/html" href="https://dreness.com/wikimedia/index.php?title=Apache-ssl&amp;diff=1129&amp;oldid=prev"/>
				<updated>2005-04-17T00:54:32Z</updated>
		
		<summary type="html">&lt;p&gt;initial rev from backup&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;apache-ssl docs:&lt;br /&gt;
&lt;br /&gt;
http://www.apache-ssl.org/&lt;br /&gt;
&lt;br /&gt;
http://mars.post1.com/home/ngps/m2/howto.ca.html&lt;br /&gt;
&lt;br /&gt;
Installed apache-ssl from ports, edited the config file located at:&lt;br /&gt;
 /usr/local/etc/apache/httpsd.conf&lt;br /&gt;
&lt;br /&gt;
For now just providing basic service, until I get the website data itself migrated from the old server.&lt;br /&gt;
&lt;br /&gt;
Created a startup script in /usr/local/etc/rc.d. Don&amp;#039;t forget to make it executable :)&lt;br /&gt;
 #!/bin/sh -&lt;br /&gt;
 #&lt;br /&gt;
 #    initialization/shutdown script for apache-ssl&lt;br /&gt;
 case &amp;quot;$1&amp;quot; in&lt;br /&gt;
 start)&lt;br /&gt;
         /usr/local/sbin/httpsdctl start &amp;amp;&amp;amp; echo -n &amp;#039; apache-ssl&amp;#039;&lt;br /&gt;
         ;;&lt;br /&gt;
 stop)&lt;br /&gt;
         /usr/local/sbin/httpsdctl stop &amp;amp;&amp;amp; echo -n &amp;#039; apache-ssl&amp;#039;&lt;br /&gt;
         ;;&lt;br /&gt;
 *)&lt;br /&gt;
         echo &amp;quot;unknown option: $1 - should be &amp;#039;start&amp;#039; or &amp;#039;stop&amp;#039;&amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
         ;;&lt;br /&gt;
 esac&lt;br /&gt;
&lt;br /&gt;
I have finished rsyncing the websites up; next step is to get php and mysql happy, then migrate the config files.&lt;br /&gt;
&lt;br /&gt;
SSL Certificates:&lt;br /&gt;
I&amp;#039;m creating my own. Screw the man.&lt;br /&gt;
&lt;br /&gt;
Configure the main apache config file by customizing defaults. Items of interest include default log paths, and the following related to SSL:&lt;br /&gt;
&lt;br /&gt;
 SSLDisable&lt;br /&gt;
 SSLCacheServerPath      /usr/local/sbin/gcache&lt;br /&gt;
 SSLCacheServerPort      /var/log/httpsd/gcache_port&lt;br /&gt;
 SSLCacheServerRunDir    /var/tmp&lt;br /&gt;
 SSLSessionCacheTimeout  300&lt;br /&gt;
 SSLCACertificateFile    /usr/local/etc/apache/CA/cacert.pem&lt;br /&gt;
 SSLCertificateFile      /usr/local/etc/apache/CA/server_cert.pem&lt;br /&gt;
 SSLCertificateKeyFile   /usr/local/etc/apache/CA/server_key.pem&lt;br /&gt;
&lt;br /&gt;
Add Listen and NameVirtualHost directives as needed. In this example, both names point to 1.2.3.4&lt;br /&gt;
&lt;br /&gt;
 Listen 1.2.3.4:80&lt;br /&gt;
 Listen 1.2.3.4:443&lt;br /&gt;
&lt;br /&gt;
 NameVirtualHost www.domain.com:80&lt;br /&gt;
 NameVirtualHost secure.domain.com:443&lt;br /&gt;
&lt;br /&gt;
I like to put my vhost configs into their own files, so at the end of the main config file:&lt;br /&gt;
 Include /usr/local/etc/apache/vhosts/*.conf&lt;br /&gt;
&lt;br /&gt;
Here is a sample vhost block. If this was to be an SSL enabled site, we would use 443 instead of 80 and add the SSLEnable directive.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;VirtualHost www.domain.com:80&amp;gt;&lt;br /&gt;
         ServerAdmin you@domain.com&lt;br /&gt;
         DocumentRoot /home/websites/hotstuff&lt;br /&gt;
         ServerName www.domain.com&lt;br /&gt;
         ServerAlias domain.com&lt;br /&gt;
         ErrorLog /var/log/httpsd/hotstuff-error.log&lt;br /&gt;
         CustomLog /var/log/httpsd/hotstuff-access.log combined&lt;br /&gt;
         &amp;lt;Directory &amp;quot;/home/websites/meta&amp;quot;&amp;gt;&lt;br /&gt;
                 Options Indexes -FollowSymLinks MultiViews&lt;br /&gt;
                 AllowOverride None&lt;br /&gt;
                 Order allow,deny&lt;br /&gt;
                 Allow from all&lt;br /&gt;
         &amp;lt;/Directory&amp;gt;&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Perhaps someday I&amp;#039;ll do apache2: &lt;br /&gt;
http://www.openna.com/documentations/articles/apache/index.php&lt;br /&gt;
&lt;br /&gt;
back to [[meta]]&lt;/div&gt;</summary>
		<author><name>Dre</name></author>	</entry>

	</feed>