Visit Our UNIX and Linux User Community

Apache - redirecting authenticated users to other sites

Thread Tools Search this Thread
Top Forums Web Development Apache - redirecting authenticated users to other sites
# 1  
Old 03-09-2011
Apache - redirecting authenticated users to other sites

Hi everyone.

Im really new here, so please have patience with me if i act out of order in any way. I do have some unix experience, but i would not call it extensive.

The problem i am about to describe probably have a easy solution, but i have been unable to find it while speaking to Mr.Google

The issue:
A while back i started an Apache web server (SSL), its running on OpenBSD 4.8, that connects to the internet.

On our local network we have two other web servers, also Apache running on Ubuntu 10.10.

Im searching for information on how to do the following:
If a user is correctly authenticated, how to redirect that user to one of the internal web servers?

I do not expect anyone to provide me with a how-to, im only asking for directions to where i can find this information. After all, reading about it and doing the DIY process is half of the fun Smilie
# 2  
Old 03-09-2011
define "correctly authenticated". What are you doing?
# 3  
Old 03-09-2011
Sorry for being unclear about that.

For anyone to be able to access the site i use
AuthType Basic
together with SSL.
# 4  
Old 03-09-2011
So you want them to log in on via a webpage on an external facing Apache server and then, after authentication, be redirected to an internal Apache server? How do you expect them to be able to access the internal Apache server from the internet? Tunnelling via the external facing web server or what?
# 5  
Old 03-09-2011
Yes, that is basically what i would like to do if possible.
Not necessarily redirected straight away, maybe trough a link on the external web site.

"Tunnelling via the external facing web server or what?"
That thought never even occurred to me tbh, ill start searching for that, thnx.

Previous Thread | Next Thread
Test Your Knowledge in Computers #141
Difficulty: Easy
The original Unix operating system was not written in assembly language.
True or False?

9 More Discussions You Might Find Interesting

1. Web Development

Need help on Apache configuration for redirecting URLS

I am extremely new to Apache httpd configuration. Can you please help here below is my requirement. If the URL match existing resource - return resource. If the URL doesn't match existing resource it should return index.html from the app root directory. Apps root directories are: 1.... (0 Replies)
Discussion started by: kar_333
0 Replies

2. Web Development

CentOS 7 redirecting me to old disabled dev site when removed from sites-enabled

I am having problems accessing a new site I am trying to setup on my CentOS 7 VM. I have added a vhosts file for it, but when I access in the browser it continues to redirect me to the old (now disabled) dev site of Is there something wrong with my config? # apachectl... (3 Replies)
Discussion started by: crmpicco
3 Replies

3. Shell Programming and Scripting

Retrieve the username which got authenticated by the apache

I have an apache 2.2 setup with LDAP auth enabled. The html form in the front end takes some values and processes them using perl script in the background. Is there a way I can get the username which is submitting the values in that perl script. I am planning to track who is doing what(with the... (1 Reply)
Discussion started by: Tuxidow
1 Replies

4. Web Development

Apache users from MySQL database

Hi team, How can I implement a users in MySQL database for Apache users, assuming that I'm using RHEL6. That is to say, how can I design this database and how let's Apache server know those user in this database. Thanks in advance.. (3 Replies)
Discussion started by: leo_ultra_leo
3 Replies

5. Shell Programming and Scripting

Redirecting Users to New Server

I am new to shell scripting. I urgently need a script on a backup server that will ping the main server to check if the server is up. If the main server is down- the script should transfer the IP of the main server to the backup server. Once the main server is up again the backup server will... (7 Replies)
Discussion started by: sanmiogun
7 Replies

6. Shell Programming and Scripting

redirecting a url on apache conf file

i need help on redirecting apache conf file i want redirect everything to example if i type a url i need that redirected to (0 Replies)
Discussion started by: shehzad_m
0 Replies

7. Web Development

Apache redirecting

Dear All I need to redirect requests coming in on a second domain, to a page within an existing web site. So basicly http:\\webtest should be redirected to http:\\ustnd5\ukt\newsroom\newsroom.jsp I have the line ProxyPassReverse /ukt/newsroom/newsroom.jsp http://webtest:10080/ ... (1 Reply)
Discussion started by: wjones
1 Replies

8. Linux

Enable sudo for Win AD users authenticated with Linux samba winbind service

Hi everyone, I wonder if anyone ever came across the idea of unifying AD and Linux user accounts We have a Linux machine with 'samba' 'winbind' service configured to let Windows AD users to logon locally using their AD accounts and passwords. I can use 'su' to get to the local user privilege... (0 Replies)
Discussion started by: will_mike
0 Replies

9. Answers to Frequently Asked Questions

Some Sites Recommended by Our Users

Our users often recommend useful sites in response to a question. But the recommendations seem to get lost among our threads only to get re-recommended later. I will try to collect these here. I won't duplicate sites mentioned in Unix Tutorials/Programming Tutorials/Shell Scripting Tutorials,... (0 Replies)
Discussion started by: Perderabo
0 Replies

Featured Tech Videos