Microsoft
Software
Hardware
Network
Question : While running cgi/perl scripts the file is opening for download not executing the perl/cgi script
Hi,
I have cgi/perl script while invoking it through html it is downloading, it not executing the cgi/perl script?I am doing a mini search engine?
The html file name is searchengine.html and perl script name search.pl
In the apache error_log file i find the following error message?
find: ./proc/7960/task/7960/fd: Permission denied
find: ./proc/7960/fd: Permission denied
find: ./proc/8303/task/8303/fd: Permission denied
find: ./proc/8303/fd: Permission denied
find: ./.mozilla: Permission denied
find: ./.kde: Permission denied ....
I have
1.placed the search.pl in cgi-bin directory
2.shebang has been written correctly
3.Search.pl have execute permissions
4.and have changed the owner of search.pl to root.
Help required
Code Snippet:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17:
Searchengine
Enter your query here
Open in New Window
Select All
Answer : While running cgi/perl scripts the file is opening for download not executing the perl/cgi script
From the command line do
dos2unix search.pl
Then check it by doing
./search.pl
Random Solutions
having trouble mail enabling security groups in Exchange 2007
Restart mySQL if server load is more then 10
"Content-Type: application/x-unknown " , different response in IE 4.0 & 5.0
SEO Suggestions
Deletion of empty folders
MS Access 2003 Toggling a Subform from Datasheet to Form view
External Wide Screen Monitor Dell notebook on KVM Switch
batch rename
Cannot Manage Certificate Services
Adding 64bit windows Server w/ SQL 2005 Node to 32bit SQL 2005 Windows cluster