IP redirects to folder/index.html not www/html/index.html, cgi-bin from other location
I am using ec2(Ubuntu) for perl program.
- When I call my IP, I want to show the IP/foldername/index.html How to do that- which one is suitable for me? redirect or virtual host. because I'm using Perl and I'm afraid that my settings will conflict with another and next question is
- I want to run my perl script from IP/foldername/cgi-bin/myperl.pl (Now I can only run from /usr/lib/cgi-bin How to configure it?