Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What I need to do so that my CGI scripts can work at Astrahosting servers?

0
Posted

What I need to do so that my CGI scripts can work at Astrahosting servers?

0

First of all you need to create .htaccess file in dir from which you want to use your CGI scripts (If you want that dir be mainwebsite_html you just need to add rules into file because it is already created. Do not erase your .htaccess file in your mainwebsite_html dir because that will brake your Frontpage Extensions configuration): Options +FollowSymlinks Options +ExecCGI AddHandler cgi-script cgi pl After that in editor create a simple test program: #!/usr/bin/perl print “Content-type: text/html\n\n”; print “Astrahosting Rules”; After that save it under the name test.cgi change the attribute of that file to 755 that is, do a command chmod 755 test.cgi. Than go to http://www.yourdomain.com/test.cgi and check does your CGI script works .

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.