Re: [Trac] Trac-1.6 htdocs_location with mod_python

Sandro Santilli <[email protected]> Wed, 11 Sep 2024 10:21:32 +0200
Newsgroups gmane.comp.version-control.subversion.trac.general
Message-ID <ZuFTDPgK--MJWMyS@c23>
On Wed, Sep 11, 2024 at 06:21:36AM +0900, Jun Omae wrote:
> On 2024/09/10 23:38, Sandro Santilli wrote:
> > I've tried setting trac.htdocs_location in trac.ini but I don't
> > see it ever used, how could I possibly debug this issue ?
> > 
> > It's Trac-1.6 served by mod_python
> > The env trac.ini also sets base_url if that's possibly related.
> > 
> > Please include my address whey replying as I'm not always reading the list.
> 
> Please explain "not used" and points which you've confirmed.

Ok I found the problem:

 trac.ini inherits trac-common.ini

The htdocs_location set in trac-common.ini has no effect because
trac.ini has it set to the empty string, overriding the one in
trac-common.ini

--strk;


-- 
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/ZuFTDPgK--MJWMyS%40c23.
signature.asc (application/pgp-signature, 659 B)
-----BEGIN PGP SIGNATURE-----

iQGzBAABCgAdFiEEyOAhc1XOBFGVnzBARwiVRt5AyacFAmbhUwwACgkQRwiVRt5A
yaccQwwAtYiIGZkzwhMX5jW8eO9deH7TFCPC77k1Ihp1Gy3b7VSH9koP/v1XNHWk
b8yVkied4N5fHAG8gmv629jtPYnAY9aoVek3+C/zqRTqlyjbdRVKe+4QBvY/Iv+I
IH4oq8fMvXf9A+cfDXpg1L7/fhETeGXPWXG2dDVpMN71coopYY/aoPLJwRCwbGjO
O7N+O8E2aaXPS4o2AIi14+QvVHtWDAs2pJhYfj0eEamSI4TVAFHvhUTpUP5ypnyl
P16J5wA65Md4Jr5zgcGO5oa67BSOH9dukg81lFnJB4Do40y1su1GNHNE7QrKXPHH
BNfhvcdqoavSJ8h+FRL3p2e6pTu53c8eqY8U3AgyJ6taZt6R7QRZIi3S3ULX7Kjt
+Kgrp8ZFEf3mOjWGWhuurRyueqcZXJh7nh52BWE4Jw/PnJ20hxw4xu0VciisD81q
n6D+3NC/VEYmwRsbuh0uF1O2SswETa/6BXw8K29EYqzD911Q7w5S8kiO8Tf8UfqL
j2fDVsj2
=UG2X
-----END PGP SIGNATURE-----