Apache HTTP Server �汾2.2
���IJ���Apache��������ʹ�á�
���ģ�� | ���ָ�� |
---|---|
"������"�ǵ�һ���ļ�������ʱ��Apache��ִ�в������ڲ����֡��ļ�һ�㶼�л������ļ����͵�������������ͨ�����ļ���ֻ�DZ����������ύ��ֻ��ijЩ�ļ����ͻᱻ�ر��"����"��
Apache1.1������ʹ�ô����������������������Ի����ļ�������λ�ý���ָ��������ֻ���ļ����ͣ�����Խ�Բ�����������һ������ķ�����������������һ���ļ�ͬʱ��һ��������һ���������������(�μ���������չ�����ļ�)
���������Ա������������Ҳ��������ģ���У���������Action
ָ�����ӡ������а����ڽ��Ĵ��������£�
default_handler()
�����ļ������Ǵ���̬���ݵ�Ĭ�ϴ�������(core
)mod_asis
)mod_cgi
)mod_imagemap
)mod_info
)mod_status
)mod_negotiation
)����ָ���ʹ�Դ���html
�����ļ���������CGI�ű�footer.pl
Action add-footer /cgi-bin/footer.pl
AddHandler add-footer .html
Ȼ����CGI�ű�������(�ɻ�������PATH_TRANSLATED
ָ���)ԭʼ�����ĵ���������Ҫ�����Ļ����ӡ�
����ָ������send-as-is
�������������ڴ��������HTTPͷ���ļ�������������λ��/web/htdocs/asis/
Ŀ¼�е��ļ��������������ʲô������send-as-is
�����
<Directory /web/htdocs/asis>
SetHandler send-as-is
</Directory>
Ϊ��ʵ�ִ��������ܣ�Apache API����������һЩ���ݣ�����ܻ��õ���������Apache API�ṹ��������һ���ֶΣ�
char *handler
������ģ����Ҫʹ�ô�������ֻ���ڶ�����ִ��invoke_handler
֮ǰ������r->handler
Ϊ�ô����������Ƽ��ɡ���������ʵ�ֺ���ǰһ����ֻ��ʹ���˴��������ƶ������������͡������������ƿ�����"-"����������"/"���Ա���ͽ����������Ƴ�ͻ��