<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1017695" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1017695</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/server-side-forms-and-things#comment-1103634</link>
    <description> &lt;p&gt;I&#039;m going to ramble a little bet to try to explain this cgi-bin/php-bin business. Understanding a couple of simple concepts should clarify what is going on server-side.&lt;/p&gt;
&lt;p&gt;The WWW is a network and as such users need to be &quot;logged on&quot; to be able to get to files on the network. Anybody who maintains a site on a remote host is familiar with providing a username and password to access the files on their site. What a lot of people overlook is the fact that a websurfer requesting pages from your site also has to be &quot;logged on&quot; to retrieve a webpage. The web is set up so that websurfers are &quot;logging on&quot; as a special user known as either &quot;nobody&quot; or &quot;anonymous&quot;.&lt;/p&gt;
&lt;p&gt;When you set up a directory on a server you assign permissions to that directory. These permissions cover whether a user can READ, WRITE or EXECUTE (a script) in that directory. Anonymous users generally are only allowed permission to READ files. Any directory can be changed to allow scrpits to EXECUTE in it (the famous chmod 755 command). The name &#039;cgi-bin&#039; for the location of scripts is just a convention and need not be followed (in fact, to foil script-kiddie type of hacks many sites no longer use that name for their directory containing executables).&lt;/p&gt;
&lt;p&gt;What I&#039;m trying to say -- in answer to the original question -- is the orblem isn&#039;t the name of the directory, it is the permissions set for the directory the scripts are running in.&lt;/p&gt;
&lt;p&gt;As an aside, NEVER allow a directory having execute permissions to also have write permission (for the script to write log files, etc.). Alway place the files being written in a different directory.&lt;/p&gt;
 </description>
     <pubDate>Fri, 01 Mar 2002 22:05:15 +0000</pubDate>
 <dc:creator>doublehelix</dc:creator>
 <guid isPermaLink="false">comment 1103634 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/server-side-forms-and-things#comment-1103473</link>
    <description> &lt;p&gt;All depends on the setup of your server. Most webhosts only execute CGI programs from the cgi-bin for security reasons. They create a &#039;sandbox&#039; on the machine, an area where anything you do can not affect or damage the server. Some hosts even map the /cgi-bin/ to another machine for this reason.&lt;/p&gt;
&lt;p&gt;However, you may be able to override this using .htaccess control files, specifying the content-type of specific files in a directory. Or maybe your webhost allows you to place them anywhere on your server, as long as they have specific extensions ie; php, cgi, pl etc.&lt;/p&gt;
 </description>
     <pubDate>Thu, 28 Feb 2002 09:31:03 +0000</pubDate>
 <dc:creator>Wil</dc:creator>
 <guid isPermaLink="false">comment 1103473 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/server-side-forms-and-things#comment-1103465</link>
    <description> &lt;p&gt;you don&#039;t even have to run cgi from the cgi-bin on some servers. I&#039;ve never heard of the php-bin, lol. you can put it in the cgi-bin or run it from somewhere else -- depends entirely on the permissions of the server.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt; S&lt;/p&gt;
 </description>
     <pubDate>Thu, 28 Feb 2002 06:59:48 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1103465 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
