Hi all,
I'm in the middle of setting up a CentOS mirror, but I see some mirrors are just plain listings, others are 'spiced up' with folder icons etc. How do you do this? Do you create an index.html for each folder (there are 100's of them) or is there an easier way?
Thanks for looking
Hello,
On 4/5/2016 1:57 PM, Danny Horne wrote:
Hi all,
I'm in the middle of setting up a CentOS mirror, but I see some mirrors are just plain listings, others are 'spiced up' with folder icons etc. How do you do this? Do you create an index.html for each folder (there are 100's of them) or is there an easier way?
The easiest way is to serve CentOS directory listing via Apache server which does this fancy looking out of the box. All settings for it is done by CentOS team and reside in the mirror tree.
Personally I use nginx to serve static files and while running Apache for other needs just proxying directory listing for couple of mirrors.
Regards, Mitry
The CentOS team makes their pages look nice via mod_autoindex and HEADER.html You can use this same method to spice up other pages you want to have nice listings on too.
-- *Gene Liverman* Systems Integration Architect Information Technology Services University of West Georgia
ITS: Making Technology Work for You!
On Tue, Apr 5, 2016 at 7:22 AM, Mitry Matyushkov ftp@mgts.by wrote:
Hello,
On 4/5/2016 1:57 PM, Danny Horne wrote:
Hi all,
I'm in the middle of setting up a CentOS mirror, but I see some mirrors are just plain listings, others are 'spiced up' with folder icons etc. How do you do this? Do you create an index.html for each folder (there are 100's of them) or is there an easier way?
The easiest way is to serve CentOS directory listing via Apache server which does this fancy looking out of the box. All settings for it is done by CentOS team and reside in the mirror tree.
Personally I use nginx to serve static files and while running Apache for other needs just proxying directory listing for couple of mirrors.
Regards, Mitry _______________________________________________ CentOS-mirror mailing list CentOS-mirror@centos.org https://lists.centos.org/mailman/listinfo/centos-mirror
Thanks for the replies, this mod_autoindex looks interesting
On 05/04/2016 2:11 pm, Gene Liverman wrote:
The CentOS team makes their pages look nice via mod_autoindex and HEADER.html You can use this same method to spice up other pages you want to have nice listings on too.
-- *Gene Liverman* Systems Integration Architect Information Technology Services University of West Georgia
ITS: Making Technology Work for You!
On Tue, Apr 5, 2016 at 7:22 AM, Mitry Matyushkov <ftp@mgts.by mailto:ftp@mgts.by> wrote:
Hello, On 4/5/2016 1:57 PM, Danny Horne wrote: Hi all, I'm in the middle of setting up a CentOS mirror, but I see some mirrors are just plain listings, others are 'spiced up' with folder icons etc. How do you do this? Do you create an index.html for each folder (there are 100's of them) or is there an easier way? The easiest way is to serve CentOS directory listing via Apache server which does this fancy looking out of the box. All settings for it is done by CentOS team and reside in the mirror tree. Personally I use nginx to serve static files and while running Apache for other needs just proxying directory listing for couple of mirrors. Regards, Mitry _______________________________________________ CentOS-mirror mailing list CentOS-mirror@centos.org <mailto:CentOS-mirror@centos.org> https://lists.centos.org/mailman/listinfo/centos-mirror
CentOS-mirror mailing list CentOS-mirror@centos.org https://lists.centos.org/mailman/listinfo/centos-mirror