Add httpd from homebrew-dupes
Convert single quotes to double, use HTTPS
Separate 2.2 and 2.4 formulas

Create new httpd24 formula, rename httpd to httpd22.
Add pcre dependency
Create arguments array
Add option for brewed OpenSSL
Add option for brewed apr and apr-util
Make brewed pcre optional

Make use of Homebrew’s PCRE optional, and add configure flag if it is
used.
Create and use Homebrew layout

Thanks to @curvedmark for writing this portion.
Remove erroneous comma, and close def httpd_layout
Fix options and require apr/apr-util
Default to unprivileged ports on httpd 2.4

Use ports 8080 and 8443 by default, with an option to use the default
(privileged) ports 80 and 443.
Add improvements from httpd24 formula to httpd22
Separate config directories by version, require pcre
Update plist to point to bin instead of sbin

Correct the LaunchDaemon path since we’re putting sbins in bin.
Add conflicts
Use opt_prefix instead of version-specific prefix

Point config files to the opt_prefix instead of the version-specific
prefix so that configuration files don’t have to be updated with every
software update.
Merge pull request #24 from Noctem/httpd

Migrate httpd 2.2 from homebrew-dupes, add httpd 2.4
Remove --enable-proxy as mentioned in pull #24 comments
As mentioned in pull 24 comments, touch log files

Prevents potential problems if switching from privileged ports to
unprivileged ports.