[OSM-dev] Setting up a test server
Nick Hill
nick at nickhill.co.uk
Thu Sep 28 13:27:09 BST 2006
Hello Nick
I had a similar problem.
mod_headers is pre-compiled with your apache, but it is not loaded with
apache by default. To load it into your running apache, you will need to
enable the module.
My mods-enabled directory looks like:
nick at nick-desktop:~$ ls -l /etc/apache2/mods-enabled/
total 0
lrwxrwxrwx 1 root root 36 2006-09-14 23:57 cgi.load ->
/etc/apache2/mods-available/cgi.load
lrwxrwxrwx 1 root root 30 2006-09-15 00:01 headers.load ->
../mods-available/headers.load
lrwxrwxrwx 1 root root 28 2006-09-15 00:01 proxy.load ->
../mods-available/proxy.load
lrwxrwxrwx 1 root root 30 2006-09-15 00:00 rewrite.load ->
../mods-available/rewrite.load
lrwxrwxrwx 1 root root 37 2006-09-15 00:12 ruby.load ->
/etc/apache2/mods-available/ruby.load
lrwxrwxrwx 1 root root 40 2006-09-14 23:56 userdir.conf ->
/etc/apache2/mods-available/userdir.conf
lrwxrwxrwx 1 root root 40 2006-09-14 23:56 userdir.load ->
/etc/apache2/mods-available/userdir.load
Nick Black wrote:
> Thanks nick.
>
> So I have editited the openstreetmap config file and put it into
> sites-available and made sym link to it in sites-enabled. Now when I
> retart apache I get:
>
>
> nick at nick:/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
>
> RequestHeader is a directive of Mod_Headers, which (I think) should be
> built into Apache2.
>
> nick at nick:/usr/lib/apache2/modules$ locate mod_headers
> /usr/lib/apache2/modules/mod_headers.so
>
> It seems that apache cannot find mod_headers. I shouldnt need to edite
> httpd.conf as mod_headers is apparently built into apache. So I'm a bit
> confused!
>
> Nickb
>
>
>
>
>
> On 9/27/06, *Nick Hill* < nick at nickhill.co.uk
> <mailto:nick at nickhill.co.uk>> wrote:
>
> Nick Hill wrote:
>
> > months ago). dev also has a copy of planet.osm which you can
> point your
> > installation to.
> >
>
> To be specific, I have loaded a copy of planet.osm onto the MySQL server
> on dev which any local user can read.
>
>
More information about the dev
mailing list