Hi, Thanks for the reply.
The problem was that I did not have a sym link pointing from mods enabled to mods available. Nickb On 9/28/06, Boyle Owen <[EMAIL PROTECTED]> wrote:
> -----Original Message----- > From: Nick Black [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 28, 2006 2:34 PM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Problems with Mod_headers > > Hello, > > I am quite new to apache configuration (yesterday was my first attempt > to isntall and configure), and I have run into a few problems that I > cant find any answers to. > > My problems surround mod_header. I am using an httpd.conf file sent > to me by someone with a working installation of the server that I am > attempting to install - so I know that it should work. > > I am running Ubuntu server LAMP: > Linux 2.6.15-26-server #1 SMP Fri Sep 8 21:00:37 UTC 2006 > i686 GNU/Linux > > When i try to start apache I get the following (the first warning is a > whole different kettle of problems): > > [EMAIL PROTECTED]:/usr/lib/apache2/modules$ httpd > [Thu Sep 28 12:49:24 2006] [warn] module ruby_module is > already loaded, skipping > Syntax error on line 232 of > /etc/apache2/sites-enabled/openstreetmap.org: > Invalid command 'RequestHeader', perhaps mis-spelled or defined by a > module not included in the server configuration > > > My unserstanding is that RequestHeader is a directive of Mod_Headers, > which (I think) should be built into Apache2. Nearly... It is not built-in. The line below indicates that mod_headers has been compiled, but as a "shared object". That means that it can be dynamically loaded at run-time (as opposed to statically compiled in at build time). I think all you might need is a LoadModule headers_module modules/mod_headers.so (check docs for more info for this directive). Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. PS - the line about mod_ruby implies you have LoadModule twice for it (or it *is* compiled in). PPS - to see what modules *are* compiled in, do "httpd -l" > > [EMAIL PROTECTED]:/usr/lib/apache2/modules$ locate mod_headers > /usr/lib/apache2/modules/mod_headers.so > > So my questions are: > > 1) Do I need to install/reinstall mod_headers? > 2) Is there another reason why this wouldnt be working? > > Thanks in advance, > > Nick > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP > Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] > " from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]