Solved

REMOTE_USER: julio, grab your points!

Posted on 1997-09-19
2
153 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
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 …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

861 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

24 Experts available now in Live!

Get 1:1 Help Now