Tags:
create new tag
view all tags

SID-01480: No icons on Twiki homepage

Status: Answered Answered TWiki version: 5.1.1 Perl version: ActivePerl-5.14.2.1402-MSWin32-x86-295342
Category: CategoryInstallation Server OS: WinXPSP3Prof. Last update: 10 years ago

My problem: No icons are displayed at my Twiki WebHome. "http://localhost/twiki/view"

Trying to display: twiki-gray.gif

Leads to the error message:

Not Found
The requested URL /twiki/pub/TWiki/TWikiDocGraphics/twiki-gray.gif was not found on this server.

I already read help topic: SID-01478: TWiki Home Page Display

But no solution. All paths seem to be fine.

Twiki.conf:

Alias /twiki/pub "C:/webdb/htdocs/twiki/pub"

LocalSite.cfg:

$TWiki::cfg{PubUrlPath} = '/twiki/pub';
$TWiki::cfg{PubDir} = 'C:/webdb/htdocs/twiki/pub';

Apache error log reports:

[Tue Jun 12 10:32:49 2012] [error] [client 10.240.1.1] script not found or unable to stat: C:/webdb/htdocs/twiki/bin/pub, referer: http://pst-server-01/twiki/view

I have no idea, what happens here.

-- SteffenFranke - 2012-06-12

Discussion and Answer

"script not found" is an indication that the pub dir is configured to be a cgi-bin directory. Make sure to configure it to be an html doc directory.

-- PeterThoeny - 2012-06-12

Fixed my issue by comparing path and alias in twiki.conf and LocalSite.cfg. ScriptAlias and ScriptUrlPath should be consistent:

twiki.conf:

ScriptAlias /twiki/bin "F:/webdb/htdocs/twiki/bin"
Alias /twiki/pub "F:/webdb/htdocs/twiki/pub"

LocalSite.cfg:

$TWiki::cfg{ScriptUrlPath} = '/twiki/bin';
$TWiki::cfg{PubUrlPath} = '/twiki/pub';
$TWiki::cfg{PubDir} = 'F:/webdb/htdocs/twiki/pub';

Now it works.

Thanks.

-- SteffenFranke - 2012-06-13

Instead of '/twiki/bin' for ScriptAlias and {ScriptUrlPath} I recommend a shorter '/do', this makes URLs shorter and more intuitive (/do/view/..., /do/edit/..., etc. )

-- PeterThoeny - 2012-06-13

heads up: SteffenFrank's Answer here works. However, wrong values are created by "do/configure" on my site that I just setup:

LocalSite.cfg contents was automatically configured to:

$TWiki::cfg{ScriptUrlPath} = '/do'; # SHOULD have been /twiki/bin - Seems to be using the alias from twiki.conf, while apache needs absolute dir (?).
$TWiki::cfg{PubUrlPath} = '/pub'; # SHOULD have been /twiki/pub - Seems to be using the alias from twiki.conf, while apache needs absolute dir (?).
$TWiki::cfg{PubDir} = '/var/www/html/twiki/pub'; # CORRECT 

after setting the two first paths it works here too smile Looking forward to testing a bit smile

best Arno

-- Arno Teigseth - 2016-05-30

      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 Answered
Title No icons on Twiki homepage
SupportCategory CategoryInstallation
TWiki version 5.1.1
Server OS WinXPSP3Prof.
Web server Apache/2.2.14 (Win32) PHP/5.3.6
Perl version ActivePerl-5.14.2.1402-MSWin32-x86-295342
Browser & version

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2016-05-30 - PeterThoeny
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.