[rt-users] Using https in web interface results sometimes in "Bad Request"
Benno Overeinder
benno at NLnetLabs.nl
Wed Jul 15 14:23:05 EDT 2009
Hello,
I recently installed RT 3.8.4 on our FreeBSD server. And everything
seems to work correctly.
Except for some actions in the Web user interface when using https (thus
using https://rt.example.com).
For example, when I am on the home page
https://rt.example.com/index.html (and logged on as a non-root user),
and I want to take a new ticket.
- I click on the the "Take" field (e.g.,
https://rt.example.com/Ticket/Display.html?Action=Take&id=6).
- The result in my web browser (both on MacOSX and Linux box) is 400 Bad
Request. The page displayed gives a hint:
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.
Hint: https://www.example.com/
- The URL in the location field (in the task bar) is
http://rt.example.com:443/Ticket/Display.html?id=6&results=b0b3ad79388f4b7eb27423f8373483c1
instead of https://rt.example.com:443/Ticket/...
- When I correct the URL from http to https in the location field, the
correct page of the RT web interface appears. That is, displaying the
yellow box with:
Results:
* Owner changed from Nobody to benno
- Modifying a ticket from new to open, to stalled, to solved, works
correctly.
- Other actions like reply on a ticket, and clicking on "Update Ticket"
gives again a 400 Bad Request, with URL
http://rt.example.com:443/Ticket/Display.html?id=6&results=105cd325c88e3a6140686541706a6274
instead of https://rt.example.com:443/Ticket/...
I cannot locate the problem. I briefly looked into the
.../html/Ticket/Display.html file, but couldn't find an obvious reason.
I configured Set($WebDomain , 'rt.example.com'); and left the
$WebBaseURL untouched (thus the default setting selecting on port 443
for using https).
Anybody a clue how to solve this? Again, with editing the URL from http
to https in the location bar of the web browser seems to work correclty,
I rather have it corrected in the RT setup.
Thanks,
-- Benno
--
Benno J. Overeinder
NLnet Labs
http://www.nlnetlabs.nl/
More information about the rt-users
mailing list