Sponsored Content
Top Forums Web Development Apache - redirecting authenticated users to other sites Post 302502994 by antiw2k3 on Wednesday 9th of March 2011 11:41:47 AM
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
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. Shell Programming and Scripting

redirecting a url on apache conf file

i need help on redirecting apache conf file i want redirect everything to www.example.com/home example if i type a url www.example.com/home/text1 i need that redirected to www.example.com/home (0 Replies)
Discussion started by: shehzad_m
0 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. 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

7. 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

8. 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 easydev.com in the browser it continues to redirect me to the old (now disabled) dev site of crmpicco.dev. Is there something wrong with my config? # apachectl... (3 Replies)
Discussion started by: crmpicco
3 Replies

9. 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
Apache::AuthCookie::FAQ(3pm)				User Contributed Perl Documentation			      Apache::AuthCookie::FAQ(3pm)

NAME
Apache::AuthCookie::FAQ - Frequently Asked Questions about Apache::AuthCookie. VERSION
version 3.18 DESCRIPTION
This document serves to answer the most frequently asked questions about Apache::AuthCookie. How can I protect an entire site (/) with Apache::AuthCookie? You have to give an Apache "require" directive that applies to all requests for except for your login handler. The easiest way to do this is to override the auth handlers for your login script. For example, if your login handler is "/LOGIN", then you need to use something like the following: <Location /> AuthType My::AuthCookieHandler AuthName Whatever PerlAuthenHandler My::AuthCookieHandler->authenticate PerlAuthzHandler My::AuthCookieHandler->authorize require valid-user </Location> <Location /LOGIN> PerlAuthenHandler Apache2::Const::OK PerlAuthzHandler Apache2::Const::OK </Location> ... NAME
Apache::AuthCookie::FAQ - Frequently Asked Questions about Apache::AuthCookie. AUTHOR
Michael Schout <mschout@cpan.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2000 by Ken Williams. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. BUGS
Please report any bugs or feature requests to bug-apache-authcookie@rt.cpan.org or through the web interface at: http://rt.cpan.org/Public/Dist/Display.html?Name=Apache-AuthCookie perl v5.12.3 2011-05-09 Apache::AuthCookie::FAQ(3pm)
All times are GMT -4. The time now is 05:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy