Hi all, Thanks for your time in replying to my question. I have found one other way to let apache server see the files without extension as cgi files. I created a .htaccess file in the cgi-bin folder of genome browser and put DefaultType application/x-httpd-cgi into it. I think if anyone has a similar problem, they can try this too.
Once again thanks in providing your ideas. - saigopal On Wed, Apr 7, 2010 at 8:51 AM, Maximilian Haussler <[email protected]>wrote: > Saigopal probably has already figured this out. I've stumbled over the same > problem before. > > The usual tip in apache docs to use AddHandler does not work as the cgis > not not end in CGI. The browser does this differently that todays standards > and ScriptAlias is sometimes not explained in apache help pages. > > The cgis need to be in the scriptAlias directory. I've added this to the > wiki. > > Max > > On Thu, Apr 1, 2010 at 7:50 PM, Hiram Clawson <[email protected]> wrote: > >> This depends upon where you place these CGI binaries. They are probably >> only going to work correctly if you place them in the apache cgi-bin/ >> directory. Are you trying to locate them elsewhere ? >> >> --Hiram >> >> Saigopal Thota wrote: >> > Hi, >> > >> > I am a student at UC Davis. We are trying to setup genome browser for >> the >> > data we have and I successfully created the minimal browser >> installation. >> > But the problem I am facing is that the CGI files (hgGateway etc.) are >> > present without .cgi extensions. Our Apache server is not recognizing >> them >> > as cgi files and not executing them correctly. As a result I see garbage >> > data on the browser. Can you please help me to enable the setting in >> apache >> > to execute any file as cgi, since the UCSC genome browser works without >> any >> > extension, you may have some idea of how that can be done. Thanks for >> your >> > time in advance. >> > >> > Sai >> _______________________________________________ >> Genome maillist - [email protected] >> https://lists.soe.ucsc.edu/mailman/listinfo/genome >> > > _______________________________________________ Genome maillist - [email protected] https://lists.soe.ucsc.edu/mailman/listinfo/genome
