is there any interfacing between GCC compiler & apache server is possible
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
Ermm... letting web users have access to a compiler is a horrible idea. It could not be easier to compile exploit code and run it.
Now, you can run compiled C/C++ code as a CGI application, so if you mean "can I run C apps via Apache" then the answer is yes.
As david_ross suggested, I would checkout mod_php and mod_perl instead. Between those two you should be able to satisfy any needs, and they're tightly integrated with Apache (via modules) rather than being executed as CGI (which is slow and prone to security issues).
hello ,
actually i am doing a project . in my project there is client server set up. the clients send the C programs to server & clients are using web browser to send the programs & server after receiving the compile comaand from client, the server should be able to invoke the GCC compiler to compile the program. in our case server is apache server. can apache server able to invoke C compiler like GCC for compiling.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.