2007年10月25日 星期四 18:07
ÎÒÔÚ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
2007年10月25日 星期四 18:21
ûÓÐÈ˶¥Âð ÔÚ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
2007年10月25日 星期四 19:09
换别人的机器试试看,说不定是你浏览器的设置问题。 或者抓包看看返回的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
2007年10月25日 星期四 20:03
ÎÒÔÚ±ðµÄ»úÆ÷Ò²ÊÔ¹ýÀ²²»ÐУ¬Ã»ÓÐÈË×ö¹ýÍøÒ³ÖÐÎļþÏÂÔØÂ𣿠ÔÚ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
2007年10月25日 星期四 22:44
¶¼Ë¯¾õÀ²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
2007年10月26日 星期五 10:26
ÎÊÌâÒѾ½â¾ö£¬ÎÊÌâ³öÔÚ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
2007年10月26日 星期五 16:17
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
Zeuux © 2025
京ICP备05028076号