Question
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?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×