?
Solved

REMOTE_USER: julio, grab your points!

Posted on 1997-09-19
2
Medium Priority
?
161 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
julio011597 earned 120 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

PowerShell Core for Advanced Linux Administrators

Understand advanced principals around Powershell Core with a focus on the Linux Administrator.  This course covers how to administer numerous environments across multiple platforms including Linux, Azure, AWS, and Google Cloud from a single shell instance.

Question has a verified solution.

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

If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

752 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