c program cant run in www/cgi-bin
Hello all,
Im new here... I have a problem on gcc... I create a simple c program as below... And copied to /var/www/cgi-bin ... After I compile and try to run.. there is no result.. But when I copy,compile and run from /var or in root.. It was OK... Why it cant run in cgi-bin? does it required any security setting? ============= #include <stdio.h> main() { printf("Hello World\n"); exit(0); } ============= |
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
|
All times are GMT -5. The time now is 05:25 PM. |