Case sensitive URL

You are here

Case sensitive URL

3 posts / 0 new
Last post
albertom
albertom's picture
Case sensitive URL

The URL is case sensitive, I know.
http://xx.xx.xx.xx:64738/as2/HttpReceiver

is there a way to know if a partner is trying to connect to:
http://xx.xx.xx.xx:64738/as2/httpreceiver ?

Somewhere in a log (AS2 log, Windows log etc)?

service
service's picture

albertom,

You could setup a request log for the underlaying jetty. Please have a look at https://eclipse.org/jetty/documentation/current/configuring-jetty-reques...

Regards

albertom
albertom's picture

The log contains only the 200 reply. Can I see also the 500? Is there a flag somewhere to include also the errors?
This is the handler I am using:

<Set name="handler">
        <New id="Handlers" class="org.eclipse.jetty.server.handler.HandlerCollection">
            <Set name="handlers">
                <Array type="org.eclipse.jetty.server.Handler">
                    <Item>
                        <New id="Contexts" class="org.eclipse.jetty.server.handler.ContextHandlerCollection"/>
                    </Item>
                    <Item>
                        <New id="DefaultHandler" class="org.eclipse.jetty.server.handler.DefaultHandler"/>
                    </Item>
                    <Item>
                      <New id="RequestLog" class="org.eclipse.jetty.server.handler.RequestLogHandler">
                          <Set name="requestLog">
                            <New id="RequestLogImpl" class="org.eclipse.jetty.server.NCSARequestLog">
                              <Set name="filename"><Property name="jetty.logs" default="./logs"/>/test-yyyy_mm_dd.request.log</Set>
                              <Set name="filenameDateFormat">yyyy_MM_dd</Set>
                              <Set name="LogTimeZone">CET</Set>
                              <Set name="retainDays">60</Set>
                              <Set name="extended">true</Set>
                              <Set name="append">true</Set>
                            </New>
                          </Set>
                        </New>
                    </Item>
                </Array>
            </Set>
        </New>
    </Set>