On Tue, 20 Apr 2004, Sneha Thakkar wrote:

> Group,
> 
> I want to setup a web server and I am using netconf to
> configure it.
> 
> I could configure it so that http://localhost fetches
> /var/www/html/index.html. 
> I now want to configure it so that
> http://localhost/cgi-bin/file.cgi *executes*
> /var/www/html/file.cgi..I get a "403 Forbidden" error.

put your file.cgi under /var/www/cgi-bin
you are not supposed to put executable files in html. that creates a 
possible big hole in your system. still if you want go to the http.conf 
and find the /cgi-bin/ alias. under that make the directory point to your 
html.

-hizibiz


> I have given read, write & execute permissions to all
> for the relevant directories and files. And in the
> process of fixing this problem, badly messed up the
> .httpdconf file
> 
> Can anyone provide me with a working .httpdconf
> file..(and whatever else is needed) which allows
> executing scripts in a particular directory?
> 
> 
> Regards
> Sneha.
> 
> 
> 
>       
>               
> __________________________________
> Do you Yahoo!?
> Yahoo! Photos: High-quality 4x6 digital prints for 25�
> http://photos.yahoo.com/ph/print_splash
> 
> --
> To unsubscribe, send mail to [EMAIL PROTECTED] with the body
> "unsubscribe ilug-cal" and an empty subject line.
> FAQ: http://www.ilug-cal.org/node.php?id=3
> 


--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/node.php?id=3

Reply via email to