Python论坛  - 讨论区

标题:[python-chinese] 问一个APACHE配置的问题

2007年10月25日 星期四 18:07

littlesea littlesea wzhlittlesea在gmail.com
星期四 十月 25 18:07:59 HKT 2007

ÎÒÔÚAPACHE ÏÂÅäÖúÃÀ² mod_python ²¢ÄÜ·ÃÎÊdjangoµÄÓ¦Óã¬ÎÒÔÚÍøÒ³ÖÐÌṩÀ­ÎļþÏÂÔØ£¬
Èç¹ûÎļþÀ©Õ¹ÃûÊÇRAR¾ÍÖ±½ÓÔÚÍøÒ³Öдò¿ªÀ­£¬°ÑÎļþÃû¸Ä³É.EXE£¬»áÓÐÌáʾ±£´æ¿ò£¬

ÎÒÔÚhttp.confÖмÓÈëAddType application/x-msdownload .rar .cooco
µ«ÊǶÔÓÚRARÎļþ»¹ÊÇÔÚÍøÒ³ÖÐÖ±½Ó´ò¿ªÀ­·Çµ¯³ö±£´æ¿ò¡£

Çë´óÏÀ°ï°ïæ
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071025/56d9a62b/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年10月25日 星期四 18:21

littlesea littlesea wzhlittlesea在gmail.com
星期四 十月 25 18:21:02 HKT 2007

ûÓÐÈ˶¥Âð

ÔÚ07-10-25£¬littlesea littlesea <wzhlittlesea在gmail.com> дµÀ£º
>
> ÎÒÔÚAPACHE ÏÂÅäÖúÃÀ² mod_python ²¢ÄÜ·ÃÎÊdjangoµÄÓ¦Óã¬ÎÒÔÚÍøÒ³ÖÐÌṩÀ­ÎļþÏÂÔØ£¬
> Èç¹ûÎļþÀ©Õ¹ÃûÊÇRAR¾ÍÖ±½ÓÔÚÍøÒ³Öдò¿ªÀ­£¬°ÑÎļþÃû¸Ä³É.EXE£¬»áÓÐÌáʾ±£´æ¿ò£¬
>
> ÎÒÔÚhttp.confÖмÓÈëAddType application/x-msdownload .rar .cooco
> µ«ÊǶÔÓÚRARÎļþ»¹ÊÇÔÚÍøÒ³ÖÐÖ±½Ó´ò¿ªÀ­·Çµ¯³ö±£´æ¿ò¡£
>
> Çë´óÏÀ°ï°ïæ
>
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071025/6d1a7746/attachment.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年10月25日 星期四 19:09

Shao Feng sevenever在gmail.com
星期四 十月 25 19:09:01 HKT 2007

换别人的机器试试看,说不定是你浏览器的设置问题。
或者抓包看看返回的Content-Type是什么。

On 10/25/07, littlesea littlesea <wzhlittlesea在gmail.com> wrote:
>
> 没有人顶吗
>
> 在07-10-25,littlesea littlesea <wzhlittlesea在gmail.com> 写道:
> >
> > 我在APACHE 下配置好啦 mod_python 并能访问django的应用,我在网页中提供拉文件下载,
> > 如果文件扩展名是RAR就直接在网页中打开拉,把文件名改成.EXE,会有提示保存框,
> >
> > 我在http.conf中加入AddType application/x-msdownload .rar .cooco
> > 但是对于RAR文件还是在网页中直接打开拉非弹出保存框。
> >
> > 请大侠帮帮忙
> >
>
>
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
-------------- 下一部分 --------------
一个HTML附件被移除...
URL: http://python.cn/pipermail/python-chinese/attachments/20071025/10ad828c/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年10月25日 星期四 20:03

littlesea littlesea wzhlittlesea在gmail.com
星期四 十月 25 20:03:57 HKT 2007

ÎÒÔÚ±ðµÄ»úÆ÷Ò²ÊÔ¹ýÀ²²»ÐУ¬Ã»ÓÐÈË×ö¹ýÍøÒ³ÖÐÎļþÏÂÔØÂð£¿

ÔÚ07-10-25£¬Shao Feng <sevenever在gmail.com> дµÀ£º
>
> »»±ðÈ˵ĻúÆ÷ÊÔÊÔ¿´£¬Ëµ²»¶¨ÊÇÄãä¯ÀÀÆ÷µÄÉèÖÃÎÊÌâ¡£
> »òÕß×¥°ü¿´¿´·µ»ØµÄContent-TypeÊÇʲô¡£
>
> On 10/25/07, littlesea littlesea <wzhlittlesea在gmail.com > wrote:
>
> > ûÓÐÈ˶¥Âð
> >
> > ÔÚ07-10-25£¬ littlesea littlesea <wzhlittlesea在gmail.com> дµÀ£º
> > >
> > > ÎÒÔÚAPACHE ÏÂÅäÖúÃÀ² mod_python ²¢ÄÜ·ÃÎÊdjangoµÄÓ¦Óã¬ÎÒÔÚÍøÒ³ÖÐÌṩÀ­ÎļþÏÂÔØ£¬
> > > Èç¹ûÎļþÀ©Õ¹ÃûÊÇRAR¾ÍÖ±½ÓÔÚÍøÒ³Öдò¿ªÀ­£¬°ÑÎļþÃû¸Ä³É.EXE£¬»áÓÐÌáʾ±£´æ¿ò£¬
> > >
> > > ÎÒÔÚhttp.confÖмÓÈëAddType application/x-msdownload .rar .cooco
> > > µ«ÊǶÔÓÚRARÎļþ»¹ÊÇÔÚÍøÒ³ÖÐÖ±½Ó´ò¿ªÀ­·Çµ¯³ö±£´æ¿ò¡£
> > >
> > > Çë´óÏÀ°ï°ïæ
> > >
> >
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese在lists.python.cn
> > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > Unsubscribe: send unsubscribe to
> > python-chinese-request在lists.python.cn
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> >
>
>
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071025/17eef157/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年10月25日 星期四 22:44

littlesea littlesea wzhlittlesea在gmail.com
星期四 十月 25 22:44:47 HKT 2007

¶¼Ë¯¾õÀ²1


ÔÚ07-10-25£¬littlesea littlesea <wzhlittlesea在gmail.com> дµÀ£º
>
> ÎÒÔÚ±ðµÄ»úÆ÷Ò²ÊÔ¹ýÀ²²»ÐУ¬Ã»ÓÐÈË×ö¹ýÍøÒ³ÖÐÎļþÏÂÔØÂð£¿
>
> ÔÚ07-10-25£¬Shao Feng <sevenever在gmail.com> дµÀ£º
> >
> > »»±ðÈ˵ĻúÆ÷ÊÔÊÔ¿´£¬Ëµ²»¶¨ÊÇÄãä¯ÀÀÆ÷µÄÉèÖÃÎÊÌâ¡£
> > »òÕß×¥°ü¿´¿´·µ»ØµÄContent-TypeÊÇʲô¡£
> >
> > On 10/25/07, littlesea littlesea < wzhlittlesea在gmail.com > wrote:
> >
> > > ûÓÐÈ˶¥Âð
> > >
> > > ÔÚ07-10-25£¬ littlesea littlesea <wzhlittlesea在gmail.com> дµÀ£º
> > > >
> > > > ÎÒÔÚAPACHE ÏÂÅäÖúÃÀ² mod_python ²¢ÄÜ·ÃÎÊdjangoµÄÓ¦Óã¬ÎÒÔÚÍøÒ³ÖÐÌṩÀ­ÎļþÏÂÔØ£¬
> > > > Èç¹ûÎļþÀ©Õ¹ÃûÊÇRAR¾ÍÖ±½ÓÔÚÍøÒ³Öдò¿ªÀ­£¬°ÑÎļþÃû¸Ä³É.EXE£¬»áÓÐÌáʾ±£´æ¿ò£¬
> > > >
> > > > ÎÒÔÚhttp.confÖмÓÈëAddType application/x-msdownload .rar .cooco
> > > > µ«ÊǶÔÓÚRARÎļþ»¹ÊÇÔÚÍøÒ³ÖÐÖ±½Ó´ò¿ªÀ­·Çµ¯³ö±£´æ¿ò¡£
> > > >
> > > > Çë´óÏÀ°ï°ïæ
> > > >
> > >
> > >
> > > _______________________________________________
> > > python-chinese
> > > Post: send python-chinese在lists.python.cn
> > > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > > Unsubscribe: send unsubscribe to
> > > python-chinese-request在lists.python.cn
> > > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> > >
> >
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese在lists.python.cn
> > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > Unsubscribe: send unsubscribe to
> > python-chinese-request在lists.python.cn
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> >
>
>
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071025/5471b2a5/attachment.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年10月26日 星期五 10:26

littlesea littlesea wzhlittlesea在gmail.com
星期五 十月 26 10:26:26 HKT 2007

ÎÊÌâÒѾ­½â¾ö£¬ÎÊÌâ³öÔÚPYTHONµÄC:\Python25\Lib\mimetypes.py
ÀïÃæ¼ÓÈë.rar µÄÅäÖÃÉèÖóɺÍ.exeÅäÖÃÒ»Ñù¾ÍÐУ¬Ï£Íû´ó¼Ò²»Òª·¸ÎÒÒ»ÑùµÄÎÊÌâ
ÔÚ07-10-25£¬littlesea littlesea <wzhlittlesea在gmail.com> дµÀ£º
>
> ¶¼Ë¯¾õÀ²1
>
>
> ÔÚ07-10-25£¬littlesea littlesea <wzhlittlesea在gmail.com> дµÀ£º
> >
> > ÎÒÔÚ±ðµÄ»úÆ÷Ò²ÊÔ¹ýÀ²²»ÐУ¬Ã»ÓÐÈË×ö¹ýÍøÒ³ÖÐÎļþÏÂÔØÂð£¿
> >
> > ÔÚ07-10-25£¬Shao Feng < sevenever在gmail.com> дµÀ£º
> > >
> > > »»±ðÈ˵ĻúÆ÷ÊÔÊÔ¿´£¬Ëµ²»¶¨ÊÇÄãä¯ÀÀÆ÷µÄÉèÖÃÎÊÌâ¡£
> > > »òÕß×¥°ü¿´¿´·µ»ØµÄContent-TypeÊÇʲô¡£
> > >
> > > On 10/25/07, littlesea littlesea < wzhlittlesea在gmail.com > wrote:
> > >
> > > > ûÓÐÈ˶¥Âð
> > > >
> > > > ÔÚ07-10-25£¬ littlesea littlesea <wzhlittlesea在gmail.com> дµÀ£º
> > > > >
> > > > > ÎÒÔÚAPACHE ÏÂÅäÖúÃÀ² mod_python ²¢ÄÜ·ÃÎÊdjangoµÄÓ¦Óã¬ÎÒÔÚÍøÒ³ÖÐÌṩÀ­ÎļþÏÂÔØ£¬
> > > > > Èç¹ûÎļþÀ©Õ¹ÃûÊÇRAR¾ÍÖ±½ÓÔÚÍøÒ³Öдò¿ªÀ­£¬°ÑÎļþÃû¸Ä³É.EXE£¬»áÓÐÌáʾ±£´æ¿ò£¬
> > > > >
> > > > > ÎÒÔÚhttp.confÖмÓÈëAddType application/x-msdownload .rar .cooco
> > > > > µ«ÊǶÔÓÚRARÎļþ»¹ÊÇÔÚÍøÒ³ÖÐÖ±½Ó´ò¿ªÀ­·Çµ¯³ö±£´æ¿ò¡£
> > > > >
> > > > > Çë´óÏÀ°ï°ïæ
> > > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > python-chinese
> > > > Post: send python-chinese在lists.python.cn
> > > > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > > > Unsubscribe: send unsubscribe to
> > > > python-chinese-request在lists.python.cn
> > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> > > >
> > >
> > >
> > > _______________________________________________
> > > python-chinese
> > > Post: send python-chinese在lists.python.cn
> > > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > > Unsubscribe: send unsubscribe to
> > > python-chinese-request在lists.python.cn
> > > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> > >
> >
> >
>
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071026/bec899d6/attachment.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年10月26日 星期五 16:17

Ben Luo benluo在gmail.com
星期五 十月 26 16:17:54 HKT 2007

On 10/26/07, littlesea littlesea <wzhlittlesea在gmail.com> wrote:
>
> ÎÊÌâÒѾ­½â¾ö£¬ÎÊÌâ³öÔÚPYTHONµÄC:\Python25\Lib\mimetypes.py
> ÀïÃæ¼ÓÈë.rar µÄÅäÖÃÉèÖóɺÍ.exeÅäÖÃÒ»Ñù¾ÍÐУ¬Ï£Íû´ó¼Ò²»Òª·¸ÎÒÒ»ÑùµÄÎÊÌâ


ÄãÊÇÔõô·¢ÏÖÕâ¸ö×ÜÊǵģ¿
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071026/6c44db79/attachment.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号