Here's my simple Apache httpd.conf file if anyone goes this route. It can likely be stripped down a lot.
DocumentRoot is where you specify where the books are, SRVROOT is where the Apache bundle is. I think I have the apachehaus.com bundle.
I then just execute bin/httpd.exe whenever I need it. You can also run it all the time as a Windows service.
Code:
Define SRVROOT "C:\Users\user\Downloads\Apps\Apache"
ServerRoot "${SRVROOT}"
Listen 80
ErrorLog "logs/error.log"
LogLevel warn
LoadModule alias_module modules/mod_alias.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
<IfModule unixd_module>
User daemon
Group daemon
</IfModule>
ServerAdmin admin@example.com
ServerName localhost:80
<Directory />
AllowOverride none
Require all denied
</Directory>
DocumentRoot "C:\Users\user\Downloads\books"
<Directory "C:\Users\user\Downloads\books">
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
IndexOptions NameWidth=*
IndexOptions HTMLTable
</Directory>
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
<Files ".ht*">
Require all denied
</Files>
<IfModule log_config_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
<IfModule logio_module>
# You need to enable mod_logio.c to use %I and %O
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>
CustomLog "logs/access.log" common
</IfModule>
<IfModule mime_module>
TypesConfig conf/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
</IfModule>
# Fancy directory listings
Include conf/extra/httpd-autoindex.conf
# Real-time info on requests and configuration
Include conf/extra/httpd-info.conf
# Configure mod_proxy_html to understand HTML4/XHTML1
<IfModule proxy_html_module>
Include conf/extra/httpd-proxy-html.conf
</IfModule>