<commit_before><?xml version="1.0"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>How a request is being processed</title>
</head>
<body>
<h1>Install Apache-Httpd with SSL</h1>
<ul>
<li>Install Apache-Httpd with SSL support 
  <ul>
       <li>Download <a href="http://www.openssl.org">Open-SSL</a> version 0.9.8d or higher<br/></li>
       <li>Build Open-SSL
       <ul>
         <li>./config</li>
         <li>make</li>
         <li>make install (will install at /usr/local/ssl by default, see INSTALL file for more details)</li>
       </ul></li>
       <li>Test Open-SSL installation by typing &quot;/usr/local/ssl/bin/openssl version&quot;</li>
       <li>Download <a href="http://httpd.apache.org">Apache-Httpd</a> version 2.2.3 or higher</li>
       <li>Build Apache-Httpd with SSL
         <ul>
       <li>./configure --enable-ssl=shared --with-ssl=/usr/local/ssl --enable-proxy --enable-proxy-http<br/></li>
       <li>make</li>
       <li>make install (will install at /usr/local/apache2, see INSTALL file for more details)<br/></li>
         </ul></li>
       <li>Create SSL-Key
         <ul>
           <li>openssl genrsa 1024 &gt; /usr/local/apache2/conf/server.key</li>
           <li>openssl req -new -x509 -nodes -sha1 -days 365 -key /usr/local/apache2/conf/server.key &gt; /usr/local/apache2/conf/server.crt</li>
         </ul></li>
       <li>Uncomment SSL config within /usr/local/apache2/conf/httpd.conf (Include conf/extra/httpd-ssl.conf)</li><li>Configure virtual hosts within /usr/local/httpd-2.2.3/conf/extra/httpd-vhosts.conf</li><ul><li>A sample can be found at <a href="https://svn.wyona.org/repos/public/yanel/trunk/src/httpd-2.2.3/conf/extra/httpd-vhosts_WITH_SSL.conf">yanel/trunk/src/httpd-2.2.3/conf/extra/httpd-vhosts_WITH_SSL.conf</a></li></ul>
       <li>Startup Apache: /usr/local/apache2/bin/apachectl start</li>
       <li>Test SSL: https://127.0.0.1:443</li>
  </ul>
</li>
</ul>
<p>Httpd and Tomcat with SSL: <img src="../../img/tomcat-with-ssl.png"/>
<br/>
Httpd with SSL only: <img src="../../img/httpd-with-ssl.png"/>
</p>
</body>
</html><commit_msg>note about vhosts added and testing OpenSSL<commit_after><?xml version="1.0"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>How a request is being processed</title>
</head>
<body>
<h1>Install Apache-Httpd with SSL</h1>
<ul>
<li>Install Apache-Httpd with SSL support 
  <ul>
       <li>Download <a href="http://www.openssl.org">Open-SSL</a> version 0.9.8d or higher<br/></li>
       <li>Build Open-SSL
       <ul>
         <li>./config</li>
         <li>make</li>
         <li>make install (will install at /usr/local/ssl by default, see INSTALL file for more details)</li>
       </ul></li>
       <li>Test Open-SSL installation by typing &quot;/usr/local/ssl/bin/openssl version&quot;. As a response one should receive something like &quot;OpenSSL 0.9.8d 28 Sep 2006&quot;</li>
       <li>Download <a href="http://httpd.apache.org">Apache-Httpd</a> version 2.2.3 or higher</li>
       <li>Build Apache-Httpd with SSL
         <ul>
       <li>./configure --enable-ssl=shared --with-ssl=/usr/local/ssl --enable-proxy --enable-proxy-http<br/></li>
       <li>make</li>
       <li>make install (will install at /usr/local/apache2, see INSTALL file for more details)<br/></li>
         </ul></li>
       <li>Create SSL-Key
         <ul>
           <li>openssl genrsa 1024 &gt; /usr/local/apache2/conf/server.key</li>
           <li>openssl req -new -x509 -nodes -sha1 -days 365 -key /usr/local/apache2/conf/server.key &gt; /usr/local/apache2/conf/server.crt</li>
         </ul></li>
       <li>Uncomment SSL config within /usr/local/apache2/conf/httpd.conf (Include conf/extra/httpd-ssl.conf)</li>
       <li>Configure virtual hosts within /usr/local/httpd-2.2.3/conf/extra/httpd-vhosts.conf</li><ul><li>A sample can be found at <a href="https://svn.wyona.org/repos/public/yanel/trunk/src/httpd-2.2.3/conf/extra/httpd-vhosts_WITH_SSL.conf">yanel/trunk/src/httpd-2.2.3/conf/extra/httpd-vhosts_WITH_SSL.conf</a></li></ul>
       <li>Uncomment vhosts config within /usr/local/apache2/conf/httpd.conf (Include conf/extra/httpd-vhosts.conf)</li>
       <li>Startup Apache: /usr/local/apache2/bin/apachectl start</li>
       <li>Test SSL: https://127.0.0.1:443</li>
  </ul>
</li>
</ul>
<p>Httpd and Tomcat with SSL: <img src="../../img/tomcat-with-ssl.png"/>
<br/>
Httpd with SSL only: <img src="../../img/httpd-with-ssl.png"/>
</p>
</body>
</html>
{'fraction_non_alphanumeric': 0.19175742045697203, 'fraction_numerical': 0.026051676275891524, 'mean_word_length': 2.8839137645107793, 'pattern_counts': {'":': 0, '<': 161, '<?xml version=': 2, '>': 161, 'https://': 4, 'lorem ipsum': 0, 'www.': 6, 'xml': 4}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4625259', 'n_tokens_mistral': 1836, 'n_tokens_neox': 1741, 'n_words': 352}