mirroring the dell hardware repository ?

Matt Domsch Matt_Domsch at dell.com
Sun Jun 15 09:43:02 CDT 2008


On Fri, Jun 13, 2008 at 05:31:20PM -0400, MA Martin Andrews (5542) wrote:
> I am trying to mirror the dell hardware repository from
> http://linux.dell.com/repo/hardware to a private mirror location so I
> can install to our servers that do not have internet access. The
> bootstrap.cgi script implies that you can set up such internal mirrors
> but it looks like I need from configuration to our internal web server
> (apache) to make the mirror active. Can you provide documentation for
> configuring the mirror server?
> 
> Tried standard dell support and I guess they don't support the
> repository it appears. Maybe this list can help. I read through the FAQ
> ( http://linux.dell.com/wiki/index.php/Repository/FAQ ) without luck.
> 
> I have the repository synced to a local server ops1 - but if I try to
> get the bootstrap script from my local copy I get:
> 
> [root at ops1 yum.repos.d]# curl
> http://localhost/yum/dell/hardware/bootstrap.cgi
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>403 Forbidden</title>
> </head><body>
> <h1>Forbidden</h1>
> <p>You don't have permission to access /yum/dell/hardware/bootstrap.cgi
> on this server.</p>
> <hr>
> <address>Apache Server at localhost Port 80</address>
> </body></html>
> 
> Looks like I need to enable cgi for some of the synced repository.
> Anyone know what apache configuration I need for my local mirror?

yes, bootstrap.cgi needs to be run as a CGI.  We have code similar to
this in the repo/hardware/.htaccess file, and other repo/*/.htaccess files.

Options Indexes FollowSymlinks +ExecCGI +Includes
Addhandler cgi-script cgi pl
XBitHack on
AddType text/html .html
AddHandler server-parsed .html

-- 
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux



More information about the Linux-PowerEdge mailing list