File:  [LON-CAPA] / doc / install / linux / sles-suse / default-server.conf
Revision 1.2: download - view: text, annotated - select for diffs
Sun Apr 24 03:31:35 2011 UTC (13 years, 6 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X, version_2_11_X, version_2_11_5_msu, version_2_11_5, version_2_11_4_uiuc, version_2_11_4_msu, version_2_11_4, version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3, version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2, version_2_11_1, version_2_11_0_RC3, version_2_11_0_RC2, version_2_11_0_RC1, version_2_11_0, version_2_10_X, version_2_10_1, version_2_10_0, loncapaMITrelate_1, language_hyphenation_merge, language_hyphenation, HEAD, BZ4492-merge, BZ4492-feature_horizontal_radioresponse, BZ4492-feature_Support_horizontal_radioresponse, BZ4492-Support_horizontal_radioresponse
- Relative path to loncapa_apache.conf for consistency with webserver.piml

    1: #
    2: # Global configuration that will be applicable for all virtual hosts, unless
    3: # deleted here, or overriden elswhere.
    4: # 
    5: 
    6: DocumentRoot "/home/httpd/html/"
    7: 
    8: #
    9: # Configure the DocumentRoot
   10: #
   11: <Directory "/srv/www/htdocs">
   12: 	# Possible values for the Options directive are "None", "All",
   13: 	# or any combination of:
   14: 	#   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
   15: 	#
   16: 	# Note that "MultiViews" must be named *explicitly* --- "Options All"
   17: 	# doesn't give it to you.
   18: 	#
   19: 	# The Options directive is both complicated and important.  Please see
   20: 	# http://httpd.apache.org/docs-2.2/mod/core.html#options
   21: 	# for more information.
   22: 	Options None
   23: 	# AllowOverride controls what directives may be placed in .htaccess files.
   24: 	# It can be "All", "None", or any combination of the keywords:
   25: 	#   Options FileInfo AuthConfig Limit
   26: 	AllowOverride None
   27: 	# Controls who can get stuff from this server.
   28: 	Order allow,deny
   29: 	Allow from all
   30: </Directory>
   31: 
   32: # Aliases: aliases can be added as needed (with no limit). The format is 
   33: # Alias fakename realname
   34: #
   35: # Note that if you include a trailing / on fakename then the server will
   36: # require it to be present in the URL.  So "/icons" isn't aliased in this
   37: # example, only "/icons/".  If the fakename is slash-terminated, then the 
   38: # realname must also be slash terminated, and if the fakename omits the 
   39: # trailing slash, the realname must also omit it.
   40: #
   41: # We include the /icons/ alias for FancyIndexed directory listings.  If you
   42: # do not use FancyIndexing, you may comment this out.
   43: #
   44: Alias /icons/ "/usr/share/apache2/icons/"
   45: 
   46: <Directory "/usr/share/apache2/icons">
   47: 	Options Indexes MultiViews
   48: 	AllowOverride None
   49: 	Order allow,deny
   50: 	Allow from all
   51: </Directory>
   52: 
   53: # ScriptAlias: This controls which directories contain server scripts.
   54: # ScriptAliases are essentially the same as Aliases, except that
   55: # documents in the realname directory are treated as applications and
   56: # run by the server when requested rather than as documents sent to the client.
   57: # The same rules about trailing "/" apply to ScriptAlias directives as to
   58: # Alias.
   59: #
   60: #ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
   61: 
   62: # "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased
   63: # CGI directory exists, if you have that configured.
   64: #
   65: #<Directory "/home/httpd/cgi-bin">
   66: #	AllowOverride None
   67: #	Options +ExecCGI -Includes
   68: #	Order allow,deny
   69: #	Allow from all
   70: #</Directory>
   71: 
   72: # UserDir: The name of the directory that is appended onto a user's home
   73: # directory if a ~user request is received.
   74: #
   75: # To disable it, simply remove userdir from the list of modules in APACHE_MODULES 
   76: # in /etc/sysconfig/apache2.
   77: #
   78: <IfModule mod_userdir.c>
   79: 	# Note that the name of the user directory ("public_html") cannot simply be
   80: 	# changed here, since it is a compile time setting. The apache package
   81: 	# would have to be rebuilt. You could work around by deleting
   82: 	# /usr/sbin/suexec, but then all scripts from the directories would be
   83: 	# executed with the UID of the webserver.
   84: 	UserDir public_html
   85: 	# The actual configuration of the directory is in
   86: 	# /etc/apache2/mod_userdir.conf.
   87: 	Include /etc/apache2/mod_userdir.conf
   88: 	# You can, however, change the ~ if you find it awkward, by mapping e.g.
   89: 	# http://www.example.com/users/karl-heinz/ --> /home/karl-heinz/public_html/ 
   90: 	#AliasMatch ^/users/([a-zA-Z0-9-_.]*)/?(.*) /home/$1/public_html/$2
   91: </IfModule>
   92: 
   93: # Include all *.conf files from /etc/apache2/conf.d/.
   94: #
   95: # This is mostly meant as a place for other RPM packages to drop in their
   96: # configuration snippet.
   97: #
   98: # You can comment this out here if you want those bits include only in a
   99: # certain virtual host, but not here.
  100: #
  101: #Include /etc/apache2/conf.d/*.conf
  102: 
  103: # The manual... if it is installed ('?' means it won't complain)
  104: Include /etc/apache2/conf.d/apache2-manual?conf
  105: 
  106: Include conf/loncapa_apache.conf

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>