Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    32

    Default about CGI http.conf

    Hi All;

    I have some trouble on giving particular directory to have CGI
    or Include access.

    Here is my httpd.conf:

    <VirtualHost xxx.xxx.xxx.xxx>
    ServerAlias www.domain.com domain.com
    ServerAdmin webmaster@domain.com
    DocumentRoot /home/domain/public_html/php
    BytesLog domlogs/domain.com-bytes_log
    User domain
    Group domain
    ServerName www.domain.com
    CustomLog domlogs/domain.com combined
    Options -ExecCGI -Includes
    ScriptAlias /cgi-bin/ /home/domain /www/php/domain/public_html/cgi-bin/
    </VirtualHost>

    The outcome to view that cgi is permission denial.
    But check the error.log and it still tells me that Options CGI is off.

    How can that be??

    If I allow /home to have CGIExec, of coz; it will work but i think it is insecure...

    Any expert help me here?

    Janice ^^

  2. #2
    Member
    Join Date
    Feb 2004
    Location
    India
    Posts
    39

    Thumbs down oops no idea


  3. #3
    Member
    Join Date
    Mar 2004
    Posts
    204

    Default about CGI http.conf

    Hi Janice,

    You can make CGI option on use the following directive:
    Options +ExecCGI

    Regarding security you can use the Directory option which is used to enclose a group of directives that will apply only to the named directory and sub-directories of that directory.

    <Directory "/home/*/public_html/cgi-bin">
    AllowOverride None
    Options ExecCGI
    Order allow,deny
    Allow from all
    </Directory>

    For more details on Options and Directory directives refer:
    http://httpd.apache.org/docs-2.0/mod/core.html#options
    http://httpd.apache.org/docs-2.0/mod...html#directory

    Regards,

Similar Threads & Tags
Similar threads

  1. How do I edit the http.conf file?
    By everyaa in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-05-2005, 01:22 PM
  2. http conf error?
    By NocTurNalFX in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 06-19-2005, 01:43 PM
  3. redirect.cgi + suexec = HTTP 500
    By MarlboroMan in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 12-29-2004, 05:55 PM
  4. cgi-bin not found from http
    By tiggerific in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 09-23-2004, 03:59 AM
  5. Replies: 1
    Last Post: 08-01-2004, 11:51 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube