diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-11-02 11:44:36 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-11-02 11:44:36 +0900 |
| commit | f47a2ded50f3367d0c7b0673a6c452a93c1a669f (patch) | |
| tree | 81d5189dd550b7f4f4fe9227029cb87c9a96f7a6 /services/repos/httpd-cgit.conf | |
| parent | 960fb725eff960720268aa1425ac8880377d638f (diff) | |
| download | nsfisis.dev-f47a2ded50f3367d0c7b0673a6c452a93c1a669f.tar.gz nsfisis.dev-f47a2ded50f3367d0c7b0673a6c452a93c1a669f.tar.zst nsfisis.dev-f47a2ded50f3367d0c7b0673a6c452a93c1a669f.zip | |
Diffstat (limited to 'services/repos/httpd-cgit.conf')
| -rw-r--r-- | services/repos/httpd-cgit.conf | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/services/repos/httpd-cgit.conf b/services/repos/httpd-cgit.conf new file mode 100644 index 00000000..196db4d7 --- /dev/null +++ b/services/repos/httpd-cgit.conf @@ -0,0 +1,17 @@ +Alias /cgit.css "/usr/local/apache2/htdocs/cgit/static/cgit.css" +Alias /cgit.js "/usr/local/apache2/htdocs/cgit/static/cgit.js" +Alias /cgit.png "/usr/local/apache2/htdocs/cgit/static/cgit.png" +Alias /favicon.ico "/usr/local/apache2/htdocs/cgit/static/favicon.ico" +Alias /robots.txt "/usr/local/apache2/htdocs/cgit/static/robots.txt" +<Directory "/usr/local/apache2/htdocs/cgit/static/"> + AllowOverride None + Options None + Require all granted +</Directory> + +ScriptAlias / "/usr/local/apache2/htdocs/cgit/cgi/cgit.cgi/" +<Directory "/usr/local/apache2/htdocs/cgit/cgi/"> + AllowOverride None + Options ExecCGI FollowSymlinks + Require all granted +</Directory> |
