Server Configuration Help

Alijah6 days ago

I can't send the location on the port 5222. i am having this in error logs

IP HERE - - [18/Jan/2025:12:55:51 +0800] "&&Z133,865235051452650,000,0,,000101083510,V,0.000000,0.000000,0,0.0,0,0,0,0,515|3|7196|01D8F003,26,00000019,00,00,04E5|018E|0000|0000,1,,,AB" 400 226 "-" "-"

Anton Tananaev6 days ago

I think you have to provide some more context.

Alijah6 days ago

I am using VT200L. Now the VT200L is sending its location to my hostname and the port in the device is 5222. This is my conf file

<VirtualHost *:65000>
    ServerName fb1.somedomainss.net
    ProxyPass / http://192.168.1.8:5222/
    ProxyPassReverse / http://192.168.1.8:5222/

    # Set Content-Type for raw data or specific protocol
    RequestHeader set Content-Type "application/octet-stream"

    # Log files for this VirtualHost
    ErrorLog "/var/log/httpd/fb1-65000-error.log"
    CustomLog "/var/log/httpd/fb1-65000-access.log" combined
</VirtualHost>
192.168.1.8

Now the im having this log

Access Log:

[18/Jan/2025:14:42:26 +0800] "&&:133,865235051452650,000,0,,000101102030,V,0.000000,0.000000,0,0.0,0,0,0,0,515|3|7196|01D8F003,29,00000039,00,00,04EF|0194|0000|0000,1,,,86" 400 226 "-" "-"
Anton Tananaev6 days ago

Startek port doesn't use HTTP protocol, so this makes no sense to me. You probably need to explain what you're trying to do.