[FZH] YUM访问与http访问有什么不同?

Robber Phex robberphex at gmail.com
Sun May 5 12:09:01 UTC 2013


apache只需要关掉列目录选项即可,在httpd.conf里面,好像是一个模块。

ftp就是文件(夹)权限了。


2013/5/5 Easior Lars <easior.lars at yahoo.com>

> 多谢!
>
> 我还想知道:
> 服务器怎么实现只下载不浏览的功能的?
> 例如FTP或者LAMP。
>
> Cheers,
>
> Easior Lars
>
> easior.lars at yahoo.com
> www.shlug.org
>
>
> ________________________________
>  From: Robber Phex <robberphex at gmail.com>
> To: Easior Lars <easior.lars at yahoo.com>; Fedora Chinese <
> chinese at lists.fedoraproject.org>
> Sent: Sunday, May 5, 2013 5:30 PM
> Subject: Re: [FZH] YUM访问与http访问有什么不同?
>
>
>
> http://linuxdownload.adobe.com/linux/x86_64/repodata/repomd.xml
> 中有type为primary的data节点,根据此节点的location子节点的href属性,外加源的baseurl,
> 得链接:linuxdownload.adobe.com/linux/x86_64/repodata/primary.xml.gz
> 下载,解压得primary.xml,这里面包含了各软件包的名称等信息。
> 类似的还有filelists、osters。
>
>
> 2013/5/5 Easior Lars <easior.lars at yahoo.com>
>
> 好像被我回成私信了,不好意思,再补一下:
> >
> >
> >除了查看repomd.xml之外,还有办法获知源里面的文件嘛?
> >
> >有好多源都做类似的处理,例如google-chrome、spideroak等。
> >
> >再追问一下:
> >Linux里是怎么实现这样的功能的呢?
> >
> >
> >Cheers,
> >
> >Easior Lars
> >
> >easior.lars at yahoo.com
> >www.shlug.org
> >
> >
> >
> >________________________________
> > From: Robber Phex <robberphex at gmail.com>
> >To: Easior Lars <easior.lars at yahoo.com>; Fedora Chinese <
> chinese at lists.fedoraproject.org>
> >Sent: Sunday, May 5, 2013 2:32 PM
> >Subject: Re: [FZH] YUM访问与http访问有什么不同?
> >
> >
> >
> >
> >个人猜测yum会自己根据规则构造一个链接来访问,从来不会直接访问目录,
> >例如http://linuxdownload.adobe.com/linux/x86_64/repodata/repomd.xml可以访问。
> >
> >另外,adobe关闭列目录功能,只保留访问文件功能也是为了安全考虑。
> >
> >
> >
> >2013/5/5 Easior Lars <easior.lars at yahoo.com>
> >
> >各位好,
> >>
> >>有个问题很奇怪:
> >>我用浏览器无法打开 http://linuxdownload.adobe.com,但是包管理器yum可访问到该网址。
> >>也不像被墙,不知道这是什么原理?
> >>
> >>Cheers,
> >>
> >>Easior Lars
> >>
> >>easior.lars at yahoo.com
> >>www.shlug.org
> >>--
> >>Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese
> >>
> >
> >
> >--
> >Regards,
> >RobberPhex
> >
> >About me: http://about.me/RobberPhex
> >--
> >Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese
> >
>
>
> --
> Regards,
> RobberPhex
>
> About me: http://about.me/RobberPhex
> --
> Fedora中文郵件列表:https://admin.fedoraproject.org/mailman/listinfo/chinese
>



-- 
Regards,
RobberPhex

About me: http://about.me/RobberPhex


More information about the Chinese mailing list