Gangabass has asked for the wisdom of the Perl Monks concerning the following question:

Hi, monks!

How can I get HTTP_CGI_AUTHORIZATION from NPH script without editing Apache conf?

This is because I can't add this rule to config (I have no rights to edit Apache conf):

RewriteEngine on RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule ^(.*) - [E=HTTP_CGI_AUTHORIZATION:%1]

Thanx for your replies

2006-07-26 Retitled by planetscape, as per Monastery guidelines

( keep:1 edit:17 reap:15 )

Original title: 'NPH script Getting HTTP_CGI_AUTHORIZATION'

Replies are listed 'Best First'.
Re: (OT) (NPH script) Getting HTTP_CGI_AUTHORIZATION ?
by Khen1950fx (Canon) on Jul 23, 2006 at 06:45 UTC
Re: (OT) (NPH script) Getting HTTP_CGI_AUTHORIZATION ?
by sgifford (Prior) on Jul 24, 2006 at 00:52 UTC
    Even if you don't have permission to edit httpd.conf, you might be able to create a .htaccess file to achieve the same effect.