Tags:
create new tag
view all tags

SID-02425: Maybe I find a bug about ApacheConfigGenerator

Status: Unanswered 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

      Change status to:
ALERT! 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.
SupportForm
Status Unanswered
Title Maybe I find a bug about ApacheConfigGenerator
SupportCategory

TWiki version 6.1.0
Server OS ubuntu 16.04 LTS
Web server Apache 2.4.18
Perl version v5.30
Browser & version firefox 47.0
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2020-02-13 - BianPeng
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.