> Just solved the problem of not recognizing print "Content-type:
> text/plain\n\n";
> But another problem still exists.
> When the perl script contains following lines:
> print "Set-Cookie: cookie-name = Unique; ";
> print "domain = .$baseurl; ";
> print "path = /; ";
> print "expires = Thursday, 11-Dec-2100 00:00:00 GMT\n";
> It just print out these lines on the web.
> Still the same script runs perfect under windows+apache+cygwin.
> Please tell me how to change the httpd.conf file just as the last question.
> Thank you very much.
--
-adam | "Be liberal in what you accept, and
Systems Administrator | conservative in what you send"
Indiana University | -Jon Postel
Bloomington, Indiana |
1. setting a "cookie" with the "valid-user" option...
Hi guys,
Apache: 1.3.9
OS: RedHat Linux 6.1
Perl: 5.005_03
I would like to attempt the following:
Setting a "Cookie" when the user gets
authenticated from the
AuthType/AuthUserFile/AuthName option.
I do have the "secured section" up and get
authenticated just fine.
I also set up the "CookieTracking on"
and "CookieName name", which "name" is in the
cookie.
With this, I get for a cookie is the IP/hostname
+ some numbers. Which is a good start, but I
actually want the username the person used to get
in to be the value of "name"
I know I am close, but I am not sure how to link
the two together?
I know this can be done.. I just some ideas...
So again, I have both sides of the puzzle working
just fine, I just need the user name of which
they were authenticated with to be
the "name=xxxxx" in my CookieName value...
Thanks guys!
-Graham Wooden
Sent via Deja.com http://www.deja.com/
Before you buy.
2. Problem: Slackware vs Redhat
3. My linux+Apache+mod_perl cannot recognize "Content-type:" etc
5. GETSERVBYNAME()????????????????????"""""""""""""
7. Setting HTTP cookies with the Apache "valid-user" option...
9. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""
10. How to track "Inode", "name" and "buffer" cache rates
11. Type "(", ")" and "{", "}" in X...
12. "Cannot determine local host name, Use servername to set it manually" - Apache W95
13. bash : "set -o emacs" and "set -o vi"