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.

I noticed that there are no cgi-bin directories in the clients individual directories. Should I create these directories or do I just set the execute bit on any directory for CGI?

0
Posted

I noticed that there are no cgi-bin directories in the clients individual directories. Should I create these directories or do I just set the execute bit on any directory for CGI?

0

You can place CGI executables in any directory, but you must set the executable bit on that directory using the file manager. Unless there is a compelling reason to do otherwise, publishers should put cgi programs in the site’s “bin” directory, which already has the execute bit set. Do not use a directory named “cgi-bin”. It is a reserved directory name for the common cgi-bin directory. The common cgi-bin directory can be used to place programs that any virtual web site can access (read-only).

Related Questions

What is your question?

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

Experts123