VirtualBox

source: vbox/trunk/src/VBox/ValidationKit/testmanager/apache-template-2.2.conf

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