cgi problem

This is a discussion on cgi problem within the Apache Web Server forums, part of the Web Server and Related Forums category; Background: 1. Program works on real world paid hosting (linux server). 2. Program works on Windows home testing server.(Omnihttpd) ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-04-2003
WLauman
 
Posts: n/a
Default cgi problem

Background:
1. Program works on real world paid hosting (linux server).
2. Program works on Windows home testing server.(Omnihttpd)

Just Installed Red Hat 8.0 .
Created cgi-bin for main site using..
ScriptAlias /cgi-bin/ "/path/to/my/site/"
and
Directory "/path/to/my/site/cgi-bin">
Allowoverride None
Options +Indexes
Order allow,deny
Allow from all
/Directory>
Program seems to work for the most part with a few exceptions.
Using the perl command "unlink" is not working,
and creating new files is not working.
Im thinking permissions but..
I'm running the program on the red hat box (as root) using the local
address(127.0.0.1).
Chmod 755.

Thanks for any advice
Wayne


  #2 (permalink)  
Old 07-09-2003
Matt Hubbard
 
Posts: n/a
Default Re: cgi problem

You may try the following:
<Directory "/usr/local/apache2/cgi-bin/classads">
AllowOverride None
Options ExecCGI
Order allow,deny
allow from all
AddHandler cgi-script .cgi .pl


"WLauman" <wlauman@email.com> wrote in message
news:be465u021pe@enews4.newsguy.com...
> Background:
> 1. Program works on real world paid hosting (linux server).
> 2. Program works on Windows home testing server.(Omnihttpd)
>
> Just Installed Red Hat 8.0 .
> Created cgi-bin for main site using..
> ScriptAlias /cgi-bin/ "/path/to/my/site/"
> and
> Directory "/path/to/my/site/cgi-bin">
> Allowoverride None
> Options +Indexes
> Order allow,deny
> Allow from all
> /Directory>
> Program seems to work for the most part with a few exceptions.
> Using the perl command "unlink" is not working,
> and creating new files is not working.
> Im thinking permissions but..
> I'm running the program on the red hat box (as root) using the local
> address(127.0.0.1).
> Chmod 755.
>
> Thanks for any advice
> Wayne
>
>



 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:55 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0