4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 Trouble with Apache
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
OgreINC
Junior WebHelper
Junior WebHelper


Joined: 07 Aug 2003
Posts: 15

PostPosted: Fri Aug 08, 2003 1:34 pm (21 years, 5 months ago) Reply with QuoteBack to Top

Its my first time with apache, and i'm running it off of my Win XP machine and for some reason it won't serve up my html documents. My Pearl is working fine, but for some reason every time i try to load purple.html, it gives me error 500. Anyone want to help me with this one?

My HTML code is:

<HTML>
<HEAD>
<META HTTP-EQUIV="Refresh" CONTENT="86400; URL=index2.html">
<TITLE>www.purple.com</TITLE>
</HEAD>
<BODY BGCOLOR="#DD00FF">

<P></P>
</BODY>
</HTML>


And my error log reads:


[Fri Aug 08 09:18:24 2003] [error] [client ***.***.***.***] C:/Program Files/Apache Group/Apache2/htdocs/cgi-bin/purple.html is not executable; ensure interpreted scripts have "#!" first line
[Fri Aug 08 09:18:24 2003] [error] [client ***.***.***.***] (9)Bad file descriptor: don't know how to spawn child process: C:/Program Files/Apache Group/Apache2/htdocs/cgi-bin/purple.html
OfflineView User's ProfileFind all posts by OgreINCSend Personal MessageAOL Instant Messenger
jayant
Team Member



Joined: 07 Jan 2002
Posts: 262
Location: New Delhi, India

PostPosted: Fri Aug 08, 2003 2:55 pm (21 years, 5 months ago) Reply with QuoteBack to Top

solution 1:- keep is out of cgi-bin directory. all files in cgi-bin are supposed to be as executables.

solution 2:- edit httpd.conf . see the apache manual for details

________________________________
Jayant Kumar
Member of the 4WebHelp Team
Nibble Guru - Computing Queries Demystified
GZip/ Page Compression Test
OfflineView User's ProfileFind all posts by jayantSend Personal MessageVisit Poster's WebsiteYahoo MessengerMSN Messenger
OgreINC
Junior WebHelper
Junior WebHelper


Joined: 07 Aug 2003
Posts: 15

PostPosted: Wed Aug 20, 2003 1:21 pm (21 years, 4 months ago) Reply with QuoteBack to Top

good call with the cgi-bin.
i would have never thought of that
OfflineView User's ProfileFind all posts by OgreINCSend Personal MessageAOL Instant Messenger
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot 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.


Page generation time: 0.175649 seconds :: 17 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme