/[smeserver]/rpms/php-horde-horde/sme10/horde.conf
ViewVC logotype

Contents of /rpms/php-horde-horde/sme10/horde.conf

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Jul 26 02:27:15 2016 UTC (8 years, 3 months ago) by unnilennium
Branch: MAIN
CVS Tags: php-horde-horde-5_2_11-2_el7_sme, php-horde-horde-5_2_11-1_el7, HEAD
initial import php-horde-horde

1 # Link to system Javascript Libraries
2 Alias /horde/js/scriptaculous /usr/share/scriptaculous
3 Alias /horde/js/prototype.js /usr/share/prototype/prototype.js
4 Alias /horde/js/ckeditor /usr/share/ckeditor
5 Alias /horde/js/syntaxhighlighter /usr/share/syntaxhighlighter
6
7 # Link to horde
8 Alias /horde /usr/share/horde
9
10 <Directory /usr/share/horde>
11 # **IMPORTANT** By default, everyone accessing Horde is automatically logged
12 # in as 'Administrator'. This is a security risk! It is very important that
13 # you change the authentication backend under the 'Authentication' tab.
14 # For this reason, Horde is currently only accessible from localhost.
15
16 Options +FollowSymLinks
17
18 <IfModule mod_authz_core.c>
19 # Apache 2.4
20 Require local
21 </IfModule>
22 <IfModule !mod_authz_core.c>
23 # Apache 2.2
24 Order Deny,Allow
25 Deny from All
26 Allow from 127.0.0.1
27 Allow from ::1
28 </IfModule>
29
30 <IfModule mod_rewrite.c>
31 RewriteEngine On
32 RewriteBase /horde/
33 RewriteCond %{REQUEST_FILENAME} !-d
34 RewriteCond %{REQUEST_FILENAME} !-f
35 RewriteRule ^(.*)$ rampage.php [QSA,L]
36 </IfModule>
37 </Directory>
38
39 <Directory /usr/share/horde/config>
40 Deny from all
41 </Directory>
42
43 <Directory /usr/share/horde/scripts>
44 Deny from all
45 </Directory>
46
47 <Directory /usr/share/horde/locale>
48 Deny from all
49 </Directory>
50
51 <Directory /usr/share/horde/lib>
52 Deny from all
53 </Directory>
54
55 <Directory /usr/share/horde/templates>
56 Deny from all
57 </Directory>
58
59 <Directory /usr/share/horde/rpc>
60 <IfModule mod_rewrite.c>
61 RewriteEngine On
62 RewriteCond %{REQUEST_FILENAME} !-d
63 RewriteCond %{REQUEST_FILENAME} !-f
64 RewriteRule ^(.*)$ index.php/$1 [QSA,L]
65 </IfModule>
66 </Directory>
67

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed