Tags:
create new tag
view all tags

SID-01483: GUI not properly shown

Status: Answered Answered TWiki version: 5.1.1 Perl version: 5.10.1
Category: CategoryBrowser Server OS: RedHat Linux 6.2 Last update: 13 years ago

Hi,

I'm not sure how and what to search whether anyone having a same problem as me before.

My twiki didn't show up properly. Only 'configure' page looks okay.

Here is the error from the apache error log,

[Wed Jun 13 15:33:37 2012] [error] [client XX.XX.2.3] script not found or unable to stat: /var/www/html/twiki/bin/TWiki, referer: http://XX.XX.249.161/twiki/view

Appreciate any help from anyone of you.

-- MuhamadFaiz - 2012-06-13

Discussion and Answer

From the attached picture it looks like the twiki/pub is not accessible via browser. See answer in SID-01478

-- PeterThoeny - 2012-06-13

Hi Peter,

Thanks for your respond.

I've tried your suggestion in that thread but it seems doesn't work. Here are some output from file that I think its relevant. I'm ready to share more if it required.

/etc/httpd/conf.d/twiki.cfg

ScriptAlias /twiki "/var/www/html/twiki/bin"
Alias /twiki/pub "/var/www/html/twiki/pub"


/etc/httpd/conf/httpd.conf
<VirtualHost *:80>
# ServerName mydomain.dk
# ServerAlias *.mydomain.dk
DocumentRoot /var/www/html/twiki
Include /etc/httpd/conf.d/twiki.cfg
</VirtualHost>

LocalSite.cfg
$TWiki::cfg{PubUrlPath} = '/twiki/pub';
$TWiki::cfg{PubDir} = '/var/www/html/twiki/pub';

[root@nagios01 twiki]# pwd
/var/www/html/twiki

[root@localhost twiki]# ls -lh
total 152K
-r--r--r-- 1 apache apache 11K Jun 13 10:03 AUTHORS
drwxr-xr-x 3 apache apache 4.0K Jun 13 10:05 bin
-r--r--r-- 1 apache apache 331 Jun 13 10:02 COPYING
-r--r--r-- 1 apache apache 354 Jun 13 10:03 COPYRIGHT
drwxr-xr-x 8 apache apache 4.0K Jun 14 10:46 data
-r--r--r-- 1 apache apache 41K Jun 13 10:02 index.html
drwxr-xr-x 4 apache apache 4.0K Jun 13 11:59 lib
-r--r--r-- 1 apache apache 19K Jun 13 10:02 LICENSE
drwxr-xr-x 2 apache apache 4.0K Jun 13 10:03 locale
drwxr-xr-x 7 apache apache 4.0K Jun 14 11:06 pub
-r--r--r-- 1 apache apache 2.3K Jun 13 10:02 pub-htaccess.txt
-r--r--r-- 1 apache apache 3.3K Jun 13 10:02 readme.txt
-r--r--r-- 1 apache apache 720 Jun 13 10:02 robots.txt
-r--r--r-- 1 apache apache 554 Jun 13 10:02 root-htaccess.txt
-r--r--r-- 1 apache apache 536 Jun 13 10:02 subdir-htaccess.txt
drwxr-xr-x 2 apache apache 12K Jun 13 10:02 templates
drwxr-xr-x 2 apache apache 4.0K Jun 13 10:02 tools
-r--r--r-- 1 apache apache 5.5K Jun 13 10:02 twiki_httpd_conf.txt
drwxr-xr-x 5 apache apache 4.0K Jun 13 10:02 working

-- MuhamadFaiz - 2012-06-14

Your ScriptAlias conflicts with Alias. Try this:

ScriptAlias /do "/var/www/html/twiki/bin"

And in LocalSite.cfg:

$TWiki::cfg{ScriptUrlPath} = '/do';

Leave the other settings. Access http://yourtwiki/example/com/do/view

-- PeterThoeny - 2012-06-18

      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 GUI not properly shown
SupportCategory CategoryBrowser
TWiki version 5.1.1
Server OS RedHat Linux 6.2
Web server Apache 2.2.15
Perl version 5.10.1
Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng 1.png r1 manage 82.1 K 2012-06-13 - 10:03 UnknownUser Faiz's twiki
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2012-08-02 - 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.