Solved

REMOTE_USER: julio, grab your points!

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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
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 …
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

733 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