VirtualBox

source: vbox/trunk/src/VBox/ValidationKit/testmanager/apache-template-2.4.conf@ 106199

Last change on this file since 106199 was 106061, checked in by vboxsync, 2 months ago

Copyright year updates by scm.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.7 KB
Line 
1# $Id: apache-template-2.4.conf 106061 2024-09-16 14:03:52Z vboxsync $
2## @file
3# Test Manager - Apache 2.4 configuration sample.
4#
5# Use the new Define directive to define TestManagerRootDir and
6# VBoxBuildOutputDir before including this file.
7#
8
9#
10# Copyright (C) 2012-2024 Oracle and/or its affiliates.
11#
12# This file is part of VirtualBox base platform packages, as
13# available from https://www.virtualbox.org.
14#
15# This program is free software; you can redistribute it and/or
16# modify it under the terms of the GNU General Public License
17# as published by the Free Software Foundation, in version 3 of the
18# License.
19#
20# This program is distributed in the hope that it will be useful, but
21# WITHOUT ANY WARRANTY; without even the implied warranty of
22# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23# General Public License for more details.
24#
25# You should have received a copy of the GNU General Public License
26# along with this program; if not, see <https://www.gnu.org/licenses>.
27#
28# The contents of this file may alternatively be used under the terms
29# of the Common Development and Distribution License Version 1.0
30# (CDDL), a copy of it is provided in the "COPYING.CDDL" file included
31# in the VirtualBox distribution, in which case the provisions of the
32# CDDL are applicable instead of those of the GPL.
33#
34# You may elect to license modified versions of this file under the
35# terms and conditions of either the GPL or the CDDL or both.
36#
37# SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
38#
39
40
41<LocationMatch "^/testmanager/logout.py">
42 AuthType Basic
43 AuthName "Test Manager"
44 AuthUserFile ${TestManagerRootDir}/misc/htpasswd-logout
45 Require user logout
46</LocationMatch>
47
48<LocationMatch "^/testmanager/(?!(testboxdisp.py|logout.py|/*htdocs/downloads/.*))">
49 AuthType Basic
50 AuthName "Test Manager"
51 AuthUserFile ${TestManagerRootDir}/misc/htpasswd-sample
52 Require valid-user
53</LocationMatch>
54
55# These two directives are only for local testing!
56Alias /testmanager/htdocs/downloads/VBoxValidationKit.zip ${VBoxBuildOutputDir}/VBoxValidationKit.zip
57<Location /testmanager/htdocs/downloads/VBoxValidationKit.zip>
58 Options Indexes
59 Require all granted
60</Location>
61
62Alias /testmanager/htdocs/ ${TestManagerRootDir}/htdocs/
63<Directory ${TestManagerRootDir}/htdocs/>
64 AllowOverride None
65 Options Indexes
66</Directory>
67
68Alias /testmanager/logs/ /var/tmp/testmanager/
69<Directory /var/tmp/testmanager/>
70 AllowOverride None
71 Options Indexes
72</Directory>
73
74Alias /testmanager/ ${TestManagerRootDir}/cgi/
75<Directory ${TestManagerRootDir}/cgi/>
76 AllowOverride None
77 Options Indexes ExecCGI
78 DirectoryIndex index.py
79 AddHandler cgi-script .py
80</Directory>
81
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette