#1 (permalink)  
Old 04-29-2003, 08:02 PM
Registered User
 
Join Date: Mar 2003
Posts: 32
typer
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 ^^
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2004, 05:30 PM
Registered User
 
Join Date: Feb 2004
Location: india
Posts: 31
d4rkl0rd
Thumbs down oops no idea

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-02-2004, 01:09 AM
Registered User
 
Join Date: Mar 2004
Posts: 204
BrightAdmin
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,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:20 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc