Solved

REMOTE_USER: julio, grab your points!

Posted on 1997-09-19
2
152 Views
Last Modified: 2013-12-25
To julio, regarding the (deleted) message "REMOTE_USER"

'*\!*@@!

I found out by myself a couple of minutes ago:

just because I wrote "\n" (or "\r\n") instead of "\n\n" after the "Content-type: ", I got the server error! :-(((((

It works now :-)
As both you and ozo had the correct idea, I thought I'll give each one of your 4*30 points (splitting the 60), so please do answer this question.
0
Comment
Question by:Christian_Wenz
2 Comments
 
LVL 5

Accepted Solution

by:
julio011597 earned 30 total points
ID: 1830401
 Ok, thanks Christian,
here is a (hope) working code to exec a cgi as SSI:

--//--
#!/usr/bin/perl

print "Content-Type: text/plain\n\n";

print "Remote User: $ENV{'REMOTE_USER'}\n";

exit;
--//--

Cheers, julio
0
 
LVL 5

Author Comment

by:Christian_Wenz
ID: 1830402
ha, I'll reject this answer, you don't need the "exit"!!!

just kidding...
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now