LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[Webdev] Authenticated redirecting

[Webdev] Authenticated redirecting

Dave Burke dave at compsoc.com
Fri Jun 30 13:40:02 IST 2000


On Fri, 30 Jun 2000, It appears Donncha O Caoimh said.......

> which should redirect the person. 'Course you should have some sort of
> security/auth in the home dirs too because anyone could just enter in
> the above URL and get at private data without logging in.

eh.....is u protect http://www.mysite.com/users/ with a .htaccess file,
and try to access http://www.mysite.com/users/<username>/, apache will
still kick in the access permissions and prompt for a username/password. 

Like on my machine I've defined 

<Directory "/home/httpd/html/workstuff">
        AllowOverride AuthConfig 
</Directory>


And if I tried to access http://localhost/workstuff/admin/test I'll get
asked for a username even though the .htaccess file is in
/home/httpd/html/workstuff/admin

Dave





More information about the Webdev mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell