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

problem with cgi

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Enabling one directory only for 1 IP-Adress  
Author Message
lcaous

External


Since: Aug 25, 2003
Posts: 1



(Msg. 1) Posted: Mon Aug 25, 2003 9:26 pm
Post subject: problem with cgi
Archived from groups: alt>apache>configuration (more info?)

Hello,

I would like to test my cgi-scripts at the apache server but it doesn't work
properly instead of the result of the cgg-sript I get a message if I want to
download the file. Is there an easy way to solve this problem. (it's just
for testing the script, nothing else).

Thank you!

 >> Stay informed about: problem with cgi 
Back to top
Login to vote
no_mail

External


Since: Jul 15, 2003
Posts: 26



(Msg. 2) Posted: Mon Aug 25, 2003 11:14 pm
Post subject: Re: problem with cgi [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

LC wrote...
 > Hello,
 >
 > I would like to test my cgi-scripts at the apache server but it doesn't work
 > properly instead of the result of the cgg-sript I get a message if I want to
 > download the file. Is there an easy way to solve this problem. (it's just
 > for testing the script, nothing else).
 >
 > Thank you!
 >
 >
 >
In http.conf use a ScriptAlias line for the directory where you keep the
cgi scripts. Like:
ScriptAlias /cgi-bin/ "/home/user/www/test/cgi-bin/"

Another way is to use:
Options +ExecCGI
in the directory where you keep the cgi scripts.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: problem with cgi 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
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/" an...

.htaccess problem - Hi all, First of all, sorry for the long story, but I hope it will make my problem clear and leaves as little questions unanswered as possible. I'm experiencing a problem with .htaccess that seems to be quite common. Unfortunately, after spending hours...

.htaccess problem - hello, I have disabled directory browsing for all folders on my server and written a .htaccess allowing it for one folder. I would like to know what to put in a .htaccess file so that full access to all directories is enabled for only two IP addresses. ...

Urgent problem. - hello. I moved Apache my intranet server to Solaris and i changed DNS alias to reach it. Problem is this: if I try to connecto using canonical name i can conenct, if I try using my alias, server says: You don't have permission to access to this server...

Php Include Problem - I have a few php scripts which perform various database queries. Originally I had them all in the same directory which could be viewed through my apache web server via http://localhost/admin/. I wanted a couple of the php scripts to be accessable on..
   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 ]