Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 95575 invoked by uid 500); 5 Jun 2002 16:29:10 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 95550 invoked from network); 5 Jun 2002 16:29:06 -0000 Received: from unknown (HELO leela.runningroom.com) (207.153.59.188) by daedalus.apache.org with SMTP; 5 Jun 2002 16:29:06 -0000 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C20CAB.B88150FE" Subject: Hello All :-) X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 Date: Wed, 5 Jun 2002 10:11:59 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Hello All :-) Thread-Index: AcIMq7kULbBIx6xrSZq3RKBqgFoKDQ== From: "Zeeshan Arain" To: "Apache (E-mail)" , X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C20CAB.B88150FE Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, =20 I am running RedHat 7.2 with Apache 1.3. For some reason I am getting the following error in my log file: =20 [Wed Jun 5 09:55:49 2002] [error] [client 192.168.10.6] malformed header from script. Bad header=3DRecipient names must be specif: /home/sites/runningroom/cgi-bin/af.cgi =20 The client side receives: =20 Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.=20 Please contact the server administrator, i.t.dept@runningroom.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.=20 More information about this error may be available in the server error log. Can anyone help, I need a configuration that will always allow cgi to work. =20 This is what my httpd.conf file looks like: =20 =20 ### Section 2: 'Main' server configuration Port 80 Listen 80 Listen 443 =20 ServerName www.runningroom.com DocumentRoot "/home/sites/runningroom/htdocs" AddHandler cgi-script cgi Options FollowSymLinks AllowOverride None =20 Options Indexes FollowSymLinks DirectoryIndex index.html AllowOverride None =20 # See also: http://httpd.apache.org/docs/misc/FAQ.html#forbidden =20 UserDir public_html =20 # This is a good example, that's why I left it here - Chuck # Control access to UserDir directories. The following is an example # for a site where these directories are restricted to read-only. # # # AllowOverride FileInfo AuthConfig Limit # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec # # Order allow,deny # Allow from all # # # Order deny,allow # Deny from all # # =20 DirectoryIndex index.html default.html DirectoryIndex index.html index.htm index.shtml index.php index.php4 index.php3 index.phtml index.cgi =20 AccessFileName .htaccess =20 # Learn regex to understand this. Till then, don't ERASE THIS!!! Order allow,deny Deny from all Satisfy All =20 # Be proxy friendly to the rest of the world CacheNegotiatedDocs =20 UseCanonicalName On =20 TypesConfig /etc/mime.types =20 DefaultType text/plain =20 # MIMEMagicFile /usr/share/magic.mime MIMEMagicFile conf/magic =20 # Turning this on just chews up CPU and bandwidth! HostnameLookups Off ErrorLog logs/error_log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn =20 LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent CustomLog logs/access_log combined ServerSignature On =20 Alias /icons/ "/var/www/icons/" Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all =20 ScriptAlias /cgi-bin/ "/home/sites/runningroom/cgi-bin/" =20 AllowOverride None Options None Order allow,deny Allow from all Options +ExecCGI =20 =20 IndexOptions FancyIndexing NameWidth=3D* AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip AddIconByType (TXT,/icons/text.gif) text/* AddIconByType (IMG,/icons/image2.gif) image/* AddIconByType (SND,/icons/sound2.gif) audio/* AddIconByType (VID,/icons/movie.gif) video/* =20 AddIcon /icons/binary.gif .bin .exe AddIcon /icons/binhex.gif .hqx AddIcon /icons/tar.gif .tar AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip AddIcon /icons/a.gif .ps .ai .eps AddIcon /icons/layout.gif .html .shtml .htm .pdf AddIcon /icons/text.gif .txt AddIcon /icons/c.gif .c AddIcon /icons/p.gif .pl .py AddIcon /icons/f.gif .for AddIcon /icons/dvi.gif .dvi AddIcon /icons/uuencoded.gif .uu AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl AddIcon /icons/tex.gif .tex AddIcon /icons/bomb.gif core =20 AddIcon /icons/back.gif .. AddIcon /icons/hand.right.gif README AddIcon /icons/folder.gif ^^DIRECTORY^^ AddIcon /icons/blank.gif ^^BLANKICON^^ =20 DefaultIcon /icons/unknown.gif =20 AddDescription "GZIP compressed document" .gz AddDescription "tar archive" .tar AddDescription "GZIP compressed tar archive" .tgz ReadmeName README HeaderName HEADER IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t =20 =20 =20 AddEncoding x-compress Z AddEncoding x-gzip gz tgz AddLanguage da .dk AddLanguage nl .nl AddLanguage en .en AddLanguage et .ee AddLanguage fr .fr AddLanguage de .de AddLanguage el .el AddLanguage he .he AddCharset ISO-8859-8 .iso8859-8 AddLanguage it .it AddLanguage ja .ja AddCharset ISO-2022-JP .jis AddLanguage kr .kr AddCharset ISO-2022-KR .iso-kr AddLanguage nn .nn AddLanguage no .no AddLanguage pl .po AddCharset ISO-8859-2 .iso-pl AddLanguage pt .pt AddLanguage pt-br .pt-br AddLanguage ltz .lu AddLanguage ca .ca AddLanguage es .es AddLanguage sv .se AddLanguage cz .cz AddLanguage ru .ru AddLanguage zh-tw .tw AddLanguage tw .tw AddCharset Big5 .Big5 .big5 AddCharset WINDOWS-1251 .cp-1251 AddCharset CP866 .cp866 AddCharset ISO-8859-5 .iso-ru AddCharset KOI8-R .koi8-r AddCharset UCS-2 .ucs2 AddCharset UCS-4 .ucs4 AddCharset UTF-8 .utf8 LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw =20 AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .phps =20 AddType application/x-httpd-php .php .php4 .php3 .phtml AddType application/x-httpd-php-source .phps =20 AddType application/x-httpd-php .phtml =20 AddType application/x-tar .tgz =20 AddHandler cgi-script .cgi AddType text/html .shtml AddHandler server-parsed .shtml #AddHandler send-as-is asis AddHandler imap-file map #AddHandler type-map var =20 =20 # # Action lets you define media types that will execute a script whenever # a matching file is called. This eliminates the need for repeated URL # pathnames for oft-used CGI file processors. # Format: Action media/type /cgi-script/location # Format: Action handler-name /cgi-script/location # =20 # # MetaDir: specifies the name of the directory in which Apache can find # meta information files. These files contain additional HTTP headers # to include when sending the document # #MetaDir .web =20 # # MetaSuffix: specifies the file name suffix for the file containing the # meta information. # #MetaSuffix .meta =20 # # Customizable error response (Apache style) # these come in three flavors # # 1) plain text #ErrorDocument 500 "The server made a boo boo. # n.b. the single leading (") marks it as text, it does not get output # # 2) local redirects #ErrorDocument 404 /missing.html # to redirect to local URL /missing.html #ErrorDocument 404 /cgi-bin/missing_handler.pl # N.B.: You can redirect to a script or a document using server-side-includes. # # 3) external redirects #ErrorDocument 402 http://some.other_server.com/subscription_info.html # N.B.: Many of the environment variables associated with the original # request will *not* be available to such a script. =20 # # Customize behaviour based on the browser # =20 # # The following directives modify normal HTTP response behavior. # The first directive disables keepalive for Netscape 2.x and browsers that # spoof it. There are known problems with these browser implementations. # The second directive is for Microsoft Internet Explorer 4.0b2 # which has a broken HTTP/1.1 implementation and does not properly # support keepalive when it is used on 301 or 302 (redirect) responses. # BrowserMatch "Mozilla/2" nokeepalive BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 =20 # # The following directive disables HTTP/1.1 responses to browsers which # are in violation of the HTTP/1.0 spec by not being able to grok a # basic 1.1 response. # BrowserMatch "RealPlayer 4\.0" force-response-1.0 BrowserMatch "Java/1\.0" force-response-1.0 BrowserMatch "JDK/1\.0" force-response-1.0 =20 # End of browser customization directives =20 # # If the perl module is installed, this will allow execution of mod_perl # to compile your scripts to subroutines which it will execute directly, # avoiding the costly compile process for most requests. # # # Alias /perl /var/www/perl # # SetHandler perl-script # PerlHandler Apache::Registry # Options +ExecCGI # # =20 # # Allow http put (such as Netscape Gold's publish feature) # Use htpasswd to generate /etc/httpd/conf/passwd. # # # Alias /upload /tmp # # EnablePut On # AuthType Basic # AuthName Temporary # AuthUserFile /etc/httpd/conf/passwd # EnableDelete Off # umask 007 # # require valid-user # # # =20 # # Allow server status reports, with the URL of http://servername/server-status # Change the ".your_domain.com" to match your domain to enable. # # # SetHandler server-status # Order deny,allow # Deny from all # Allow from .your_domain.com # =20 # # Allow remote server configuration reports, with the URL of # http://servername/server-info (requires that mod_info.c be loaded). # Change the ".your_domain.com" to match your domain to enable. # # # SetHandler server-info # Order deny,allow # Deny from all # Allow from .your_domain.com # =20 # # Allow access to local system documentation from localhost # Alias /doc/ /usr/share/doc/ order deny,allow deny from all allow from localhost .localdomain Options Indexes FollowSymLinks =20 # # There have been reports of people trying to abuse an old bug from pre-1.1 # days. This bug involved a CGI script distributed as a part of Apache. # By uncommenting these lines you can redirect these attacks to a logging # script on phf.apache.org. Or, you can record them yourself, using the script # support/phf_abuse_log.cgi. # # # Deny from all # ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi # =20 # # Proxy Server directives. Uncomment the following lines to # enable the proxy server: # # # ProxyRequests On =20 # # Order deny,allow # Deny from all # Allow from .your_domain.com # =20 # # Enable/disable the handling of HTTP/1.1 "Via:" headers. # ("Full" adds the server version; "Block" removes all outgoing Via: headers) # Set to one of: Off | On | Full | Block # # ProxyVia On =20 # # To enable the cache as well, edit and uncomment the following lines: # (no caching without CacheRoot) # # CacheRoot "/var/cache/httpd" # CacheSize 5 # CacheGcInterval 4 # CacheMaxExpire 24 # CacheLastModifiedFactor 0.1 # CacheDefaultExpire 1 # NoCache a_domain.com another_domain.edu joes.garage_sale.com =20 # # End of proxy directives. ------_=_NextPart_001_01C20CAB.B88150FE Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hello,

 

        = ;    I am running RedHat 7.2 with Apache 1.3.  For some reason I am getting the following error in my log = file:

 

[Wed Jun  5 = 09:55:49 2002] [error] [client 192.168.10.6] malformed header from script. Bad header=3DRecipient names must be specif: = /home/sites/runningroom/cgi-bin/af.cgi

 

The client side receives:

 

Internal Server Error<= /b>

The server encountered an = internal error or misconfiguration and was unable to complete your request. = <= /p>

Please contact the server administrator, = i.t.dept@runningroom.com and inform them of the time the error occurred, and anything you might = have done that may have caused the error. <= /p>

More information about this error may be available in the = server error log.

Can anyone help, I need a configuration that will always allow = cgi to work.

 

This is what my httpd.conf file looks = like:

 

 

### Section 2: 'Main' server = configuration

Port 80

<IfDefine HAVE_SSL>

Listen 80

Listen 443

</IfDefine>

 

ServerName = www.runningroom.com

DocumentRoot = "/home/sites/runningroom/htdocs"

AddHandler cgi-script cgi

<Directory />

    = Options FollowSymLinks

    = AllowOverride None

</Directory>

 

<Directory = "/home/sites/runningroom/htdocs">

    = Options Indexes FollowSymLinks

    = DirectoryIndex index.html

    = AllowOverride None

</Directory>

 

# See also: = http://httpd.apache.org/docs/misc/FAQ.html#forbidden

 

<IfModule = mod_userdir.c>

    = UserDir public_html

</IfModule>

 

# This is a good example, that's why I left it here - = Chuck

# Control access to UserDir directories.  The following is an = example

# for a site where these directories are restricted to = read-only.

#

#<Directory = /home/*/public_html>

#    = AllowOverride FileInfo AuthConfig Limit

#    = Options MultiViews Indexes SymLinksIfOwnerMatch = IncludesNoExec

#    = <Limit GET POST OPTIONS PROPFIND>

#        Order = allow,deny

#        Allow from = all

#    </Limit>

#    = <LimitExcept GET POST OPTIONS PROPFIND>

#        Order = deny,allow

#        Deny from = all

#    </LimitExcept>

#</Directory>

 

DirectoryIndex index.html = default.html

<IfModule mod_dir.c>

    = DirectoryIndex index.html index.htm index.shtml index.php index.php4 index.php3 = index.phtml index.cgi

</IfModule>

 

AccessFileName .htaccess

 

# Learn regex to understand this.  Till then, don't ERASE = THIS!!!

<Files ~ = "^\.ht">

    Order allow,deny

    Deny = from all

    = Satisfy All

</Files>

 

# Be proxy friendly to the rest of the = world

CacheNegotiatedDocs

 

UseCanonicalName On

 

<IfModule mod_mime.c>

    = TypesConfig /etc/mime.types

</IfModule>

 

DefaultType text/plain

 

<IfModule = mod_mime_magic.c>

#   = MIMEMagicFile /usr/share/magic.mime

    = MIMEMagicFile conf/magic

</IfModule>

 

# Turning this on just chews up CPU and = bandwidth!

HostnameLookups Off

ErrorLog logs/error_log

# Possible values include: debug, info, notice, warn, error, = crit,

# alert, emerg.

LogLevel warn

 

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" = combined

LogFormat "%h %l %u %t \"%r\" %>s %b" = common

LogFormat "%{Referer}i -> %U" = referer

LogFormat "%{User-agent}i" = agent

CustomLog logs/access_log = combined

ServerSignature On

 

<IfModule mod_alias.c>

    Alias = /icons/ "/var/www/icons/"

    = <Directory "/var/www/icons">

        Options Indexes MultiViews

        AllowOverride = None

        Order = allow,deny

        Allow from = all

    </Directory>

 

ScriptAlias /cgi-bin/ = "/home/sites/runningroom/cgi-bin/"

 

    = <Directory "/home/sites/runningroom/cgi-bin/">=

        AllowOverride = None

        Options = None

        Order = allow,deny

        Allow from = all

        Options = +ExecCGI

</Directory>

 

</IfModule>

 

<IfModule = mod_autoindex.c>

    = IndexOptions FancyIndexing NameWidth=3D*

    AddIconByEncoding (CMP,/icons/compressed.gif) x-compress = x-gzip

    = AddIconByType (TXT,/icons/text.gif) text/*

    = AddIconByType (IMG,/icons/image2.gif) image/*

    = AddIconByType (SND,/icons/sound2.gif) audio/*

    = AddIconByType (VID,/icons/movie.gif) video/*

 

    = AddIcon /icons/binary.gif .bin .exe

    = AddIcon /icons/binhex.gif .hqx

    = AddIcon /icons/tar.gif .tar

    = AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm = .iv

    = AddIcon /icons/compressed.gif .Z .z .tgz .gz = .zip

    = AddIcon /icons/a.gif .ps .ai .eps

    = AddIcon /icons/layout.gif .html .shtml .htm = .pdf

    = AddIcon /icons/text.gif .txt

    = AddIcon /icons/c.gif .c

    = AddIcon /icons/p.gif .pl .py

    = AddIcon /icons/f.gif .for

    = AddIcon /icons/dvi.gif .dvi

    = AddIcon /icons/uuencoded.gif .uu

    = AddIcon /icons/script.gif .conf .sh .shar .csh .ksh = .tcl

    = AddIcon /icons/tex.gif .tex

    = AddIcon /icons/bomb.gif core

 

    = AddIcon /icons/back.gif ..

    = AddIcon /icons/hand.right.gif README

    = AddIcon /icons/folder.gif ^^DIRECTORY^^

    = AddIcon /icons/blank.gif ^^BLANKICON^^

 

    = DefaultIcon /icons/unknown.gif

 

    = AddDescription "GZIP compressed document" = .gz

    = AddDescription "tar archive" .tar

    AddDescription "GZIP compressed tar = archive" .tgz

    = ReadmeName README

    = HeaderName HEADER

    = IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v = *,t

 

</IfModule>

 

<IfModule mod_mime.c>

 

    = AddEncoding x-compress Z

    = AddEncoding x-gzip gz tgz

    = AddLanguage da .dk

    = AddLanguage nl .nl

    = AddLanguage en .en

    = AddLanguage et .ee

    = AddLanguage fr .fr

    = AddLanguage de .de

    = AddLanguage el .el

    = AddLanguage he .he

    = AddCharset ISO-8859-8 .iso8859-8

    = AddLanguage it .it

    = AddLanguage ja .ja

    = AddCharset ISO-2022-JP .jis

    = AddLanguage kr .kr

    = AddCharset ISO-2022-KR .iso-kr

    = AddLanguage nn .nn

    = AddLanguage no .no

    = AddLanguage pl .po

    = AddCharset ISO-8859-2 .iso-pl

    = AddLanguage pt .pt

    = AddLanguage pt-br .pt-br

    = AddLanguage ltz .lu

    = AddLanguage ca .ca

    = AddLanguage es .es

    = AddLanguage sv .se

    = AddLanguage cz .cz

    = AddLanguage ru .ru

    = AddLanguage zh-tw .tw

    = AddLanguage tw .tw

    = AddCharset Big5         .Big5    = .big5

    = AddCharset WINDOWS-1251 .cp-1251

    = AddCharset CP866        .cp866

    = AddCharset ISO-8859-5   = .iso-ru

    = AddCharset KOI8-R       .koi8-r

    = AddCharset UCS-2        .ucs2

    = AddCharset UCS-4        .ucs4

    = AddCharset UTF-8        .utf8

    = <IfModule mod_negotiation.c>

        LanguagePriority = en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv = tw

    </IfModule>

 

    = <IfModule mod_php3.c>

        AddType application/x-httpd-php3 .php3

        AddType application/x-httpd-php3-source = .phps

    </IfModule>

 

    = <IfModule mod_php4.c>

        AddType application/x-httpd-php .php .php4 .php3 = .phtml

        AddType application/x-httpd-php-source .phps

    </IfModule>

 

    = <IfModule mod_php.c>

        AddType application/x-httpd-php .phtml

    </IfModule>

 

    = AddType application/x-tar .tgz

 

    = AddHandler cgi-script .cgi

    = AddType text/html .shtml

    = AddHandler server-parsed .shtml

    = #AddHandler send-as-is asis

    = AddHandler imap-file map

    = #AddHandler type-map var

 

</IfModule>

 

#

# Action lets you define media types that will execute a script = whenever

# a matching file is called. This eliminates the need for = repeated URL

# pathnames for oft-used CGI file = processors.

# Format: Action media/type = /cgi-script/location

# Format: Action handler-name = /cgi-script/location

#

 

#

# MetaDir: specifies the name of the directory in which Apache = can find

# meta information files. These files contain additional HTTP = headers

# to include when sending the = document

#

#MetaDir .web

 

#

# MetaSuffix: specifies the file name suffix for the file = containing the

# meta information.

#

#MetaSuffix .meta

 

#

# Customizable error response (Apache = style)

#  these come in = three flavors

#

#    1) = plain text

#ErrorDocument 500 "The server made a boo = boo.

#  n.b.  the single leading (") = marks it as text, it does not get output

#

#    2) = local redirects

#ErrorDocument 404 = /missing.html

#  to redirect to = local URL /missing.html

#ErrorDocument 404 = /cgi-bin/missing_handler.pl

#  N.B.: You can = redirect to a script or a document using = server-side-includes.

#

#    3) = external redirects

#ErrorDocument 402 = http://some.other_server.com/subscription_info.html

#  N.B.: Many of = the environment variables associated with the = original

#  request will = *not* be available to such a script.

 

#

# Customize behaviour based on the = browser

#

<IfModule = mod_setenvif.c>

 

    = #

    # The following directives modify normal HTTP response = behavior.

    # The = first directive disables keepalive for Netscape 2.x and browsers = that

    # = spoof it. There are known problems with these browser = implementations.

    # The = second directive is for Microsoft Internet Explorer = 4.0b2

    # = which has a broken HTTP/1.1 implementation and does not = properly

    # = support keepalive when it is used on 301 or 302 (redirect) = responses.

    = #

    = BrowserMatch "Mozilla/2" nokeepalive

    = BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 = force-response-1.0

 

    = #

    # The following directive disables HTTP/1.1 responses to browsers = which

    # are = in violation of the HTTP/1.0 spec by not being able to grok = a

    # = basic 1.1 response.

    = #

    = BrowserMatch "RealPlayer 4\.0" = force-response-1.0

    = BrowserMatch "Java/1\.0" = force-response-1.0

    = BrowserMatch "JDK/1\.0" = force-response-1.0

 

</IfModule>

# End of browser customization = directives

 

#

# If the perl module is installed, this will allow execution of = mod_perl

# to compile your scripts to subroutines which it will execute = directly,

# avoiding the costly compile process for most = requests.

#

#<IfModule mod_perl.c>

#    = Alias /perl /var/www/perl

#    = <Directory /var/www/perl>

#        SetHandler = perl-script

#        PerlHandler Apache::Registry

#        Options = +ExecCGI

#    </Directory>

#</IfModule>

 

#

# Allow http put (such as Netscape Gold's publish = feature)

# Use htpasswd to generate = /etc/httpd/conf/passwd.

#

#<IfModule mod_put.c>

#    = Alias /upload /tmp

#    = <Directory /tmp>

#        EnablePut = On

#        AuthType = Basic

#        AuthName = Temporary

#        AuthUserFile /etc/httpd/conf/passwd

#        EnableDelete = Off

#        umask = 007

#        <Limit = PUT>

#            require valid-user

#        = </Limit>

#    </Directory>

#</IfModule>

 

#

# Allow server status reports, with the URL of = http://servername/server-status

# Change the ".your_domain.com" to match your domain to enable.

#

#<Location = /server-status>

#    = SetHandler server-status

#    = Order deny,allow

#    Deny = from all

#    = Allow from .your_domain.com

#</Location>

 

#

# Allow remote server configuration reports, with the URL = of

# http://servername/server-info (requires that mod_info.c be = loaded).

# Change the ".your_domain.com" to match your domain to enable.

#

#<Location = /server-info>

#    = SetHandler server-info

#    = Order deny,allow

#    Deny = from all

#    = Allow from .your_domain.com

#</Location>

 

#

# Allow access to local system documentation from = localhost

#

Alias /doc/ /usr/share/doc/

<Directory = /usr/share/doc>

    order deny,allow

    deny = from all

    allow = from localhost .localdomain

    = Options Indexes FollowSymLinks

</Directory>

 

#

# There have been reports of people trying to abuse an old bug = from pre-1.1

# days.  This bug = involved a CGI script distributed as a part of = Apache.

# By uncommenting these lines you can redirect these attacks to a logging

# script on phf.apache.org.  Or, you can record them yourself, using the = script

# support/phf_abuse_log.cgi.

#

#<Location = /cgi-bin/phf*>

#    Deny = from all

#    = ErrorDocument 403 = http://phf.apache.org/phf_abuse_log.cgi

#</Location>

 

#

# Proxy Server directives. Uncomment the following lines = to

# enable the proxy server:

#

#<IfModule mod_proxy.c>

#    = ProxyRequests On

 

#    = <Directory proxy:*>

#        Order = deny,allow

#        Deny from = all

#        Allow from .your_domain.com

#    </Directory>

 

    = #

    # Enable/disable the handling of HTTP/1.1 "Via:" = headers.

    # ("Full" adds the server version; "Block" removes all outgoing Via: headers)

    # Set = to one of: Off | On | Full | Block

    = #

#    = ProxyVia On

 

    = #

    # To = enable the cache as well, edit and uncomment the following = lines:

    # (no = caching without CacheRoot)

    = #

#    = CacheRoot "/var/cache/httpd"

#    = CacheSize 5

#    CacheGcInterval 4

#    CacheMaxExpire 24

#    CacheLastModifiedFactor 0.1

#    CacheDefaultExpire 1

#    = NoCache a_domain.com another_domain.edu = joes.garage_sale.com

 

#</IfModule>

# End of proxy directives.

------_=_NextPart_001_01C20CAB.B88150FE--