01-04-2007
I am using Sun one webserver.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey im new to unix!
I am tryin to create a web page in unix and have done it all but when i try and load it it says permission denied!?>
i have chmod a+rx for folder and file to make sure but still permissions wont let me?!
any ideas can anyone do a quick run through of how to make a web page... (4 Replies)
Discussion started by: shashora
4 Replies
2. UNIX for Dummies Questions & Answers
hey uhh this is my first post and i was wondering
how do i make a web page for like a small business or something
anything will help
thanks (3 Replies)
Discussion started by: Neil Peart
3 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
I am new to UNIX and so am struggling a bit on using the right commands.
I am working on a remote UNIX server and i need to load a web page using firefox. I can use the client IP address to access the web page but i am not able to do so because the command i am typing is wrong.
... (1 Reply)
Discussion started by: greg15
1 Replies
4. Web Development
Hello,
I have created a web page on a server using apache and added .htaccess and .htpasswd in the folder for authentification.
I was wondering if there was anyway to tie-in the login for this page with the login used to logon to the server.
i.e. the same login info. is used for both,... (2 Replies)
Discussion started by: WhotheWhat
2 Replies
5. Cybersecurity
Hello,
I have created a web page on a server using apache and added .htaccess and .htpasswd in the folder for authentification.
I was wondering if there was anyway to tie-in the login for this page with the login used to logon to the server.
i.e. the same login info. is used for both, when... (1 Reply)
Discussion started by: WhotheWhat
1 Replies
6. UNIX Desktop Questions & Answers
Is there a way we can get a web page through CLI on a unix machine? Please help! (3 Replies)
Discussion started by: Pouchie1
3 Replies
7. Shell Programming and Scripting
I have a shell script that runs periodic upgrades on machines. I want to print certain echo commands from the shell script onto a webpage. What command in shell should I use for doing this. (1 Reply)
Discussion started by: lassimanji
1 Replies
8. Web Development
Hi,
I have html page in my unix machine(server), which I will open with firefox or mozilla available in unix machine. Firefox or mozilla will be opened using x windows.
Since I have access to unix machien(like other users) and this HTML page is for user having access to Unix machine, I see no... (7 Replies)
Discussion started by: vamanu9
7 Replies
9. Shell Programming and Scripting
Wont let me add the solved tag, say's im over the max. Removing 2 tags did not help.
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
One of my game servers keeps going offline and so I want to... (18 Replies)
Discussion started by: Stuperfied
18 Replies
cgi(5) Programmer's Manual cgi(5)
NAME
cgi - Common Gateway Interface
DESCRIPTION
The Common Gateway Interface is a way to create dynamic web pages. It defines rules for interaction between a program and the web server
while the server talks to the client. There are some ways to use it.
ENVIRONMENT
Normally the webserver sets several environment variables to give some information to the CGI program so it can determine various stuff.
AUTH_TYPE
This reflects the authentification method used to validate a user.
CONTENT_LENGTH
The length of the data in bytes passed to the CGI program through standard input. This is used by the POST method.
CONTENT_TYPE
The MIME type of the query data, such as "text/html", optional.
DOCUMENT_ROOT
This reflects the document root directory of the webserver.
GATEWAY_INTERFACE
Reflects the version of the Common Gateway Interface that the server is using
HTTP_ACCEPT
A comma separated list of MIME type that the client is willing to accept.
HTTP_FROM
The email address of the user issuing the information request. This is not supported by most browsers.
HTTP_REFERER
Reflects the URL from which this CGI program was accessed.
HTTP_USER_AGENT
The name, version and libraries of the browser making the request. This information can be used to determine if the browser is
capable of graphics and is able to display frames and tables.
PATH_INFO
This shows extra information that was passed to the CGI program via command line. Normally it's empty or non-existent.
PATH_TRANSLATED
The translated path on the local filesystem.
QUERY_STRING
This variable refers to additional arguments that were appended to the CGI program - normally with the '?' sign.
REMOTE_ADDR
This refers to the host from which the information request was issued, as IP number.
REMOTE_HOST
This refers to the host from which the information request was issued.
REMOTE_USER
The authenticated name of the user.
REQUEST_METHOD
This refers to the method with which the information request was issued. Normally this is either GET or POST.
SCRIPT_NAME
The virtual name of the script being executed.
SERVER_NAME
The server's hostname or IP number. This may be used to determine the correct paths or resulting HTML code for CGI programs that
are used on the same machine for several servers.
SERVER_PROTOCOL
This is the name and version of the information protocol the request came in with. Normally this is "HTTP/1.0" or "HTTP/1.1".
SERVER_PORT
This refers to the TCP/IP port on which the webserver is running.
SERVER_SOFTWARE
This reflects the name and revision of the webserver software.
AUTHOR
This CGI library is written by Martin Schulze <joey@infodrom.org>. If you have additions or improvements please get in touch with him.
SEE ALSO
cgiDebug(3), cgiHeader(3), cgiSetType(3), cgiSetHeader(3), cgiGetValue(3), cgiGetVariables(3).
CGI Library 6 April 2008 cgi(5)