__init__.pyc not publishable - trying to get NAV to go
I'm trying to get NAV to go, on Debian this time. It all seemed to be going well, but when I try to get the nav login page I get 403 forbidden. In the apache logs I can see: [Thu Aug 06 14:09:14 2009] [warn] [client 147.143.1.98] Cannot publish nav in /nav because <module 'nav' from '/usr/lib/python2.4/site-packages/nav/__init__.pyc'> is not publishable Unfortunately, I can't see what to do at the moment. Any pointers would be appreciated. Many thanks David -- Dr. David Round -- Network Engineer University of Wales, Bangor - IT Services Adeilad Deiniol, Ffordd Deiniol phone (01248) 382416 Bangor, Gwynedd, LL57 2UX, UK EMail d.p.round@bangor.ac.uk -- Gall y neges e-bost hon, ac unrhyw atodiadau a anfonwyd gyda hi, gynnwys deunydd cyfrinachol ac wedi eu bwriadu i'w defnyddio'n unig gan y sawl y cawsant eu cyfeirio ato (atynt). Os ydych wedi derbyn y neges e-bost hon trwy gamgymeriad, rhowch wybod i'r anfonwr ar unwaith a dilëwch y neges. Os na fwriadwyd anfon y neges atoch chi, rhaid i chi beidio â defnyddio, cadw neu ddatgelu unrhyw wybodaeth a gynhwysir ynddi. Mae unrhyw farn neu safbwynt yn eiddo i'r sawl a'i hanfonodd yn unig ac nid yw o anghenraid yn cynrychioli barn Prifysgol Bangor. Nid yw Prifysgol Bangor yn gwarantu bod y neges e-bost hon neu unrhyw atodiadau yn rhydd rhag firysau neu 100% yn ddiogel. Oni bai fod hyn wedi ei ddatgan yn uniongyrchol yn nhestun yr e-bost, nid bwriad y neges e-bost hon yw ffurfio contract rhwymol - mae rhestr o lofnodwyr awdurdodedig ar gael o Swyddfa Cyllid Prifysgol Bangor. www.bangor.ac.uk This email and any attachments may contain confidential material and is solely for the use of the intended recipient(s). If you have received this email in error, please notify the sender immediately and delete this email. If you are not the intended recipient(s), you must not use, retain or disclose any information contained in this email. Any views or opinions are solely those of the sender and do not necessarily represent those of the Bangor University. Bangor University does not guarantee that this email or any attachments are free from viruses or 100% secure. Unless expressly stated in the body of the text of the email, this email is not intended to form a binding contract - a list of authorised signatories is available from the Bangor University Finance Office. www.bangor.ac.uk
On Thu, 06 Aug 2009 14:18:22 +0100 "D.P.Round" <d.p.round@bangor.ac.uk> wrote:
I'm trying to get NAV to go, on Debian this time.
Which NAV version? From source or from the Debian package?
It all seemed to be going well, but when I try to get the nav login page I get 403 forbidden. In the apache logs I can see:
[Thu Aug 06 14:09:14 2009] [warn] [client 147.143.1.98] Cannot publish nav in /nav because <module 'nav' from /usr/lib/python2.4/site-packages/nav/__init__.pyc'> is not publishable
Unfortunately, I can't see what to do at the moment. Any pointers would be appreciated.
Looks like an error from mod_python, though I'm not quite sure of what's going on. I'd need to see more of your apache config to be sure, but I can make some assumptions. It may be that you have configured Apache to serve NAV from http://example.org/nav/ , but NAV will require to be in the DocumentRoot, i.e. have a virtualhost of its own: http://example.org/ -- mvh Morten Brekkevold UNINETT
participants (2)
-
D.P.Round -
Morten Brekkevold