Web BLAST Apache configuration (Error 403)

Discussion in 'Apache' started by Dimitrius Santiago, Oct 8, 2013.

  1. #1
    Hi,

    I'm trying to run Web Blast 2.2.28+ locally trough Easy PHP Dev Server 13.1 (Apache 2.2, Windows 7),
    but when I click on search it shows ERROR 403 when I open it within my site or the following message
    appears (blast.cgi content), when I use directly the blast.html page:

    #!/bin/csh -f
      #
      # $Id: blast.cgi,v 1.1 2002/08/06 19:03:51 dondosha Exp $
      #
      echo "Content-type: text/html"
      echo ""
      #setenv DEBUG_COMMAND_LINE TRUE
      setenv BLASTDB db
      ./blast.REAL
    Code (markup):
    Apache was installed in
    "C:\Program Files (x86)\EasyPHP-DevServer-13.1VC9\binaries\apache\bin" and configured as the following (httpd.conf):

      # Added below to get wwwblast to work
      AddHandler cgi-script .cgi
      <Directory "C:/Program Files (x86)/EasyPHP-DevServer-13.1VC9/data/localweb/original/cgi-bin/">
      AddHandler cgi-script .cgi REAL
      Options Indexes
      Options FollowSymLinks
      Options ExecCGI
      Options Indexes
      Order allow,deny
      Allow from all
      </Directory>
    
    Code (markup):
    and the blast.html file is located in
    "C:\Program Files (x86)\EasyPHP-DevServer-13.1VC9\data\localweb\original\cgi-bin".

    In the Apache Access log I found:

    127.0.0.1 - - [08/Oct/2013:19:40:13 -0300] "GET /original/?area=tools HTTP/1.1" 200 1797
    127.0.0.1 - - [08/Oct/2013:19:44:27 -0300] "POST /original/cgi-bin/blast.cgi HTTP/1.1" 403 1115
    Code (markup):
    and in the Apache Error log:
    [Tue Oct 08 19:44:27.607881 2013] [cgi:error] [pid 6084:tid 1036] [client 127.0.0.1:52298] Options ExecCGI is off in this directory: C:/Program Files (x86)/EasyPHP-DevServer-13.1VC9/data/localweb/original/cgi-bin/blast.cgi, referer: http://127.0.0.1/original/cgi-bin/blast.html
    Code (markup):
    I really don't understand a little of Apache, but doesn't I activate ExecCGI in my httpd.conf ?

    I have been trying all the combinations I could have imagined (changing the path, file name, apache options sequence), but... nothing.
    Can somebody help me?
    I need so bad, I've been trying to make it run since 2012.


    Thank you all and sorry for any language problems.:D
    Dimitrius
     
    Dimitrius Santiago, Oct 8, 2013 IP
  2. aGig

    aGig Well-Known Member

    Messages:
    428
    Likes Received:
    5
    Best Answers:
    1
    Trophy Points:
    118
    #2
    Try adding in the apache vhosts config.

    <Directoy c:\path\cgi-bin>
    Options +ExecCGI
    </Directory>
     
    aGig, Oct 14, 2013 IP
  3. Dimitrius Santiago

    Dimitrius Santiago Greenhorn

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #3
    It didn't work.
     
    Dimitrius Santiago, Oct 14, 2013 IP
  4. kumarwl2013

    kumarwl2013 Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #4
    Hi

    I am trying to access the application externally which was redirecting thru apache in a domain and weblogic in another domain.basically apache and weblogic are in two clouds/domains...I was able to access the application from apache--weblogic..But when I try to access it thru externallly like from my pc..then its going direclty to weblogic server and giving me back the application not redirecting to apache..Please suggest..I am giving apache configuration as...

    Listen 80
    LoadModule weblogic_module modules/mod_wl_22.so

    <Location />
    SetHandler weblogic-handler
    </Location>

    <IfModule mod_weblogic.c>
    WebLogicCluster "DNS of cloud":80........I strongly think I am wrong here..
    Debug ON
    WLLogFile c:/temp/wlproxy.log
    WLTempDir c:/temp
    </IfModule>

    I know that weblogic cluster we will give cluster names and what will be given in place of
    weblogic HOST ...because when I give hostname..I was not able to access the app since its in different cloud/domain.
     
    kumarwl2013, Oct 15, 2013 IP