Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running C programs through Apache

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi.
I've compiled a c program which when tested on Red Hat servers, works.

However, my server is Mandrake 7.1. Apache Version: 1.3.14 it was installed as an rpm. I have placed the program in a folder and made a ScriptAlias to that folder. I believe I have the correct permissions set up. However when I try to access the file through apache it asks me if I want to download it or view the code? The program is obviously not been allowed to execute.

Can anybody shed anylight on this subject please.

Thanks, in advance.

Cormac.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top