diary/apache_diary.conf

24 lines
859 B
ApacheConf

# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021 OKTET Labs Ltd. All rights reserved.
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
<Directory "/var/www/cgi-bin">
AllowOverride None
Options ExecCGI FollowSymLinks
</Directory>
#Settings fo Diary
Alias /main/diary/css /var/www/cgi-bin/diary/css
Alias /main/diary/js /var/www/cgi-bin/diary/js
Alias /main/diary/diary.js /var/www/cgi-bin/diary/diary.js
Alias /main/diary/diary.css /var/www/cgi-bin/diary/diary.css
Alias /main/diary/favicon.css /var/www/cgi-bin/diary/favicon.css
Alias /main/diary/diary_next.png /var/www/cgi-bin/diary/diary_next.png
Alias /main/diary/diary_prev.png /var/www/cgi-bin/diary/diary_prev.png
Alias /public/logo-small.gif /var/www/cgi-bin/diary/logo-small.gif
<Location "/cgi-bin/diary">
Require ldap-filter o=People
</Location>