source: trunk/apache.conf.sample @ 1151

Revision 1151, 652 bytes checked in by btataroiu@…, 5 months ago (diff)

Fixed apache.conf.sample on IPv6 capable linux.

Added Allow from ::1 (equivalent to Allow from 127.0.0.1 in IPv4)

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1## infoarena apache config
2
3# Allow both <?php ?> and <? ?>
4# Also allow <?= ?>
5php_value short_open_tag 1
6
7# Forum config
8Alias --write-me-IA_URL_PREFIX--forum "--write-me-IA_ROOT_DIR--smf/"
9<Directory "--write-me-IA_ROOT_DIR--smf/">
10    Order deny,allow
11    Deny from all
12    Allow from ::1
13    Allow from 127.0.0.1
14    AllowOverride All
15    DirectoryIndex index.php
16</Directory>
17
18# Main site.
19Alias --write-me-IA_URL_PREFIX-- "--write-me-IA_ROOT_DIR--www/"
20<Directory "--write-me-IA_ROOT_DIR--www/">
21    Order deny,allow
22    Deny from all
23    Allow from ::1
24    Allow from 127.0.0.1
25    AllowOverride All
26    DirectoryIndex index.php
27</Directory>
28
29
Note: See TracBrowser for help on using the repository browser.