Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Apache 1.3.23 (Suse Linux8.0): CGI

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  How to configure Apache to work with ISS  
Author Message
user2381

External


Since: Jul 18, 2003
Posts: 2



(Msg. 1) Posted: Fri Jul 18, 2003 9:22 pm
Post subject: Apache 1.3.23 (Suse Linux8.0): CGI
Archived from groups: alt>apache>configuration (more info?)

Hi,
I am very new to Apache. I successfully installed Apache and localhost is
displaying the default page. However my primitive Perl CG Script (Hello
World) copied into /usr/local/httpd/cgi--bin/ invoked Internal Error due to
missconfiguration.

What ist wrong?

Thanks

Chris

 >> Stay informed about: Apache 1.3.23 (Suse Linux8.0): CGI 
Back to top
Login to vote
nospam173

External


Since: Jul 02, 2003
Posts: 52



(Msg. 2) Posted: Fri Jul 18, 2003 9:22 pm
Post subject: Re: Apache 1.3.23 (Suse Linux8.0): CGI [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Fri, 18 Jul 2003 18:22:35 +0200, The Other Guy responded to a post
from "Kreutzfeldt" <phase.hl.TakeThisOut@t-online.de> who wrote in
alt.apache.configuration:

 >Hi,
 >I am very new to Apache. I successfully installed Apache and localhost is
 >displaying the default page. However my primitive Perl CG Script (Hello
 >World) copied into /usr/local/httpd/cgi--bin/ invoked Internal Error due to
 >missconfiguration.
 >
 >What ist wrong?
 >
 >Thanks
 >
 >Chris


Check your error log for any details. This can be a difficult problem
to determine without that info.

The most likely cause is that you have not got the shebang line
pointing to the correct path to the Perl interpreter (i.e., the very
top line in the script -- #!usr/bin/perl or something like that).

Regards,
TOG

--
../configure --prefix=~/zyterion
Not this guy or that guy, The Other Guy.

This spot may contain a satirical comment or comedic source,
and is meant to be funny. If you are easily offended, gullible
or don't have a sense of humour we suggest you read elsewhere.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Apache 1.3.23 (Suse Linux8.0): CGI 
Back to top
Login to vote
zedgama3

External


Since: Jul 14, 2003
Posts: 3



(Msg. 3) Posted: Sat Jul 19, 2003 4:52 am
Post subject: Re: Apache 1.3.23 (Suse Linux8.0): CGI [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Always check your error logs, but the most comon error I've seen is people
not setting the script executable.
Another good tip for CGI is to attempt to execute it in shell, like
`./myPerlScript.pl`, look for any compile/exec errors and that it starts off
with the correct html header scripts.
That will usually solve 97% of most errors.

 >
 > Check your error log for any details. This can be a difficult problem
 > to determine without that info.
 >
 > The most likely cause is that you have not got the shebang line
 > pointing to the correct path to the Perl interpreter (i.e., the very
 > top line in the script -- #!usr/bin/perl or something like that).
 >
 > Regards,
 > TOG
 >
 > --
 > ./configure --prefix=~/zyterion
 > Not this guy or that guy, The Other Guy.
 >
 > This spot may contain a satirical comment or comedic source,
 > and is meant to be funny. If you are easily offended, gullible
 > or don't have a sense of humour we suggest you read elsewhere.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Apache 1.3.23 (Suse Linux8.0): CGI 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Oracle's Apache in 9iAS v2 on SuSE Linux SLES7 - Hi, I've just installed Oracle 9iAS rel 2 on SuSE Linux Enterprise 7. Installation went fine and everything seemed normal, but after a reboot Apache can no longer start. Here is the relavent section of my error log. [Tue Jul 8 14:43:36 2003] [error]...

I got a problem with Apache & PHP. - First off, I'm trying to get PHP working with Apache. I added this line to my httpd.conf: AddType application/x-httpd-php .php and I have set index.php to the default index page. When I go to my test page (index.php) with a little <? print(Date(&quot...

Is Apache redirecting? - I'm using a self compiled copy of Apache 1.3.27 with ApacheSSL 1.48, SunONE ASP 3.6.1 (ChiliASP), and the Frontpage extensions v5. I had a difficult time getting these modules all working together, especially the Frontpage extensions. I have several..

Apache Cluster - Hiya all... Looking for some good how-to's, docs on the proper way to build a website with clustered/load-balanced apache servers. There's a lot of info out there and I'm not sure if one is better than the other. Could anyone recommend "industry....

ssl apache password - Hi ,I've Configured ssl on apache creating my own X509 certificate . my question is that when i reinitiate server it asks me certificate's password . I want to reinitiate server with cron daemon but it not works cause of this password . Any ideas ?...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]