Truncated output with Apache #6

Closed
opened 2020-10-24 08:15:45 +02:00 by mymedia2 · 0 comments
Contributor

Apache web-servser is unable to transmit images generated by libravatarserv.

Config for reproduce:

<VirtualHost *:80>
  ServerName info.dandelion.mymedia.su
  DocumentRoot /srv/info-site/public_html
  SetEnv LIBRAVATARSERV_DIR /srv/info-site/libravatarserv
  ScriptAlias /avatar /usr/local/lib/cgi-bin/libravatarserv
</VirtualHost>
<Directory /usr/local/lib/cgi-bin>
  AllowOverride None
  Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  Require all granted
</Directory>

Request any valid avatar from the server:

curl -I http://info.dandelion.mymedia.su/avatar/ef393114a257025733fc6e4ba3d09417cbc1ec70045a47ccee70a0f77a1ea39d

Result:

HTTP/1.1 200 OK
Date: Sat, 24 Oct 2020 06:12:46 GMT
Server: Apache/2.4.18 (Ubuntu)
Content-Length: 0
Content-Type: image/jpeg
Apache web-servser is unable to transmit images generated by libravatarserv. Config for reproduce: <VirtualHost *:80> ServerName info.dandelion.mymedia.su DocumentRoot /srv/info-site/public_html SetEnv LIBRAVATARSERV_DIR /srv/info-site/libravatarserv ScriptAlias /avatar /usr/local/lib/cgi-bin/libravatarserv </VirtualHost> <Directory /usr/local/lib/cgi-bin> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Require all granted </Directory> Request any valid avatar from the server: curl -I http://info.dandelion.mymedia.su/avatar/ef393114a257025733fc6e4ba3d09417cbc1ec70045a47ccee70a0f77a1ea39d Result: HTTP/1.1 200 OK Date: Sat, 24 Oct 2020 06:12:46 GMT Server: Apache/2.4.18 (Ubuntu) Content-Length: 0 Content-Type: image/jpeg
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tastytea/libravatarserv#6
No description provided.