[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

REMOTE_USER: julio, grab your points!

Posted on 1997-09-19
2
Medium Priority
?
163 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 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This tutorial will discuss fancy secure registration forms, with AJAX technology support. In this article I assume you already know HTML and some JS. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you mig…
I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
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 look for a specific file type in a local or remote server directory using PHP.
Suggested Courses
Course of the Month19 days, 3 hours left to enroll

834 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