create cgi-bin


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers create cgi-bin
# 1  
Old 03-27-2012
create cgi-bin

Hello anyone,

I'm a PHP programmer that, through work has to be a server administrator. We have a dedicated server at godaddy. I just found this forum but probably could have asked a thousand questions that I've already figured out.

I tried finding anything online and would think this would be pretty easy to find, but I can't seem to find anything about it. I have a script written in PHP that I can probably make in C. All it does is write to a database and then spit out some javascript. I have already found and compiled a script that talks to mysql and that works. Here's the thing. I've learned to run that from http, I have to put it in a cgi-bin.

I don't have a cgi-bin and would like to create one. Do you know how to do this?

Thanks!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to convert my /bin/sh script with cgi and html to run it on browser!??

Hello, I want to run this script on my CentOS 6 via browser : ________________________________________________________________________________________________ #!/bin/sh echo Username? read MY_NAME echo Provisional file name? read MY_FILE echo File NAME you want to save? read MY_FILE2... (16 Replies)
Discussion started by: juta2020
16 Replies

2. Shell Programming and Scripting

Unable to create spreadsheet in cgi script

hi folks, I am trying to download xlsx from cgi page in browser but not sure where I made a mistake. the cgi script contains the code for creating xlsx and just by clicking on the image I should be able to #!/usr/bin/perl -w use Excel::Writer::XLSX; use DBI; use DBD::mysql; use CGI;... (1 Reply)
Discussion started by: scriptscript
1 Replies

3. Shell Programming and Scripting

Perl cgi pages out of cgi-bin folder in WINDOWS

Hi team, I have a typical problem with cgi pages in apache webserver in WINDOWS I am able to execute(display) the pages that are saved in cgi-bin folder. But I am not able to execute the pages stored in htdocs or other folder other than cgi-bin folder. Could anyone please let me know how... (1 Reply)
Discussion started by: scriptscript
1 Replies

4. Shell Programming and Scripting

Can't create file in CGI Script

Hi I have some simple script within the context of a cgi script that create a file to write to. If I run the script from the command line as root the file is created with no issue. However when I run the script from a web page with the apache account, it dies. The code lines are: sub... (3 Replies)
Discussion started by: larryjmoon
3 Replies

5. Shell Programming and Scripting

Create download button using perl CGI

Hi, I want to insert in a page a .html button that - once it is clicked - opens a save file dialog box by using perl CGI . I know that to create a link to do that I've done : print $cgi->p ( { -class => 'linc' },);I want to do something similar for a download button (0 Replies)
Discussion started by: black_fender
0 Replies

6. Shell Programming and Scripting

Apache/CGI Bin Accessing mounted SMB share

Hey Guys, I need to copy some files from my Apache server to SMB share ... copy $file,"/Volumes/v1/x/test/$datestamp$name$suffix" Unfortunately this command when executed from Apache/cgi-bin is not able to access mounted volumes .. is there anything that can be done about that ... Can... (1 Reply)
Discussion started by: NDxiak
1 Replies

7. Shell Programming and Scripting

problem for CGI create Cookie!!!!

Hi Everyone, I am facing the problem to create the cookie in CGI (bash script). Is it possible can create in cgi? or javascript better? Anyone got the sample to create the cookie in cgi(bash script)? Just the login will do ->> USERNAME and PASSWORD after create how to store into the... (2 Replies)
Discussion started by: ryanW
2 Replies

8. Shell Programming and Scripting

create a new directory from cgi script

hello. i hav accepted name of directory from user through a form.now i need to create a directory under cgi-bin of that name.I am not able to do so.n help is required (12 Replies)
Discussion started by: raksha.s
12 Replies

9. Solaris

apache ErrorDocument 400 /cgi-bin/400.cgi

Hi All, Sorry if the question is trivial for you but, I am new to Apache (2.0.63) and am trying to figure out how to display my 400.cgi. Here is what I have in httpd.conf servername testing DocumentRoot "/usr/local/apache2/htdocs" ErrorDocument 400 /cgi-bin/badrequest-400.cgi Here is... (0 Replies)
Discussion started by: afadaghi
0 Replies

10. Shell Programming and Scripting

CSH CGI-BIN question ?

Hi, 1. How to Write csh CGI-BIN script which return a web page which show the environment of the executed script ? 2. How do we read command line on csh and ksh ? Thank's (2 Replies)
Discussion started by: 7eleven
2 Replies
Login or Register to Ask a Question
ARMAGETRONAD-DEDICATED(6)					   Games Manual 					 ARMAGETRONAD-DEDICATED(6)

NAME
armagetronad-dedicated - an Armagetron Advanced dedicated game server SYNOPSIS
/etc/init.d/armagetronad-dedicated start|stop|restart|force-reload|status armagetronad-dedicated [-h, --help] [-v, --version] [--doc] [--fastforward] [--benchmark] [--record] [--playback] DESCRIPTION
The Armagetron Advanced dedicated server runs from an initscript -- to enable running it on boot, edit /etc/default/armagetronad-dedicated. The server program will read default settings from /etc/armagetronad/settings_dedicated.cfg. Modifications and custom server settings should be implemented in the file /etc/armagetronad/settings_custom.cfg. To edit configuration on-the-fly or make time-sensitive temporary changes, it's best to log onto the server from the armagetronad client and log on as an administrator (using the password set in the server configuration). Console input is not available when running the server as a daemon. Before each round is started, the file /etc/armagetronad/everytime.cfg is read; it may be useful to use this for things like randomly changing maps or other quickly changing settings. OPTIONS
Note: Only options that are relevant for invoking armagetron-dedicated via the command line (and not the initscript) are documented here. See armagetronad-dedicated --help for a complete reference. -h, --help Show help message. -v, --version Print version number. --doc Print documentation for all console commands. These are also configuration settings for config files. --fastforward TIME Lets time run very fast until the given time is reached. --benchmark Renders frames as they were recorded. --record FILENAME Creates a DEBUG recording while running. --playback FILENAME Plays back a DEBUG recording. FILES
/etc/armagetronad/settings_dedicated.cfg SEE ALSO
armagetronad(6) Armagetron Advanced is documented fully by the provided HTML docs, found under /usr/share/doc/armagetronad-common/html/. A thorough guide to running a server can be found on the Armagetron Advanced wiki: http:wiki.armagetronad.netindex.phpServer_Administra- tion_Guide and: http:wiki.armagetronad.netindex.phpAdvanced_Server_Administration_Guide AUTHOR
Armagetron Advanced was written by Manuel Moos <z-man@users.sourceforge.net> and the Armagetron Advanced development team. This manual page was adapted from the original HTML version by Marcelo E. Magallon <mmagallo@debian.org> (and later Christine Spang <spang@mit.edu>), for the Debian GNU/Linux system (but may be used by others). February 08, 2007 ARMAGETRONAD-DEDICATED(6)