Closed robertosussex closed 3 years ago
looks like your CSS is not getting loaded.
check HTML source for CSS URLs.
Check wiki config for url_prefix_static or so.
Hi,
What do I put in (in my farmconfig.py)?
===================== . . **# If you run your wiki script at /mywiki, you need to use this:
Not sure I understand fully what to put as " url_prefix_static"
Please advice
Roberto
Check the CSS URLs you see in the generated HTML (in Firefox, press Ctrl-u). This comes from the url_prefix_static
which moin is using to generate the CSS URL (and also URLs for icons and other static files, esp. for the themes).
Also check the apache configuration for the URL where you serve that CSS (the static files of moin themes).
Both have to match, so moin generates URLs that actually work and are served by your web server.
So on the original site ctrl-u in the file farmconfig.py in the file /etc/httpd/conf.d/epp.conf
The new server ctrl-u the file farmconfig.py same as the other From file moin.wiki.epp-https.conf
==============
Am I missing something ?
Many thanks
Roberto
You didn't show where you serve the URL /moin_static1911
.
What happens if you click on the CSS url in the source view?
On the old server clicking for instance on
gives
On the new one clicking on ...
gives something different
================
I am not sure I can make any sense of this :-(
R.
in the first case
in the second case
Apparently adding url_prefix_static='/moin_static1911' to farmconfig.py did it! In the version 1.9.10 that command is not there! Any reason for that is this a new option
Any reason for that ? Is this a new option? Anyway. It is working now.
Lessons to take home
Moin 1.9.11 + Apache 2.4:
1) Add Apache permission to /moin/server
2) Add url_prefix_static='/moin_static1911' to farmconfig.py ot wikiconfig.py
As far as I could see these two things were NOT required in version 1.9.10 (Apache 2.2)
Many thanks
Roberto Scipioni MPS Research Computing Support Engineer Mathematical and Physical Sciences School University of Sussex, Falmer, Brighton UK Roberto
url_prefix_static exists since ages. i am currently not aware of any changes in its functionality, but i'll check.
So, what you set in your config should be the default (see code urls) anyway.
So I may have just gotten confused 😀 Thanks for your help Roberto
From: TW @.> Sent: 07 May 2021 14:38 To: moinwiki/moin-1.9 @.> Cc: Roberto Scipioni @.>; Author @.> Subject: Re: [moinwiki/moin-1.9] moin 1.9.11 renders pages differently than 1.9.10 (#77)
So, what you set in your config should be the default (see code urls) anyway.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/moinwiki/moin-1.9/issues/77#issuecomment-834398548, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AI5LMGXHK3HCXWXQVT4EACLTMPUMFANCNFSM44GCOL2A.
I think we can close this ticket now Many thanks Roberto
Hi there,
I am testing a moin moin server 1.9.11 created with Centos7+Apache 2.4 using the data from Centos6+moin 1.9.10 + Apache 2.2. I was able to make it work copying the data across. However, the pages are rendered differently
(old version)
(New version)
=======================================
Any idea where to start from to troubleshoot this?
Many thanks
Dr Roberto Scipioni MPS Research Computing Support Engineer