Unix/Linux Go Back    

Web Programming Discuss Web Programming and Web Server Administration, including LAMP, Apache, MySQL, HTML, SEO, and other Web APIs and topics.

Apache 2.4 web server - string manipulation

Web Programming

Thread Tools Search this Thread Display Modes
Old Unix and Linux 09-30-2015   -   Original Discussion by sniper57
sniper57's Unix or Linux Image
sniper57 sniper57 is offline
Registered User
Join Date: Apr 2009
Last Activity: 30 September 2015, 11:12 AM EDT
Posts: 30
Thanks: 2
Thanked 0 Times in 0 Posts
Apache 2.4 web server - string manipulation


I have configured an Apache 2.4 web server for Kerberos authentication. I need to pass the user in an HTTP header to the back-end server. This can be achieved by:-

# Set header to blank
RequestHeader set KERBEROS_USER ""
# Set header
RequestHeader set KERBEROS_USER "%{REMOTE_USER}s"

However the user is passed in the format:-

I would like to pass just "userA".

Please can anyone advise if this is possible and if so how?

Many thanks
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Apache Web Server Config Hari_Ganesh Web Programming 0 07-08-2010 05:05 AM
Uninstall Apache web server RobertFord Solaris 4 04-16-2010 10:48 AM
Apache web server question frustrated1 Solaris 2 09-01-2004 04:41 PM
Apache Web Server anent UNIX for Dummies Questions & Answers 9 11-16-2001 04:11 PM

All times are GMT -4. The time now is 03:49 PM.