Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Sub Redirection issue

Discussion in 'General Discussion' started by icanectc, Apr 30, 2003.

  1. icanectc

    icanectc Well-Known Member

    Mar 10, 2003
    Likes Received:
    Trophy Points:
    Greetings I am trying to get a redirection of a subdomain to work.

    I have a subdomain

    I have a support cgi from perldesk inside

    now their are no main index.html files in helpdesk subdomain I just want it to immediately goto the pdesk.cgi script

    but when I setup the redirectory and type in it does redirect to the pdesk.cgi script

    but it REDIRECTS EVERYTHING if I type in another url like its KB.cgi file it will redirect me back to pdesk.cgi users can't even login because the url will reroute them back to pdesk.cgi main file.

    my question is this a bug or by design??
  2. Faldran

    Faldran Well-Known Member

    May 28, 2002
    Likes Received:
    Trophy Points:
    Try this... Get rid of the redirect.

    Add this line to the .htaccess file in your helpdesk directory.

    DirectoryIndex pdesk.cgi

    And finally, don't put the help desk, in the cgi-bin folder, but put it in your main folder ( /public_html/helpdesk/ ).

    I have done this for a few clients, and it works great.

    Good luck

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice