SID-02025: Can't login
| Status: |
Answered |
TWiki version: |
6.0.1 |
Perl version: |
5.10.1.250 |
| Category: |
CategoryAuthentication |
Server OS: |
AIX 7.1 |
Last update: |
10 years ago |
Hello,
I'm installing twiki on AIX7.1 with IBM HTTP Server 6.0.2. They installation is correct but when I go to
http://XXXXXXX/do/configure
and appears the check to login, I don't know the name neither the password and I try removing in
LocalSite.cfg the line which you explain to remove and nothing. It would be maybe about permissions? Thanks
--
Alain Basabe - 2015-02-16
Discussion and Answer
I am not familiar with the IBM HTTP server. How did you create the HTTP server configuration file for TWiki? Not sure if the
ApacheConfigGenerator can be used, but you might be able to learn from it.
In any case make sure that TWiki's configure script does not require an authenticated user.
Once the HTTP server configuration for TWiki is done you can configure TWiki itself. The
twiki/lib/LocalSite.cfg file is created the first time you save the configuration in the configure script. Delete the
LocalSite.cfg to start from scratch.
--
Peter Thoeny - 2015-02-16
I have this log in the error and i saw the user in twiki/data/.htpasswd
Error:
[17/Feb/2015:08:55:42 -0500] "GET /do/configure HTTP/1.1" 404 -
[17/Feb/2015:08:55:51 -0500] "GET /do/configure HTTP/1.1" 404 -
User:
# cat /twiki/twiki/data/.htpasswd
[admin]:hnsPLy/sHZAu6
--
Alain Basabe - 2015-02-17
A 404 means not found. That is, the webserver is not configured properly to recognize
/do/ as a script-enabled directory.
The configure script does not use the
data/.htpasswd, it stores the admin password in the
lib/LocalSite.cfg file.
--
Peter Thoeny - 2015-02-17
Thanks,
in
LocalSite.cfg i have like this:
# Configuration password (not prompted)
$TWiki::cfg{Password} = '';
In twiki.conf I have defined the /do like this:
ScriptAlias /do "/twiki/twiki/bin"
And the permission of this driectory is: drwxr-xr-x 3 root system 4096 Feb 09 10:54 bin
--
Alain Basabe - 2015-02-18
Check the webserver error log.
--
Peter Thoeny - 2015-02-18
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
Peter Thoeny - 2015-12-03
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.