Forbidden Message, when accessing .pl files from Java Webserver

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Murari

    Forbidden Message, when accessing .pl files from Java Webserver

    Hi Experts,

    This is the form I am using:

    <form name="getsometh ing" method="GET"
    action="http://myip:8080/cgi-bin/do.pl" TARGET="">

    <INPUT type="button" name="SUBMIT" value="CLICK ME"
    onClick="doStuf f();"
    <INPUT type="hidden" name="someinfo" value="test">


    </form>

    When I run it I get : 403 Forbidden

    When I change action="http://myip/somedir/cgi-bin/do.pl" then page
    cannot be dispalyed.

    I am really tired of this. Please help me to resolve the issue.
    mailme your suggestions at : kassety_vamshi@ yahoo.com
  • Jürgen Exner

    #2
    Re: Forbidden Message, when accessing .pl files from Java Webserver

    Murari wrote:[color=blue]
    > This is the form I am using:
    >
    > <form name="getsometh ing" method="GET"
    > action="http://myip:8080/cgi-bin/do.pl" TARGET="">
    > <INPUT type="button" name="SUBMIT" value="CLICK ME"
    > onClick="doStuf f();"
    > <INPUT type="hidden" name="someinfo" value="test">
    > </form>[/color]

    I can't help it but hat doesn't look like Perl code to me....
    [color=blue]
    > When I run it I get : 403 Forbidden
    > When I change action="http://myip/somedir/cgi-bin/do.pl" then page
    > cannot be dispalyed.[/color]

    You may want to ask in NG that actually deals with CGI or JavaScript or
    DHTML or whatever the code above is.

    jue


    Comment

    • Kodeguru

      #3
      Re: Forbidden Message, when accessing .pl files from Java Webserver

      Murari wrote:
      [color=blue]
      > Hi Experts,
      >
      > This is the form I am using:
      >
      > <form name="getsometh ing" method="GET"
      > action="http://myip:8080/cgi-bin/do.pl" TARGET="">
      >
      > <INPUT type="button" name="SUBMIT" value="CLICK ME"
      > onClick="doStuf f();"
      > <INPUT type="hidden" name="someinfo" value="test">[/color]

      1) Check that the script is executable

      and 2) you should probably ask this in the webserver ng.


      --
      Michael O'Malley Jr.
      President
      Pillar Open Source Technologies, LLC.

      Comment

      • GIMME

        #4
        Re: Forbidden Message, when accessing .pl files from Java Webserver

        1. Confirm that you can run perl cgi on your server - out
        of the box perl cgis are often disabled.

        Then try

        2. changing GET to POST
        3. changing type="button" name="SUBMIT" to type=submit value="Click Me"

        PS. If you're tired of it. Do something else. No one cares if you tired
        or not.


        kassety_vamshi@ yahoo.com (Murari) wrote in message news:<40142f90. 0404011314.6feb 287f@posting.go ogle.com>...[color=blue]
        > Hi Experts,
        >
        > This is the form I am using:
        >
        > <form name="getsometh ing" method="GET"
        > action="http://myip:8080/cgi-bin/do.pl" TARGET="">
        >
        > <INPUT type="button" name="SUBMIT" value="CLICK ME"
        > onClick="doStuf f();"
        > <INPUT type="hidden" name="someinfo" value="test">
        >
        >
        > </form>
        >
        > When I run it I get : 403 Forbidden
        >
        > When I change action="http://myip/somedir/cgi-bin/do.pl" then page
        > cannot be dispalyed.
        >
        > I am really tired of this. Please help me to resolve the issue.
        > mailme your suggestions at : kassety_vamshi@ yahoo.com[/color]

        Comment

        Working...