From 0c7bf0252aa5b9a2c3a3d95ce84370a3d67cb62b Mon Sep 17 00:00:00 2001 From: Lambda Date: Wed, 10 Dec 2025 18:43:52 -0500 Subject: Added README and compose example. --- etc/httpd/conf/httpd.conf | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 etc/httpd/conf/httpd.conf (limited to 'etc/httpd/conf/httpd.conf') diff --git a/etc/httpd/conf/httpd.conf b/etc/httpd/conf/httpd.conf new file mode 100644 index 0000000..d99bd92 --- /dev/null +++ b/etc/httpd/conf/httpd.conf @@ -0,0 +1,45 @@ +## +## Apache Server Configuration +## + +ServerRoot /etc/httpd + +# +# Load Standard Modules +LoadModule authz_core_module modules/mod_authz_core.so +LoadModule unixd_module modules/mod_unixd.so +LoadModule log_config_module modules/mod_log_config.so +LoadModule logio_module modules/mod_logio.so +LoadModule mime_magic_module modules/mod_mime_magic.so +LoadModule mime_module modules/mod_mime.so +LoadModule mpm_prefork_module modules/mod_mpm_prefork.so +LoadModule cgi_module modules/mod_cgi.so +LoadModule dir_module modules/mod_dir.so + +# +# Server config +Listen 0.0.0.0:80 +ServerName localhost +ServerAdmin root@localhost +EnableSendFile on +AddDefaultCharset UTF-8 +TypesConfig /etc/mime.types +MIMEMagicFile conf/magic + + + Require all denied + + +DocumentRoot "/srv/www/htdocs/cgit" + + DirectoryIndex cgit.cgi + AddHandler cgi-script .cgi + AllowOverride None + Options +ExecCGI -FollowSymLinks + Require all granted + + +# Future proof + + Require all denied + \ No newline at end of file -- cgit v1.2.3-70-g09d2