LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-22-2011, 07:38 AM   #1
bobbythoms
LQ Newbie
 
Registered: Dec 2011
Posts: 1

Rep: Reputation: Disabled
Redhat linux, httpd.conf redirection with paramater


Hi,

We are using httpd.conf (OS - Redhat linux) to configure apache module for LDAP authentication. After authentication, we need to redirect to another url with parameter login Id. The redirection happens, but we are uable to pass the user Id value.

So far we tried apache mode_jk, but couldn't get any sucesss. Please help.

Thanks in advance,

Bob
 
Old 12-22-2011, 12:34 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,521

Rep: Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502
Hi and welcome to LQ,

You can use apache mod_rewrite and the %{REMOTE_USER} variable in the RewriteCond to pass the authenticated userid to a new URL.
Check the #5 note here.

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Change of Apache httpd.conf doesn't work on CentOS/RedHat? photonxp Linux - Server 1 07-01-2010 01:12 AM
need Default Apache 2.2.3 httpd.conf in Redhat 5.3 please ackman Linux - Enterprise 7 09-11-2009 05:47 AM
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax sethukpathi Linux - Networking 6 04-12-2008 12:26 PM
Failed to start apache :Starting httpd: Syntax error on line 1027 of /etc/httpd/conf/ payjoe Linux - Newbie 3 09-21-2007 08:24 AM


All times are GMT -5. The time now is 12:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration