SID-01822: HTTP 404 Error upon Login but logged in successfully
| Status: |
Answered |
TWiki version: |
5.1.4 |
Perl version: |
5.10.0 |
| Category: |
CategoryError |
Server OS: |
Windows XP Professional 32bit - SP3 |
Last update: |
10 years ago |
For testing purposes, I installed Twiki onto a Win7 machine running XAMPP. It was a local workstation. I then ported it over to a virtual server (outlined in table). After some struggling, I managed to get Twiki to work on IIS.
The issue:
User enters site > clicks Login > Enters login name and password > Receives HTTP 404 File Not Found (
http://x140/twiki/bin/login.pl/Main/WebHome
)
If the user manually navigates to any part of the site after login 404 error, they are successfully logged in and everything functions as normal.
IIS security is set to Anonymous Access and folder permissions are set accordingly.
--
Steve Shaffer - 2013-11-12
Discussion and Answer
I am not familiar with IIS. Pure guess: Does IIS recognize
login.pl as a script in
http://x140/twiki/bin/login.pl/Main/WebHome ? If IIS is not aware of the path info (
/Main/WebHome), it may look for file
WebHome, hence producing the 404 error.
--
Peter Thoeny - 2013-11-12
IIS doesn't have a problem with
http://x140/twiki/bin/view.pl/Main/WebHome (note
view.pl). Does
login.pl/Main/Webhome actually render the page or does it serve as a redirect back to
view.pl?
*UPDATE: I answered this myself by going back to the XAMPP installation. Login.pl redirects back to view.pl.
*
Being unfamiliar with the Twiki engine, which
.pm file would contain the redirect for
login.pl?
BTW, thank you for the quick response!
--
Steve Shaffer - 2013-11-12
In any case, it might be better to run TWiki in a VM on Windows, it performs better than a native install on Windows. You can
DownloadTWikiVM.
--
Peter Thoeny - 2013-11-12
Look into the login managers located in
lib/TWiki/LoginManager
--
Peter Thoeny - 2013-11-12
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.