Soumyadeep Nandi wrote:

> Hi Wiggins,
> 
> I wrote a simple script that is sending a request to
> localhost and receiving the response with LWP.
> As I am trying to run the script it is ending up with
> the error " 403 Forbidden ". I am sending the script
> along with this mail bellow.
> 
> I've checked the file permission of file3.cgi and put
> it to "-rwxrwxrwx".

should be chmod 755 not 777 

> Could you please suggest me what and where I am making
> the mistake, and what should I do to overcome the
> error.

Sounds like you might be having a problem with the directory permissions on 
the path leading TO the .cgi. 

chmod 711 /home/$USER
chmod 755 /home/$USER/public_html
chmod 755 /home/$USER/public_html/cgi-bin/ 

 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to