[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openpkg-users
Subject:    Re: Confused with static apache X IfModule
From:       Alexander Belck <alexb () atix ! com ! br>
Date:       2004-08-11 18:00:59
Message-ID: 1092247259.411a5edbdc3ba () www ! spsul ! com ! br
[Download RAW message or body]

Was missing Options MultiiViews as I changed RootDirectory for Default site.
Thanks for all awnsers, they give me a bit more understanding of apache/openpkg
too.

Alex

Citando Michael Schloh von Bennewitz <michael.schloh@cw.com>:

> Hello Alex,
>
> On Tue, Aug 10, 2004, Alexander BELCK wrote:
> > The testpage refers to DocumentRoot that links to:
> >  /manual/mod/core.html#documentroot
> > Under the /manual/mod/ I found the Language versions of core.html,
> > but my browser gots a Not Found for core.html
> >
> Please repeat this test with another browser, or even better try using
> the good old telnet command:
>
>   $ telnet localhost http
>   GET /manual/mod/core.html
>
> This should return /opkg/share/apache/htdocs/manual/mod/core.html.html
> to you. I assume that you haven't modified any part of the OpenPKG config
> files such as apache.conf for example. If so, undo your changes there until
> we are finished diagnosing this problem.
>
> > So I checked for Language negotiation and found in apache.base:
> >
> > <IfModule mod_mime.c>
> >     TypesConfig   /opkg/etc/apache/mime.types
> >     AddType       application/x-tar  .tgz
> >     AddEncoding   x-compress   Z
> >     AddEncoding   x-gzip       gz tgz
> >     AddLanguage   da           .dk
> >     AddLanguage   nl           .nl
> >     :
> >     :
> > </IfModule>
> > <IfModule mod_negotiation.c>
> >     LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca
> es
> > sv tw
> > </IfModule>
> >
> That all looks correct to me.
>
> > My missunderstanding
> > In OpenPKG every thing is static and for apache I used --with_<module> to
> > staticaly compile a module in (So I thought), but I couldn't find any
> compiling
> > option for mod_mime or mod_negotiation eaven they should be there as I
> found
> > reference to them in opk version of apache.base.
> >
> Here are the optional modules which are built into the OpenPKG apache
> package by default:
>
>   mod_vhost_alias mod_env       mod_log_config  mod_mime_magic   mod_mime
>   mod_negotiation mod_status    mod_info        mod_include
> mod_autoindex
>   mod_dir         mod_cgi       mod_asis        mod_imap         mod_actions
>   mod_speling     mod_userdir   mod_alias       mod_rewrite      mod_access
>   mod_auth        mod_auth_anon mod_auth_dbm    mod_digest
> mod_cern_meta
>   mod_expires     mod_headers   mod_usertrack   mod_log_forensic
> mod_unique_id
>   mod_so          mod_setenvif
>
> The building of these modules is unaffected by what arguments you give
> OpenPKG, so you can be sure that you do indeed have mod_mime and
> mod_negotiation.
>
> > Where am I thinking wrong ? Or what am I missing ?
> > Why doesn't apache returned some of the core.html.LANGUAGE file to me ?
> >
> Good questions. Try the above telnet command and if it still doesn't work
> (you can fetch core.html.html but not core.html), then we can try a few
> other things to diagnose.
>
> I assume that you do know how the mod_negotiation works. There is a good
> document to explain this:
>
>   http://httpd.apache.org/docs/mod/mod_negotiation.html#languagepriority
>
> Gruesse,
> Michael
>
> --
> Michael Schloh von Bennewitz <michael.schloh@cw.com>
> Development Team, Operations Northern Europe
> Cable & Wireless Telecommunications Services
> Tel +49-89-92699-227, Fax +49-89-92699-808
>


--
ATIX Tecnologia e Com Ltda
Tel.: +55-(11) 4667-5900

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic