<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックBusybox httpd: error 501 on POST request and cgi not executing on yocto linux-3.10.53</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Busybox-httpd-error-501-on-POST-request-and-cgi-not-executing-on/m-p/397854#M58428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 1em;"&gt;Hello everyone,&lt;/P&gt;&lt;P style="margin-bottom: 1em;"&gt;I'm trying to set-up a lightweight web-server on a custom board based on an IMX6Q processor with linux 3.10.53 as OS. I've built the OS using the Yocto software.&lt;/P&gt;&lt;P style="margin-bottom: 1em;"&gt;I can see the html pages hosted on my board through the browser, though whenever I send an HTTP POST request I get as response the error "501 Not Implemented The requested method is not recognized".&lt;/P&gt;&lt;P style="margin-bottom: 1em;"&gt;Also when I send an HTTP GET request, the browser downloads the executable instead of running it. All the executables (that, as a test, only print plain strings in html fashion; source files are written in C code) are placed under the "cgi-bin" directory of the web-server home directory. I made sure to have changed their owner and permissions and, in fact, I can run them just fine from the board terminal.&lt;/P&gt;&lt;P style="margin-bottom: 1em;"&gt;Thanks for your help&lt;/P&gt;&lt;P style="margin-bottom: 1em;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 1em;"&gt;&lt;SPAN style="color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;edit - Found the culprit: the httpd service build by busybox in the yocto software doesn't enable the cgi by default. I had to manually enable it, by using "bitbake busybox -c menuconfig" and checking the flag for cgi support in the "networking utilities" menu&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Oct 2015 10:32:57 GMT</pubDate>
    <dc:creator>justthat1</dc:creator>
    <dc:date>2015-10-15T10:32:57Z</dc:date>
    <item>
      <title>Busybox httpd: error 501 on POST request and cgi not executing on yocto linux-3.10.53</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Busybox-httpd-error-501-on-POST-request-and-cgi-not-executing-on/m-p/397854#M58428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 1em;"&gt;Hello everyone,&lt;/P&gt;&lt;P style="margin-bottom: 1em;"&gt;I'm trying to set-up a lightweight web-server on a custom board based on an IMX6Q processor with linux 3.10.53 as OS. I've built the OS using the Yocto software.&lt;/P&gt;&lt;P style="margin-bottom: 1em;"&gt;I can see the html pages hosted on my board through the browser, though whenever I send an HTTP POST request I get as response the error "501 Not Implemented The requested method is not recognized".&lt;/P&gt;&lt;P style="margin-bottom: 1em;"&gt;Also when I send an HTTP GET request, the browser downloads the executable instead of running it. All the executables (that, as a test, only print plain strings in html fashion; source files are written in C code) are placed under the "cgi-bin" directory of the web-server home directory. I made sure to have changed their owner and permissions and, in fact, I can run them just fine from the board terminal.&lt;/P&gt;&lt;P style="margin-bottom: 1em;"&gt;Thanks for your help&lt;/P&gt;&lt;P style="margin-bottom: 1em;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 1em;"&gt;&lt;SPAN style="color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;edit - Found the culprit: the httpd service build by busybox in the yocto software doesn't enable the cgi by default. I had to manually enable it, by using "bitbake busybox -c menuconfig" and checking the flag for cgi support in the "networking utilities" menu&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 10:32:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Busybox-httpd-error-501-on-POST-request-and-cgi-not-executing-on/m-p/397854#M58428</guid>
      <dc:creator>justthat1</dc:creator>
      <dc:date>2015-10-15T10:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Busybox httpd: error 501 on POST request and cgi not executing on yocto linux-3.10.53</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Busybox-httpd-error-501-on-POST-request-and-cgi-not-executing-on/m-p/397855#M58429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px;"&gt;Found the culprit: the httpd service build by busybox in the yocto software doesn't enable the cgi by default. I had to manually enable it, by using "bitbake busybox -c menuconfig" and checking the flag for cgi support in the "networking utilities" menu&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 12:03:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Busybox-httpd-error-501-on-POST-request-and-cgi-not-executing-on/m-p/397855#M58429</guid>
      <dc:creator>justthat1</dc:creator>
      <dc:date>2015-11-11T12:03:12Z</dc:date>
    </item>
  </channel>
</rss>

