httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Warron French" <wfre...@xtria.com>
Subject RE: [users@httpd] CGI scripts
Date Tue, 14 Dec 2004 21:09:46 GMT
Sean,

I have added AddHandler and AddType lines to my httpd.conf file but still have not been able
to get my cgi scripts working on my development server.  If I execute them at my bash shell
prompt the HTML code shows up.

If I go into my browser and access that very same cgi script... nothing.

I looked in the error_log file and access_log file and found no reference to the CGI scripts
I tried to access.  Any ideas, I think that's just plain wacky!
	

Thanks in advance,

Merry Christmas & Happy New Year!
Warron French
Sr. Network Engineer
Xtria, LLC
8045 Leesburg Pike #400
Vienna, VA 22182
Desk: 703-821-6110
Main: 703-821-6000
Fax:  703-827-0374


-----Original Message-----
From: Warron French 
Sent: Thursday, December 09, 2004 12:48 PM
To: users@httpd.apache.org
Subject: RE: [users@httpd] CGI scripts


Sean thanks for the follow-up, I am probably going to go onsite to the server tomorrow.


Merry Christmas & Happy New Year!
Warron French
Sr. Network Engineer
Xtria, LLC



-----Original Message-----
From: Sean T Allen [mailto:sean@usaherbals.com]
Sent: Wednesday, December 08, 2004 12:21 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] CGI scripts


What is the filepath for the script on your production machine?
What is the ScriptAlias in the production machine's httpd.conf?


Warron French wrote:

>Why would I need to do that if I didn't make any adjustments on my development server.
 The ScriptAlias is:
>
>ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"  but my development site's cgi scripts are not
anywhere near that directory.
>
>
>
>Merry Christmas & Happy New Year!
>Warron French
>Sr. Network Engineer
>Xtria, LLC
>
>-----Original Message-----
>From: Boyle Owen [mailto:Owen.Boyle@swx.com]
>Sent: Wednesday, December 08, 2004 11:39 AM
>To: users@httpd.apache.org
>Subject: RE: [users@httpd] CGI scripts
>
>
>  
>
>>-----Original Message-----
>>From: Warron French [mailto:wfrench@xtria.com]
>>Sent: Mittwoch, 8. Dezember 2004 17:35
>>To: Users Apache (E-mail)
>>Subject: [users@httpd] CGI scripts
>>
>>
>>Hello all,
>>
>>I have 2 servers, let's just label them as ti-dev (for 
>>development) and tinet (the production server).  Both are 
>>Running Linux, however the production Server is running RH ES 
>>Linux 3.0 and the development box is running RH 9.0.  Both 
>>have the CGI RPM installed.
>>
>>The production server called tinet is running by way of the 
>>RPM perl-CGI-2.81-88.7.i386.rpm and the development server 
>>(ti-dev) is running with perl-CGI-2.81-88.3.i386.rpm.
>>
>>Tinet is running Apache-2.0.52, and ti-dev is running Apache-2.0.40.
>>
>>My problem:
>>
>>ON ti-dev the following occurs with CGI scripts:
>>at a unix shell:    the cgi/perl script produces the HTML coding.
>>in the web browser:  the cgi/perl script produces the HTML 
>>page as we expect it to look like.
>>
>>ON Tinet however, the following occurs with CGI scripts:
>>at a unix shell:    the cgi/perl script produces the HTML coding.
>>in the web browser:   the actual perl script code shows 
>>within the browser.
>>
>>
>>
>>Is there a feature or "statement" I forgot to make on the 
>>Tinet server that would explain this difference?
>>    
>>
>
>Of course. You haven't told apache that requests leading to this
>directory should cause the file to be executed rather than printed. See
>"ScriptAlias", eg:
>
>ScriptAlias /cgi /path/to/your/cgi/dir
>
>And read: http://httpd.apache.org/docs-2.0/howto/cgi.html
>
>Rgds,
>Owen Boyle
>Disclaimer: Any disclaimer attached to this message may be ignored. 
>  
>
>>Thank you all for your assistance in advance, and have a ...
>>
>>
>>Merry Christmas & Happy New Year!
>>Warron French
>>Sr. Network Engineer
>>Xtria, LLC
>>
>>
>>---------------------------------------------------------------------
>>The official User-To-User support forum of the Apache HTTP 
>>Server Project.
>>See <URL:http://httpd.apache.org/userslist.html> for more info.
>>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>>    
>>
>
>This message is for the named person's use only. It may contain
>confidential, proprietary or legally privileged information. No
>confidentiality or privilege is waived or lost by any mistransmission.
>If you receive this message in error, please notify the sender urgently
>and then immediately delete the message and any copies of it from your
>system. Please also immediately destroy any hardcopies of the message.
>You must not, directly or indirectly, use, disclose, distribute, print,
>or copy any part of this message if you are not the intended recipient.
>The sender's company reserves the right to monitor all e-mail
>communications through their networks. Any views expressed in this
>message are those of the individual sender, except where the message
>states otherwise and the sender is authorised to state them to be the
>views of the sender's company. 
>
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
>  
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message