Click here to get back home

Redirecting to my own login page instead of Apache Login

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Redirecting to my own login page instead of Apache Login nahanfee 03-24-2008
Posted by nahanfee on March 24, 2008, 12:22 am
Please log in for more thread options
Hello,

I made one login page (in cgi perl) which authenticates the user using
Ldap data. It is working fine.
Now I want to prevent the Apache web server User authentication page
to display and use my login page instead.

The idea is I am redirecting to the restricted folder (directory) only
if the authentication made.
But if user itself type the URL of that directory it is showing Apache
login page.

I am new in CGI and apache web configuration things.
any help will be appreciable

Thanks in advance

Posted by Tad J McClellan on March 24, 2008, 7:59 am
Please log in for more thread options

> I am new in CGI and apache web configuration things.
> any help will be appreciable


Here is some help:

Ask Perl questions in a Perl newsgroup.

Ask web server configureation questions in a newsgroup about
web servers.

Your question is not related to Perl in any way.


--
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher0cmdat/"

Posted by ccc31807 on March 24, 2008, 9:45 am
Please log in for more thread options
On Mar 24, 12:22 am, nahan...@gmail.com wrote:
> Now I want to prevent the Apache web server User authentication page
> to display and use my login page instead.

Replace the standard Apache index.html file in the document root with
your own index.html. In RedHat Linux you will find this in /var/www/
html/. I would tell you where it is in Windows but unfortunately I do
not currently have access to a Windows machine.

If you are using virtual hosts, create a symbolic link to your
homepage. For example, create your web directory like this:
/home/myhomedir/www/index.html
and create a symlink like this in the http document root (again, this
is Unix/Linx):
ln -s /home/myhomedir/www myhomedir

Alternatively, edit your httpd.conf file. See the documentation.

CC

Similar ThreadsPosted
Automatic login to a web page October 24, 2006, 2:32 am
Login page perl/CGI April 27, 2007, 1:47 am
Re: download with HTML::FORM login and password on page April 28, 2008, 7:43 am
* * * Please Read And/Or Print This! * * * Press [Ctrl][P] Keys On Your Keyboard To Print >> June 1, 2004 8:24:38 pm >> http://115639.aceboard.net/forum2.php?rub=158&cat=61&login=115639&page=0#id96 << * * * * * * * * * * * * * * * * * * * * * * * * * * * June 1, 2005, 6:24 pm
web login March 21, 2006, 6:45 pm
login example May 29, 2007, 6:13 pm
login example May 29, 2007, 6:54 pm
Help: Login FTP January 17, 2008, 10:17 am
ssl login to ebay January 5, 2005, 2:09 am
user login February 20, 2005, 3:08 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap