Apache HTTP Server �汾2.2
˵�� | �����Լ�����HTTPͷ���ݵ��ļ� |
---|---|
״̬ | ����(B) |
ģ���� | asis_module |
Դ�ļ� | mod_asis.c |
���ģ���ṩ��send-as-is
������������Apache���Բ��Ӵ�������õ�HTTPͷ(headers)�������ǡ�
����������ӷ����������κ���̬�����ϣ������ض����Լ����������HTTPӦ�𣬶�����Ҫcgi-script����nph script ��
������ʷԭ�����ģ��Ҳ����MIME����Ϊhttpd/send-as-is
���ļ���
�ڷ����������ĵ������һ����Ϊ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:
"ͷ��