bugzilla/bugzilla.conf
Eric Schirra b9cc964f38 Accepting request 1246785 from home:ecsos:server
- Update to 5.2
  - Improved Mobile Rendering
  - Explicit MariaDB Support
  - MySQL 8+ Support
  - Demo Docker Configuration
  + Other Enhancements and Changes
    - Enhancements for Users
    - Enhancements for Administrators and Developers
    - WebService Changes
    - Code Changes Which May Affect Customizations and Extensions
  See for details: https://www.bugzilla.org/releases/5.2/

OBS-URL: https://build.opensuse.org/request/show/1246785
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/bugzilla?expand=0&rev=32
2025-02-18 19:19:49 +00:00

66 lines
1.9 KiB
Plaintext

Alias /bugzilla "@APACHE_SERVERROOT@/bugzilla/"
<Directory "@APACHE_SERVERROOT@/bugzilla">
AddHandler cgi-script .cgi
Options +ExecCGI +FollowSymLinks
DirectoryIndex index.cgi index.html
AllowOverride Limit FileInfo Indexes Options AuthConfig
<IfModule mod_version.c>
<IfVersion < 2.4>
Order allow,deny
Allow from all
</IfVersion>
<IfVersion >= 2.4>
Require all granted
</IfVersion>
</IfModule>
# Don't allow people to retrieve non-cgi executable files or our private data
<FilesMatch (\.pm|\.pl|\.tmpl|localconfig.*)$>
<IfModule mod_version.c>
<IfVersion < 2.4>
Deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</IfModule>
<IfModule !mod_version.c>
Deny from all
</IfModule>
</FilesMatch>
Options -Indexes
<IfModule mod_expires.c>
<IfModule mod_headers.c>
<IfModule mod_env.c>
<FilesMatch (\.js|\.css)$>
ExpiresActive On
# According to RFC 2616, "1 year in the future" means "never expire".
# We change the name of the file's URL whenever its modification date
# changes, so browsers can cache any individual JS or CSS URL forever.
# However, since all JS and CSS URLs involve a ? in them (for the changing
# name) we have to explicitly set an Expires header or browsers won't
# *ever* cache them.
ExpiresDefault "now plus 1 years"
Header append Cache-Control "public"
</FilesMatch>
# This lets Bugzilla know that we are properly sending Cache-Control
# and Expires headers for CSS and JS files.
SetEnv BZ_CACHE_CONTROL 1
</IfModule>
</IfModule>
</IfModule>
<IfModule mod_rewrite.c>
rewriteEngine On
RewriteOptions inherit
RewriteRule ^rest/(.*)$ rest.cgi/$1 [NE]
</IfModule>
</Directory>