I hope the request isn't off-topic, but I need to use some perl cgi through mod_perl in order to speed the answer and keep some session informations.

All it's seems to ne ok but inside the same directory cgi-bin I also have some other cgi written in C and when I try to call them , now I get the error 

==> apache/error_log <==

[Fri Jul 21 12:54:00 2006] [error] Unrecognized character \\x7F at (ev +al 93) line 1.\n

The basic solution is to store the different cgi type on different directory but the customer impose my to have all cgi on the same dir, because there should be called using the same path.

http:://myhost/cgi-bin/test_pl_1 or http:://myhost/cgi-bin/test_exe_2

I'm looking for a way to have both cgi perl and cgi exe under the same directory.

Should someone give me some suggestions ?

thanks, Enzo

20060724 Janitored by Corion: Added code tags, as per Writeup Formatting Tips


In reply to mod_perl: looking for a way to have both cgi perl and cgi exe under the same by earlati2

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.