SID-01483: GUI not properly shown
| Status: |
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
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.