Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    2

    Default Using Forwarders to a .cgi script

    How do you execute a .cgi file in your forwarders?

    for php it was something like:

    | php? /home/user/public_html/file.php

    Thats wrong, I know. But what I need is the one that does that for .cgi.

    Does anyone know?

    I need to use the Forwarders to send to:

    /home/user/public_html/file.cgi

    Any help would be greatly appreciated

  2. #2
    Member dave9000's Avatar
    Join Date
    Apr 2003
    Location
    arkansas
    Posts
    891
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    |/home/username/public_html/cgi-bin/ticket/file.cgi

    We use this entered into the mail forwarder section of cpanel and it works fine

    Not for sure if it matters or not but we pipe into the cgi-bin directory, Outside of there it may or may not work hadn't tried it
    Dave Browning
    Intersite Technologies
    Greenbrier Ar
    dave@isitetech.com

  3. #3
    Registered User
    Join Date
    Apr 2006
    Posts
    2

    Default

    That worked. Thanks

  4. #4
    Member dave9000's Avatar
    Join Date
    Apr 2003
    Location
    arkansas
    Posts
    891
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    your welcome
    Dave Browning
    Intersite Technologies
    Greenbrier Ar
    dave@isitetech.com

Similar Threads & Tags
Similar threads

  1. How can a user run a .cgi script outside the cgi-bin?
    By BianchiDude in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-24-2009, 09:16 AM
  2. Permanture end of script: /usr/local/cpanel/cgi-sys/redirect.cgi
    By esupport.org.ua in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-08-2005, 12:22 PM
  3. Replies: 0
    Last Post: 02-14-2005, 09:49 PM
  4. Premature end of script headers: /usr/local/cpanel/cgi-sys/whmredirect.cgi
    By yeohbaby in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 01-14-2005, 09:20 PM
  5. script: helpdesk.cgi or realhelpdesk.cgi
    By Drake in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-31-2001, 09:39 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube