ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
69807
|
Mon Jul 22 16:17:55 2024 |
| André | andre.althaus@tu-dortmund.de | Bug report | All | 3.1.5 | HTTP headers should be parsed case insensitive |
I'm trying to run elog behind haproxy, but get the error "Invalid Content-Length in header" on posting.
As stated in the manual, haproxy rewrites all headers to lower case.
elogd parses the content-length header case sensitive which is against the HTTP RFC. This might also apply to other headers that get parsed.
For now I'm using the workaround from the manual:
global
h1-case-adjust content-length Content-Length
h1-case-adjust content-type Content-Type
backend elog
option h1-case-adjust-bogus-server
server elog 127.0.0.1:8080
But as the manual states, this should not be used as a permanent solution. |
69817
|
Wed Jul 31 14:21:21 2024 |
| Stefan Ritt | I cstefan.ritt@psi.ch | Bug report | All | 3.1.5 | Re: HTTP headers should be parsed case insensitive |
I changed elog to interprete the content-length header case in-sensitive and committed the change. Can you try again?
Stefan
André wrote: |
I'm trying to run elog behind haproxy, but get the error "Invalid Content-Length in header" on posting.
As stated in the manual, haproxy rewrites all headers to lower case.
elogd parses the content-length header case sensitive which is against the HTTP RFC. This might also apply to other headers that get parsed.
For now I'm using the workaround from the manual:
global
h1-case-adjust content-length Content-Length
h1-case-adjust content-type Content-Type
backend elog
option h1-case-adjust-bogus-server
server elog 127.0.0.1:8080
But as the manual states, this should not be used as a permanent solution.
|
|
69821
|
Wed Aug 7 22:54:03 2024 |
| Walter Reviol | reviol@anl.gov | Question | All | 2 | Can Elog make a table? |
Hi!
I like to format an Elog "directory" such that all entries make/occur as a table. Say: 5 columns and a large number of rows. In a sense, make an excel spreadsheet in Elog. Is this possible? How can this be done? Is there perhaps a template?
Thanks in advance.
Walter Reviol
reviol@anl.gov |
69822
|
Thu Aug 8 09:07:45 2024 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | All | 2 | Re: Can Elog make a table? |
I'm not exactly sure what you want to do, but there are two options in elog:
1) Insert directly a table like this one:
Index |
Value |
first |
123 |
second |
432 |
2) Use one ELOG entry as a row in a table. You can try this by clicking on "List" here in the Forum should you not already see the list display, then on "Summary" which give you a spreadsheet like display, where you can specify in the config file which columns of the ELOG entries you want to see. See also the demo here: https://elog.psi.ch/elogs/Linux+Demo/
Best,
Stefan |
69840
|
Wed Nov 13 18:12:34 2024 |
| Pavel Murat | murat@fnal.gov | Question | All | ELOG V3.1.5-fc6 | choosing the default font ? |
Dear All,
is there a way to choose the default "style" for the HTML encoding ? - I'd like to set it to "Typewriter" but couldn't find the corresponding option in the available docs/ sample config files...
-- many thanks, regards, Pasha |
69841
|
Fri Nov 15 09:55:11 2024 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | All | ELOG V3.1.5-fc6 | Re: choosing the default font ? |
Check elog/themes/default/elog.css and look for font-family.
If you just want the elog entries in monospaced font, you can swith to "plain" encoding at the bottom of the entry form. You can also make this a default (check the docu).
Stefan
Pavel Murat wrote: |
Dear All,
is there a way to choose the default "style" for the HTML encoding ? - I'd like to set it to "Typewriter" but couldn't find the corresponding option in the available docs/ sample config files...
-- many thanks, regards, Pasha
|
|
69844
|
Fri Dec 6 10:58:57 2024 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | All | 3.1.4 | Re: Global change of links |
You would have to access the raw elgo database files (which are pure ASCII files) and write some script which goes through all files and changes the URLs.
Stefan
Dr Marta Divall wrote: |
Dear All,
We have been using the ELOG for several years and had inserted hyper-links instead of whole files in order to save storage space. From this month our server is moved to a new location with a new address. Is there a way for me to retrospectivelly replace all addresses with the new server file pass?
Thanks in advance,
Best regards,
Marta
|
|
69846
|
Fri Dec 6 11:06:28 2024 |
| Dr Marta Divall | marta.divall@epfl.ch | Question | All | 3.1.4 | Re: Global change of links |
Thanks!
Stefan Ritt wrote: |
You would have to access the raw elgo database files (which are pure ASCII files) and write some script which goes through all files and changes the URLs.
Stefan
Dr Marta Divall wrote: |
Dear All,
We have been using the ELOG for several years and had inserted hyper-links instead of whole files in order to save storage space. From this month our server is moved to a new location with a new address. Is there a way for me to retrospectivelly replace all addresses with the new server file pass?
Thanks in advance,
Best regards,
Marta
|
|
|