diff options
| author | Joe Orton <jorton@redhat.com> | 2012-03-13 15:45:17 +0000 |
|---|---|---|
| committer | Joe Orton <jorton@redhat.com> | 2012-03-13 15:45:17 +0000 |
| commit | 9c13a78f8b07bcfc118da90458032b9b041272f4 (patch) | |
| tree | 0f04e0f107025b31c8fe7f57f6af71698f16ebdd /httpd.conf | |
| parent | c70a7c10c071868ef317d9e506a79319be48beef (diff) | |
| download | httpd-9c13a78f8b07bcfc118da90458032b9b041272f4.tar.gz httpd-9c13a78f8b07bcfc118da90458032b9b041272f4.tar.xz httpd-9c13a78f8b07bcfc118da90458032b9b041272f4.zip | |
- default config:
* unrestricted access to (only) /var/www
* remove (commented) Mutex, MaxRanges, ScriptSock
Diffstat (limited to 'httpd.conf')
| -rw-r--r-- | httpd.conf | 36 |
1 files changed, 11 insertions, 25 deletions
@@ -31,16 +31,6 @@ ServerRoot "/etc/httpd" # -# Mutex: Allows you to set the mutex mechanism and mutex file directory -# for individual mutexes, or change the global defaults -# -# Uncomment and change the directory if mutexes are file-based and the default -# mutex file directory is not on a local disk or is not appropriate for some -# other reason. -# -# Mutex default:logs - -# # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, instead of the default. See also the <VirtualHost> # directive. @@ -127,6 +117,17 @@ ServerAdmin root@localhost # symbolic links and aliases may be used to point to other locations. # DocumentRoot "/var/www/html" + +# +# Relax access to content within /var/www. +# +<Directory "/var/www"> + AllowOverride None + # Allow open access: + Require all granted +</Directory> + +# Further relax access to the default document root: <Directory "/var/www/html"> # # Possible values for the Options directive are "None", "All", @@ -247,14 +248,6 @@ LogLevel warn </IfModule> -<IfModule cgid_module> - # - # ScriptSock: On threaded servers, designate the path to the UNIX - # socket used to communicate with the CGI daemon of mod_cgid. - # - #Scriptsock logs/cgisock -</IfModule> - # # "/var/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. @@ -341,13 +334,6 @@ MIMEMagicFile conf/magic # # -# MaxRanges: Maximum number of Ranges in a request before -# returning the entire resource, or one of the special -# values 'default', 'none' or 'unlimited'. -# Default setting is to accept 200 Ranges. -#MaxRanges unlimited - -# # EnableMMAP and EnableSendfile: On systems that support it, # memory-mapping or the sendfile syscall may be used to deliver # files. This usually improves server performance, but must |
