VirtualBox

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

Last change on this file since 55784 was 52776, checked in by vboxsync, 10 years ago

fix OSE

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.5 KB
Line 
1# $Id: apache-template-2.2.conf 52776 2014-09-17 14:51:43Z 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-2014 Oracle Corporation
10#
11# This file is part of VirtualBox Open Source Edition (OSE), as
12# available from http://www.virtualbox.org. This file is free software;
13# you can redistribute it and/or modify it under the terms of the GNU
14# General Public License (GPL) as published by the Free Software
15# Foundation, in version 2 as it comes in the "COPYING" file of the
16# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
17# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
18#
19# The contents of this file may alternatively be used under the terms
20# of the Common Development and Distribution License Version 1.0
21# (CDDL) only, as it comes in the "COPYING.CDDL" file of the
22# VirtualBox OSE distribution, in which case the provisions of the
23# CDDL are applicable instead of those of the GPL.
24#
25# You may elect to license modified versions of this file under the
26# terms and conditions of either the GPL or the CDDL or both.
27#
28
29
30<LocationMatch "^/testmanager/logout.py">
31 AuthType Basic
32 AuthName "Test Manager"
33 AuthUserFile ${TestManagerRootDir}/misc/htpasswd-logout
34 Require user logout
35</LocationMatch>
36
37<LocationMatch "^/testmanager/(?!(testboxdisp.py|logout.py|/*htdocs/downloads/.*))">
38 AuthType Basic
39 AuthName "Test Manager"
40 AuthUserFile ${TestManagerRootDir}/misc/htpasswd-sample
41 Require valid-user
42</LocationMatch>
43
44# These two directives are only for local testing!
45Alias /testmanager/htdocs/downloads/VBoxValidationKit.zip ${VBoxBuildOutputDir}/VBoxValidationKit.zip
46<Location /testmanager/htdocs/downloads/VBoxValidationKit.zip>
47 Options Indexes
48 Order allow,deny
49 Allow from all
50</Location>
51
52Alias /testmanager/htdocs/ ${TestManagerRootDir}/htdocs/
53<Directory ${TestManagerRootDir}/htdocs/>
54 AllowOverride None
55 Options Indexes
56 Order allow,deny
57 Allow from all
58</Directory>
59
60Alias /testmanager/logs/ /var/tmp/testmanager/
61<Directory /var/tmp/testmanager/>
62 AllowOverride None
63 Options Indexes
64 Order allow,deny
65 Allow from all
66</Directory>
67
68Alias /testmanager/ ${TestManagerRootDir}/cgi/
69<Directory ${TestManagerRootDir}/cgi/>
70 AllowOverride None
71 Options Indexes ExecCGI
72 DirectoryIndex index.py
73 AddHandler cgi-script .py
74 Order allow,deny
75 Allow from all
76</Directory>
77
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