Last modified by Aaron Rosenzweig on 2011/05/09 01:46

From version 60.1
edited by Kieran Kelleher
on 2007/10/18 12:46
Change comment: There is no comment for this version
To version 59.1
edited by ghulands
on 2008/08/18 23:37
Change comment: Added in to modify the httpd.conf's <Directoy/> settings

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.kieran
1 +XWiki.ghulands
Content
... ... @@ -24,7 +24,7 @@
24 24  
25 25  {{/warning}}
26 26  
27 -Edit **/etc/httpd/httpd.conf**, find the line containing **ServerName** and change it to this:
27 +Edit **/etc/httpd/httpd.conf**, find the line containing **ServerName** and change it to this. If you use Leopard (OS X 10.5), the file is at **/etc/apache2/httpd.conf**.
28 28  
29 29  {{code}}
30 30  
... ... @@ -32,10 +32,42 @@
32 32  
33 33  {{/code}}
34 34  
35 -That line may be commented out by default. You can simply uncomment it (remove the leading pound sign) and then restart apache:
35 +That line may be commented out by default. You can simply uncomment it (remove the leading pound sign). You will also need to find this block
36 36  
37 37  {{code}}
38 38  
39 +# First, we configure the "default" to be a very restrictive set of
40 +# features.
41 +#
42 +<Directory />
43 + Options FollowSymLinks
44 + AllowOverride None
45 + Order deny,allow
46 + Deny from all
47 +</Directory>
48 +
49 +{{/code}}
50 +
51 +And modify like so:
52 +
53 +{{code}}
54 +
55 +# First, we configure the "default" to be a very restrictive set of
56 +# features.
57 +#
58 +<Directory />
59 + Options FollowSymLinks
60 + AllowOverride None
61 +# Order deny,allow
62 +# Deny from all
63 +</Directory>
64 +
65 +{{/code}}
66 +
67 +Then restart apache:
68 +
69 +{{code}}
70 +
39 39  sudo apachectl restart
40 40  
41 41  {{/code}}