SID-00141: Problem with Configuration on RedHat Linux
I had installed Twiki 4.2 on my linux and it was running fine. I just tried to install one plug-in for creating windows explorer style expand & collapse facility. Before doing this I had taken backup of previous and modified but unfortunately it did not work and therefore I back on the last version. Due to this by mistakenly right was and ownership was changed. I revert back all the rights (I think) but when calling
http://localhost/Twiki/bin/configure
from my server getting a dialog that asking for user name and password which earlier not asking (rather opening a configuration page)
Please provide the solution at the earliet.
Thanks in advance
Sanjeev
--
SanjeevJha77 - 27 Feb 2009
Discussion and Answer
Sanjeev,
Please check your apache configuration file for twiki - you must have section similar to following:
<FilesMatch "^configure.*">
SetHandler cgi-script
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 192.168.1.10
Require user JohnDoe
Satisfy Any
</FilesMatch>
Userdatabase is generally - AuthUserFile /home/httpd/twiki/data/.htpasswd
if you are not using any other authentication method
Cheers,
--
SopanShewale - 27 Feb 2009
Below is right and owneship detail
[root@twiki data]# pwd
/var/www/html/lamp/apache2/htdocs/Twiki/data
[root@twiki data]# ls -l
total 188
-rw-r--r-- 1 daemon daemon 728 Feb 25 19:11 configurationlog.txt
drwxr-xr-x 2 daemon daemon 4096 Feb 25 19:11 _default
drwxr-xr-x 2 daemon daemon 4096 Feb 25 19:11 _empty
-rw-r--r-- 1 daemon daemon 71997 Feb 27 17:47 log200902.txt
drwxr-xr-x 2 daemon daemon 4096 Feb 26 18:21 Main
-rw-r--r-- 1 daemon daemon 8517 Feb 25 19:11 mime.types
drwxr-xr-x 2 daemon daemon 4096 Feb 25 19:11 Sandbox
drwxr-xr-x 2 daemon daemon 4096 Feb 25 19:11 Trash
drwxrwxrwx 2 daemon daemon 57344 Feb 25 19:11 TWiki
-rw------- 1 daemon daemon 13794 Feb 26 19:00 warn200902.txt
[root@twiki data]#
[root@twiki Twiki]# pwd
/var/www/html/lamp/apache2/htdocs/Twiki
[root@twiki Twiki]# ls -l
total 892
-r--r--r-- 1 daemon daemon 7955 Feb 25 19:11 AUTHORS
drwxrwxrwx 3 daemon daemon 4096 Feb 27 15:11 bin
-r--r--r-- 1 daemon daemon 328 Feb 25 19:11 COPYING
-r--r--r-- 1 daemon daemon 355 Feb 25 19:11 COPYRIGHT
drwxrwxrwx 8 daemon daemon 4096 Feb 27 17:50 data
-r--r--r-- 1 daemon daemon 40934 Feb 25 19:11 index.html
-rw-r--r-- 1 daemon daemon 66327 Feb 25 19:11 INSTALL.html
drwxrwxrwx 4 daemon daemon 4096 Feb 26 20:04 lib
-r--r--r-- 1 daemon daemon 19186 Feb 25 19:11 LICENSE
drwxr-xr-x 2 daemon daemon 4096 Feb 25 19:11 locale
drwxrwxrwx 7 daemon daemon 4096 Feb 25 19:11 pub
-r--r--r-- 1 daemon daemon 2307 Feb 25 19:11 pub-htaccess.txt
-r--r--r-- 1 daemon daemon 3502 Feb 25 19:11 readme.txt
drwxrwxrwx 2 daemon daemon 4096 Feb 25 19:11 registration_approvals
-r--r--r-- 1 daemon daemon 720 Feb 25 19:11 robots.txt
-r--r--r-- 1 daemon daemon 554 Feb 25 19:11 root-htaccess.txt
-r--r--r-- 1 daemon daemon 536 Feb 25 19:11 subdir-htaccess.txt
drwxrwxrwx 2 daemon daemon 12288 Feb 25 19:11 templates
drwxrwxrwx 2 daemon daemon 4096 Feb 25 19:11 tools
-rw-r--r-- 1 daemon daemon 133120 Feb 25 19:11
TreePlugin
-rw-r--r-- 1 daemon daemon 8146 Feb 27 17:46 Twiki.conf
-rw-r--r-- 1 daemon daemon 243131 Feb 25 19:11
TWikiHistory.html
-r--r--r-- 1 daemon daemon 6197 Feb 25 19:11 twiki_httpd_conf.txt
-rw-r--r-- 1 daemon daemon 251760 Feb 25 19:11
TWikiReleaseNotes04x02.html
-rw-r--r-- 1 daemon daemon 31102 Feb 25 19:11
TWikiUpgradeGuide.html
drwxrwxrwx 5 daemon daemon 4096 Feb 25 19:11 working
[root@twiki Twiki]#
[root@twiki bin]# pwd
/var/www/html/lamp/apache2/htdocs/Twiki/bin
[root@twiki bin]# ls -l
total 128
-r-xr-xr-x 1 daemon daemon 1068 Feb 25 19:11 attach
-r-xr-xr-x 1 daemon daemon 1073 Feb 25 19:11 changes
-r-xr-xr-x 1 daemon daemon 24085 Feb 27 15:11 configure
-r-xr-xr-x 1 daemon daemon 1061 Feb 25 19:11 edit
-rw-r--r-- 1 daemon daemon 1524 Feb 25 19:11
LocalLib.cfg
-rw-r--r-- 1 daemon daemon 1507 Feb 25 19:11
LocalLib.cfg.txt
-r-xr-xr-x 1 daemon daemon 1236 Feb 25 19:11 login
-r-xr-xr-x 1 daemon daemon 1428 Feb 25 19:11 logon
drwxr-xr-x 2 daemon daemon 4096 Feb 25 19:11 logos
-r-xr-xr-x 1 daemon daemon 1146 Feb 25 19:11 manage
-r-xr-xr-x 1 daemon daemon 1064 Feb 25 19:11 oops
-r-xr-xr-x 1 daemon daemon 1072 Feb 25 19:11 preview
-r-xr-xr-x 1 daemon daemon 1062 Feb 25 19:11 rdiff
-r-xr-xr-x 1 daemon daemon 1062 Feb 25 19:11 rdiffauth
-r-xr-xr-x 1 daemon daemon 1041 Feb 25 19:11 register
-r-xr-xr-x 1 daemon daemon 1066 Feb 25 19:11 rename
-r-xr-xr-x 1 daemon daemon 1046 Feb 25 19:11 resetpasswd
-r-xr-xr-x 1 daemon daemon 5212 Feb 25 19:11 rest
-r-xr-xr-x 1 daemon daemon 1060 Feb 25 19:11 save
-r-xr-xr-x 1 daemon daemon 1079 Feb 25 19:11 search
-r--r--r-- 1 daemon daemon 2144 Feb 25 19:11 setlib.cfg
-r-xr-xr-x 1 daemon daemon 1584 Feb 25 19:11 statistics
-r-xr-xr-x 1 daemon daemon 1066 Feb 25 19:11 upload
-rwxr-xr-x 1 daemon daemon 1103 Feb 25 19:11 view
-r-xr-xr-x 1 daemon daemon 1103 Feb 25 19:11 viewauth
-r-xr-xr-x 1 daemon daemon 1067 Feb 25 19:11 viewfile
[root@twiki bin]#
--
SanjeevJha77 - 27 Feb 2009
Below is right and ownership detail
[root@twiki data]# pwd
/var/www/html/lamp/apache2/htdocs/Twiki/data
[root@twiki data]# ls -l
total 188
-rw-r--r-- 1 daemon daemon 728 Feb 25 19:11 configurationlog.txt
drwxr-xr-x 2 daemon daemon 4096 Feb 25 19:11 _default
drwxr-xr-x 2 daemon daemon 4096 Feb 25 19:11 _empty
-rw-r--r-- 1 daemon daemon 71997 Feb 27 17:47 log200902.txt
drwxr-xr-x 2 daemon daemon 4096 Feb 26 18:21 Main
-rw-r--r-- 1 daemon daemon 8517 Feb 25 19:11 mime.types
drwxr-xr-x 2 daemon daemon 4096 Feb 25 19:11 Sandbox
drwxr-xr-x 2 daemon daemon 4096 Feb 25 19:11 Trash
drwxrwxrwx 2 daemon daemon 57344 Feb 25 19:11 TWiki
-rw------- 1 daemon daemon 13794 Feb 26 19:00 warn200902.txt
[root@twiki data]#
[root@twiki Twiki]# pwd
/var/www/html/lamp/apache2/htdocs/Twiki
[root@twiki Twiki]# ls -l
total 892
-r--r--r-- 1 daemon daemon 7955 Feb 25 19:11 AUTHORS
drwxrwxrwx 3 daemon daemon 4096 Feb 27 15:11 bin
-r--r--r-- 1 daemon daemon 328 Feb 25 19:11 COPYING
-r--r--r-- 1 daemon daemon 355 Feb 25 19:11 COPYRIGHT
drwxrwxrwx 8 daemon daemon 4096 Feb 27 17:50 data
-r--r--r-- 1 daemon daemon 40934 Feb 25 19:11 index.html
-rw-r--r-- 1 daemon daemon 66327 Feb 25 19:11 INSTALL.html
drwxrwxrwx 4 daemon daemon 4096 Feb 26 20:04 lib
-r--r--r-- 1 daemon daemon 19186 Feb 25 19:11 LICENSE
drwxr-xr-x 2 daemon daemon 4096 Feb 25 19:11 locale
drwxrwxrwx 7 daemon daemon 4096 Feb 25 19:11 pub
-r--r--r-- 1 daemon daemon 2307 Feb 25 19:11 pub-htaccess.txt
-r--r--r-- 1 daemon daemon 3502 Feb 25 19:11 readme.txt
drwxrwxrwx 2 daemon daemon 4096 Feb 25 19:11 registration_approvals
-r--r--r-- 1 daemon daemon 720 Feb 25 19:11 robots.txt
-r--r--r-- 1 daemon daemon 554 Feb 25 19:11 root-htaccess.txt
-r--r--r-- 1 daemon daemon 536 Feb 25 19:11 subdir-htaccess.txt
drwxrwxrwx 2 daemon daemon 12288 Feb 25 19:11 templates
drwxrwxrwx 2 daemon daemon 4096 Feb 25 19:11 tools
-rw-r--r-- 1 daemon daemon 133120 Feb 25 19:11
TreePlugin
-rw-r--r-- 1 daemon daemon 8146 Feb 27 17:46 Twiki.conf
-rw-r--r-- 1 daemon daemon 243131 Feb 25 19:11
TWikiHistory.html
-r--r--r-- 1 daemon daemon 6197 Feb 25 19:11 twiki_httpd_conf.txt
-rw-r--r-- 1 daemon daemon 251760 Feb 25 19:11
TWikiReleaseNotes04x02.html
-rw-r--r-- 1 daemon daemon 31102 Feb 25 19:11
TWikiUpgradeGuide.html
drwxrwxrwx 5 daemon daemon 4096 Feb 25 19:11 working
[root@twiki Twiki]#
[root@twiki bin]# pwd
/var/www/html/lamp/apache2/htdocs/Twiki/bin
[root@twiki bin]# ls -l
total 128
-r-xr-xr-x 1 daemon daemon 1068 Feb 25 19:11 attach
-r-xr-xr-x 1 daemon daemon 1073 Feb 25 19:11 changes
-r-xr-xr-x 1 daemon daemon 24085 Feb 27 15:11 configure
-r-xr-xr-x 1 daemon daemon 1061 Feb 25 19:11 edit
-rw-r--r-- 1 daemon daemon 1524 Feb 25 19:11
LocalLib.cfg
-rw-r--r-- 1 daemon daemon 1507 Feb 25 19:11
LocalLib.cfg.txt
-r-xr-xr-x 1 daemon daemon 1236 Feb 25 19:11 login
-r-xr-xr-x 1 daemon daemon 1428 Feb 25 19:11 logon
drwxr-xr-x 2 daemon daemon 4096 Feb 25 19:11 logos
-r-xr-xr-x 1 daemon daemon 1146 Feb 25 19:11 manage
-r-xr-xr-x 1 daemon daemon 1064 Feb 25 19:11 oops
-r-xr-xr-x 1 daemon daemon 1072 Feb 25 19:11 preview
-r-xr-xr-x 1 daemon daemon 1062 Feb 25 19:11 rdiff
-r-xr-xr-x 1 daemon daemon 1062 Feb 25 19:11 rdiffauth
-r-xr-xr-x 1 daemon daemon 1041 Feb 25 19:11 register
-r-xr-xr-x 1 daemon daemon 1066 Feb 25 19:11 rename
-r-xr-xr-x 1 daemon daemon 1046 Feb 25 19:11 resetpasswd
-r-xr-xr-x 1 daemon daemon 5212 Feb 25 19:11 rest
-r-xr-xr-x 1 daemon daemon 1060 Feb 25 19:11 save
-r-xr-xr-x 1 daemon daemon 1079 Feb 25 19:11 search
-r--r--r-- 1 daemon daemon 2144 Feb 25 19:11 setlib.cfg
-r-xr-xr-x 1 daemon daemon 1584 Feb 25 19:11 statistics
-r-xr-xr-x 1 daemon daemon 1066 Feb 25 19:11 upload
-rwxr-xr-x 1 daemon daemon 1103 Feb 25 19:11 view
-r-xr-xr-x 1 daemon daemon 1103 Feb 25 19:11 viewauth
-r-xr-xr-x 1 daemon daemon 1067 Feb 25 19:11 viewfile
[root@twiki bin]#
--
SanjeevJha77 - 27 Feb 2009
Actual problem was, I was working from other system as my actual system was currupted and in twiki.conf, my system IP was allowed. I was changing the IP but not restarting the Apache and therefore it was asking user name and password.
Again I got good support from
SopanShewale
So the problem is fixed now.
--
SanjeevJha77 - 27 Feb 2009
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.