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 correctly on uHostMe Internet servers?

0
Posted

What I need to do so that my CGI scripts can work correctly on uHostMe Internet servers?

0

A. You need to create an “.htaccess” file in the directory where you want to use your CGI scripts. (If you use Frontpage, be sure there is not an “.htaccess” file in the directory you want to use already because Frontpage uses “.htaccess” to hold its configuration. You just need to add rules into the “.htaccess” file because it is already created. Do not erase the “.htaccess” file in your “web” directory because that will break your Frontpage Extension configuration): Options +FollowSymlinks Options +ExecCGI AddHandler cgi-script cgi pl To test your settings, in a text editor create a simple test program: #!/usr/bin/perl print “Content-type: text/html\n\n”; print “uHostMe Internet Rules!”; After saving it under the name “test.cgi”, upload the file to your server and change the permissions attribute of that file to “755”, by editing the permissions of the file with your FTP program. Then in your browser, go to “http://www.yourdomain.com/test.cgi” and see if your CGI script works.

Related Questions

What is your question?

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

Experts123