[svlug] Best way apache and firefox...

Michael Robinson plug_1 at robinson-west.com
Fri Nov 7 19:09:46 PST 2014

I'm trying to link my vsftpd archive of firefox to my Apache web server.
So far, I have tried:   
     alias /firefox /var/ftp/pub/windows/Internet/firefox

I'm running Apache-2.4.10 by the way.

Testing that, I get a 403 Access Forbidden error.

[Fri Nov 07 18:16:34.210271 2014] [authz_core:error] [pid 31966:tid
139793851655936] [client] AH01630: client denied by
server configuration: /var/ftp/pub/windows/Internet/firefox/

[root at web windows]# ls -lR firefox/
total 276264
-r--r--r--. 1 admin admin 16157992 Apr  1  2012 Firefox Setup 11.0.exe
-r--r--r--. 1 admin admin  5161024 Feb 21  2009 Firefox Setup
-r--r--r--. 1 admin admin 19381840 Dec  6  2012 Firefox Setup 17.0.1.exe
-r--r--r--. 1 admin admin 20564720 Mar 25  2013 Firefox Setup 19.0.2.exe
-r--r--r--. 1 admin admin  6048152 Feb 21  2009 Firefox Setup
-r--r--r--. 1 admin admin 21041840 Apr  6  2013 Firefox Setup 20.0.exe
-r--r--r--. 1 admin admin 21289608 Jun 15  2013 Firefox Setup 21.0.exe
-r--r--r--  1 admin admin 22416432 Sep 14  2013 Firefox Setup 23.0.1.exe
-r--r--r--  1 admin admin 22710720 Sep 29  2013 Firefox Setup 24.0.exe
-r--r--r--. 1 admin admin  7526856 May 14  2009 Firefox Setup 3.0.10.exe
-r--r--r--. 1 admin admin  7521112 Feb 21  2009 Firefox Setup 3.0.6.exe
-r--r--r--  1 admin admin 32239888 Aug 11 19:30 Firefox Setup 31.0.exe
-r--r--r--  1 admin admin 36445280 Nov  4 21:22 Firefox Setup 33.0.2.exe
-r--r--r--. 1 admin admin  8086544 Dec 25  2009 Firefox Setup 3.5.6.exe
-r--r--r--. 1 admin admin  8539024 Sep 14  2010 Firefox Setup 3.6.9.exe
-r--r--r--. 1 admin admin 13683064 Jun 30  2011 Firefox Setup 5.0.exe
-r--r--r--. 1 admin admin 14045800 Nov  2  2011 Firefox Setup 7.0.1.exe
[root at web windows]# 

Apache is being run as user apache and group apache.

What I want is a listing of these firefox installers where the programs
will download when clicked on.  Is there a simple way to generate an
html page on the fly for this directory?

Since I compiled Apache from source, Apache 2.2 is a bit old, I don't
have an init script for it.  I have been manually doing apachectl start.
This is a CentOS 6.x based server, so it is pre systemd.

Any insight on the 403 error and how to resolve that very much
appreciated.  I also appreciate any help getting a script that will
start Apache at boot and shut it down in the event of a shutdown.

As a bonus, it would be nice to detect when the OS is Linux and send
folks to a web page or maybe to the mozilla download site for firefox.

More information about the svlug mailing list