Difference between revisions of "Apache httpd"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
(Created page with '==About== category:softwareThis page is about the Apache web server. (Maybe it should be renamed "Apache web server" or "Apache HTTP Server" at some point, with "Apache" …')
 
(related page)
Line 1: Line 1:
 
==About==
 
==About==
 
[[category:software]]This page is about the [[Apache]] web server. (Maybe it should be renamed "Apache web server" or "Apache HTTP Server" at some point, with "Apache" being a disambiguation page.){{seed}}
 
[[category:software]]This page is about the [[Apache]] web server. (Maybe it should be renamed "Apache web server" or "Apache HTTP Server" at some point, with "Apache" being a disambiguation page.){{seed}}
 +
===Related Pages===
 +
* [[Apache and PHP]]
 
==Notes==
 
==Notes==
 
To get SSL working with virtual hosting (or at all, really), I had to do the following:
 
To get SSL working with virtual hosting (or at all, really), I had to do the following:

Revision as of 20:44, 7 February 2010

About

This page is about the Apache web server. (Maybe it should be renamed "Apache web server" or "Apache HTTP Server" at some point, with "Apache" being a disambiguation page.)

This page is a seed article. You can help HTYP water it: make a request to expand a given page and/or donate to help give us more writing-hours!

Related Pages

Notes

To get SSL working with virtual hosting (or at all, really), I had to do the following:

# added above the "Include /etc/apache2/sites-enabled/" line:
NameVirtualHost *:443
# added below it:
SSLProtocol -all +TLSv1 +SSLv3
SSLCertificateFile /etc/apache2/certs/server.crt
SSLCertificateKeyFile /etc/apache2/certs/server.key
<IfModule mod_ssl.c>
   # SSL name based virtual hosts are not yet supported, therefore no
   # NameVirtualHost statement here
   Listen 443 https
</IfModule>
  • Pick which domain to serve for https requests, and add to that site's config file:
<VirtualHost *:443>
       SSLEngine on
       (copy of essential stuff from <VirtualHost:*>)
</VirtualHost>
  • (and finally...) Remember to forward port 443 on the router.

Links

Official