this script I've tried to use on my debian system: .. <!--#exec cgi="/cgi-bin/hello_world.pl" --> .. but I get no output. CGI Scripte: yes Standard CGIs: yes SSI: yes Suexec: yes Why I don't get any output? tom
Did you place the CGI file in the cgi-bin directory and make it executable ( Code: chmod 755 hello_world.pl )? Do you use suExec?
yes yes, if I deactivate suExec it works. How do I get suExec and cgi working? Or is there an another way to use two php versions like php4 and php5 together? tom
Ah, good to know... Please post the output of Code: ls -la /path/to/hello_world.pl suExec has nothing to do with PHP (that is, if you run PHP as mod_php in your Apache which is the normal way).
sarge01:~# ls -al /home/www/web4/cgi-bin/hello_world.pl -rwxr-xr-x 1 web4_admin web4 379 2006-05-03 23:19 /home/www/web4/cgi-bin/hello_world.pl I've found that hint from the perfect setup infos: Later during the installation you are asked if the default directory /home/www should be the directory where ISPConfig will create websites in. Answer n and enter /var/www as the home directory for websites. http://www.howtoforge.com/perfect_setup_debian_sarge_p5 So I've not choosen /var/www. that seems to be the reason. Right? But how can I change it now? I now that was a new question which asked: Is there another way to get two PHP versions running on one apache without using cgi features? tom
Yes. http://www.howtoforge.com/forums/showthread.php?t=4059&highlight=/home/www+/var/www+suexec http://www.howtoforge.com/forums/showthread.php?t=3942&highlight=/home/www+/var/www+suexec No. You must run one PHP as CGI and the other as Apache module.
What is the reasen that the installscript does not use /var/www as default path? Are there other problems if I use /var/www for suexec? tom
Ok, many many thanks for your help again How many houres you are answering questions in this form per day It seem to me that you dont need any sleep anymore. What is your trick? tom
Three to five hours (which is way too much... ). I don't work anymore. I only answer questions in the forum...