|
|||
|
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 ^^ |
|
|||
|
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,
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|