SID-02425: Maybe I find a bug about ApacheConfigGenerator
| Status: |
Unanswered |
TWiki version: |
6.1.0 |
Perl version: |
v5.30 |
| Category: |
|
Server OS: |
ubuntu 16.04 LTS |
Last update: |
5 years ago |
Hello Peter, I found that the image and CSS style are not displayed in the last build (v6.1). Through your suggestion, I re-use TWiki's Apache generator to generate a configuration file, but the same problem still exists in FOXFIRE, so I use browser's F12 to check the address of the image request, and find that if the configuration is correct, the request address is the directory of "/ do" (actually it should be the directory of "/ pub"). The following is my configuration, please tell me How can I modify this configuration to make the image request the correct directory
twiki.conf configuration (Apache configuration :include "/var/www/twiki.conf")
.....
ScriptAlias /do "/var/www/twiki/bin"
# The Alias defines a url that points to the twiki pub directory, which
# is the root of file attachments.
Alias /pub "/var/www/twiki/pub"
.....
modifed
LocalLib.cfg
...
$twikiLibPath = "/var/www/twiki/lib"
...
direct of TWiki :/var/www/twiki
--
bian peng - 2019-12-23
Discussion and Answer
html code:
<img src="/do/TWiki/TWikiLogos/T-logo-140x40-t.gif" alt="Home - this site is powered by TWiki(R)" title="Home - this site is powered by TWiki(R)" style="border:none;" border="0">
--
bian peng - 2019-12-23
This problem has been bothering me for a week. I hope I can find some time to help solve it
Thanks!
--
bian peng - 2019-12-23
I find the problem:
/var/www/twiki/lib/LocalSite.cfg
Thanks!
--
bian peng - 2019-12-23
--
bian peng - 2020-02-13
--
bian peng - 2020-02-13
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.