[pm-h] Perl Modules at HG

Mike Flannigan mikeflan at att.net
Mon Dec 3 07:59:38 PST 2018


Thanks so much.

Actually we figured out yesterday that this is
a 'Premature end of script headers' problem:
https://www.liquidweb.com/kb/apache-error-premature-end-of-script-headers/

So files placed in the cgi-bin folder (even
text or gif files) cannot be accessed with
a browser.  Even though the cgi files in
those folders can be run.  So accent10x10.GIF
is in the cgi-bin folder, but the program does
not see it.

Even 2nd tier support doesn't have access to
the httpd.conf file, so the incident is being
bumped up further at HG.

Interestingly, if you create any other folder
(i.e. cgi-bin2) and put the cgi files in there,
they run fine.

That "Persist Logs" technique is very useful.
Thanks for informing me of that.


Mike



On 12/2/2018 10:16 AM, Mev412 wrote:
> Mike,
>
> Try changing
>
> <img src="accent10x10.GIF" border="0">
>
> to
>
> <img src="/accent10x10.GIF" border="0">
>
> If you leave off the / at the beginning, the path will be relative 
> from the current url, which turns into /cgi-bin/accent10x10.GIF (which 
> does not exist).
>
> The way I discovered the redirect issue was using the Browser's 
> network tab. This tab shows all requests to the server, whether its to 
> load HTML, AJAX, javascript, css, etc. I prefer Firefox when debugging 
> w/ the network tab because it does a better job at showing when 
> redirects take place (the original request will show a 301 status and 
> a new request will show up), and it also does better at preserving 
> form data after redirects.
>
> 1) Open firefox
> 2) Navigate to your page
> 3) Right click somewhere on page and click "Inspect Element"
> 4) Click the "Network" tab
> 5) Check "Persist Logs"
> 6) Submit form or reload page to see network requests populate
> 7) Select network request to view more details such as url, form data, 
> headers, response, etc.
>
> Hope this helps. I attached a screenshot to show an example.
>
> Best Regards,
> Christopher Mevissen
>


More information about the Houston mailing list