Imported Upstream version 1.5.1
[routino] / web / www / routino / .htaccess
1 ##
2 ## Options for Apache web server for language specific web pages and to run
3 ## Routino CGI scripts.
4 ##
5
6 # The translated router pages use the MultiViews option to serve up a version of
7 # the web page depending on the client language preference.  If the line below
8 # is used in a .htaccess file like this one and the "AllowOverride none" option
9 # is set in the main Apache configuration file then the entry in the .htaccess
10 # file will not work.
11
12 #Options +MultiViews
13
14 # The English language option will be served if there is no other version
15 # present and no errors will be returned to the user in case of problems
16
17 LanguagePriority en
18 ForceLanguagePriority Prefer Fallback
19
20 # The Routino CGI scripts are stored in this directory and use the filename
21 # extension ".cgi".  This filename extension needs to be registered with Apache
22 # for the scripts to be executed.
23
24 AddHandler cgi-script .cgi
25
26 # The ExecCGI option must be set for the CGIs in this directory to be executed
27 # by Apache.  If the line below is used in a .htaccess file like this one and
28 # the "AllowOverride none" option is set in the main Apache configuration file
29 # then the entry in the .htaccess file will not work.
30
31 #Options +ExecCGI
32
33 # The CGI scripts that are used by Routino also call some other Perl scripts, to
34 # stop these scripts from being seen by web users they can be denied by the
35 # following entry.
36
37 <FilesMatch .*\.pl$>
38    Order deny,allow
39    Deny from all
40 </FilesMatch>