<-
Apache > HTTP Server > �ĵ� > �汾2.2 > ģ��
���� ��л | �������� | ��ƪ���ߣ��𲽹� | ��ҳ�����£�2006��1��23�� | ��ȡ���°汾

Apacheģ�� mod_asis

˵�������Լ�����HTTPͷ���ݵ��ļ�
״̬����(B)
ģ����asis_module
Դ�ļ�mod_asis.c

����

���ģ���ṩ��send-as-is������������Apache���Բ��Ӵ�������õ�HTTPͷ(headers)�������ǡ�

����������ӷ����������κ���̬�����ϣ������ض����Լ����������HTTPӦ�𣬶�����Ҫcgi-script����nph script ��

������ʷԭ�����ģ��Ҳ����MIME����Ϊhttpd/send-as-is���ļ���

top

�÷�

�ڷ����������ĵ������һ����Ϊsend-as-is�Ĵ����������磺

AddHandler send-as-is asis

�κδ���".asis"��չ�����ļ������ݱ�Apache�����ͻ���ʱ����û��ʲô�仯���ͻ��˽���ҪHTTPͷ����ϵ�����Ա��������ǡ�"Status:"�DZ����ͷ��������Ӧ����3λ���ֵ�HTTPӦ���룬����һ��������Ϣ��

�����и�ʾ���ĵ��������ݽ�����ԭ����������Ǹ��߿ͻ����ض�������һ���ļ���

Status: 301 Now where did I leave that URL
Location: http://xyz.abc.com/foo/bar.html
Content-type: text/html

<html>
<head>
<title>Lame excuses'R'us</title>
</head>
<body>
<h1>Fred's exceptionally wonderful page has moved to
<a href="http://xyz.abc.com/foo/bar.html">Joe's</a> site.
</h1>
</body>
</html>

ע�⣺

�������ܻ����͸��ͻ��˵����������"Date:"��"Server:"ͷ������������ͷ��Ӧ�ð���������ļ�����⣬��������������ͨ��������ϵ�"Last-Modified:"ͷ��