Skip to content

Commit

Permalink
Merge pull request #190 from wguanicedew/master
Browse files Browse the repository at this point in the history
revert harvester http root
  • Loading branch information
tmaeno authored Jun 5, 2023
2 parents 1e6c7c2 + 68f8285 commit a28a5cc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docker/httpd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ LoadModule authz_core_module modules/mod_authz_core.so
LoadModule mime_module modules/mod_mime.so
LoadModule unixd_module modules/mod_unixd.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule alias_module modules/mod_alias.so

TypesConfig /etc/mime.types

Expand All @@ -16,7 +17,9 @@ PidFile /var/run/panda/httpd.pid
Listen *:8080

# In a basic setup httpd can only serve files from its document root
DocumentRoot "/var/www/html"
DocumentRoot "/var/log/condor_logs"

Alias /condor_logs/ "/var/log/condor_logs/"

# Default file to serve
DirectoryIndex disabled
Expand All @@ -31,7 +34,7 @@ ErrorLog logs/error_log
</Directory>

# Allow documents to be served from the DocumentRoot
<Directory "/var/www/html">
<Directory "/var/log/condor_logs">
Options +Indexes +FollowSymLinks
Require all granted
</Directory>

0 comments on commit a28a5cc

Please sign in to comment.