1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

cgi-bin directory protection

Discussion in 'Plesk for Linux - 8.x and Older' started by Joelee, Mar 23, 2006.

  1. Joelee

    Joelee Guest

    0
     
    I tried to figure out the httpd.include file in my domain conf file rather than root conf file to protect a directory in my cgi-bin directory, which I want only valid user can use the cgi file, but it didn't work. Does anyone have any idea about how to solve this problem please?
    Thank you in advance.
     
  2. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    Use the Protected Directories function in the domain's control panel - works for me.
     
  3. Joelee

    Joelee Guest

    0
     
    Hi thanks,

    I t seems the control panel only works for httpdocs or httpsdocs directory, but the cgi-bin is outside both directories. Any ideas please?
     
  4. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    Well, I disagree. Once you click the Protected Directories icon, insert "/cgi-bin/directoryname" in the "Directory Name" field and it should work. It has worked for me in about 20 domains.
     
  5. Joelee

    Joelee Guest

    0
     
    Hi thanks,
    I tried all of them of Directory location: Non-SSL, SSL or both, but none was working for me. It was strange. Did I do anything wrong please?
     
Loading...