mod_cgi not passing headers for authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Sirs,

running a CGI script, in which I myself implement basic
authentication, I miss necessary headers:

REMOTE_USER
AUTH_TYPE
HTTP_AUTHORIZATION

According to https://tools.ietf.org/html/rfc3875 the first MUST be passed.

Is there a way to get these headers?

I get the last putting in the config file:

SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

But I also need the first header. How to get apache to work like
standard httpd?

If possible, I want to keep apaches authentication of static pages.

Thanks
Rodrigo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux