This is a discussion on HTML Program cannot open in cgi-bin folder within the Linux software forums, part of the Linux Getting Started category; Dear friends, I want to run some CGI/PERL programs associated with html programs. So I kept HTML program and linked ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
Dear friends,
I want to run some CGI/PERL programs associated with html programs. So I kept HTML program and linked files in /var/www/cgi-bin. The Html program cannot get compiled. But when I kept the same programs in /var/www/html with minor changes in ACTION tab to directoy indicating to cgi-bin it works fine. I opened these programs using Mozilla . I am puzzeled why it is so and tried to find answer for last whole night and simply lost my sleep . Are there any settings in httpd.conf related to this ?? Hope you make me smile again [[/quote] |
| Sponsored Links | ||
|
|
|
|||
|
Dear friends,
I have already tried these two solutions. The file is executable and path is given in httpd file(ScriptAlia .I just want to execute a simple html program stored in cgi-bin file and not perl program.Still it's not working. I can successfully run the same program if kept in html folder. I know , you cannot believe it. But please try on your machine the same and I am waiting for the reply. |
|
|||
|
No it is not possible to run html from cgi-bin.
All scripts in cgi-bin will be processed by mod_cgi's cgi-script handler. Generally you kept all server side script in cgi-bin and execute them from other html file. Other option is to generate html code from script itself |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Script to strip all slack from php, html, js | meowing | Shell scripting | 4 | 05-03-2008 03:37 AM |
| A script for Removing all the files inside a folder and its sub folder | vivekv | Shell scripting | 1 | 10-25-2007 02:44 PM |
| Perl simple html mail | chiku | Coding in General | 3 | 08-17-2007 08:59 PM |
| rsync folder | zafar466 | Shell scripting | 1 | 04-28-2007 04:28 AM |
| HTML variable | nathan86 | Linux software | 3 | 03-23-2005 01:29 PM |