[nylug-talk] Apache problem

Ruben Safir ruben at mrbrklyn.com
Fri Feb 15 08:01:06 EST 2008


> 
> <Directory "/var/www/html">
>         Options Indexes Includes FollowSymLinks
>         AuthType Basic
>         AuthName "Private Access"

Your Authorization is being controlled by a programming module
dubbed "Private Access"

This is were it really helps to understand the Apache Response 
Cycle.  There is Authorization and Athentication.  Authorization
answers the question of wheather a page is allowed access.  Authentication
recokognizes a user and determines if they recognized.

See: http://httpd.apache.org/docs/2.2/mod/mod_auth_basic.html

and 

http://www.modperl.com/book/chapters/ch6.html

The modperl book is probably still the best working
text to explain apache's inards using programming 
examples.  Basic authorization and authenitation
hasn't changed that must from the apache 1.38 days.

Ruben

>         AuthUserFile /usr/local/apache/passwords
>         Require valid-user
>         AllowOverride None
>         Order deny,allow
>         Allow from all
> </Directory>
> 
> DirectoryIndex index.html
> 
> 
> 
> I have no problems authenticating using the passwords file and I don't
> use .htaccess
> 
> ===========================================================
> CIRCULAR 230 DISCLOSURE: Pursuant to Regulations Governing Practice Before the Internal Revenue Service, any tax advice contained herein is not intended or written to be used and cannot be used by a taxpayer for the purpose of avoiding tax penalties that may be imposed on the taxpayer.
> ===========================================================
> CONFIDENTIALITY NOTICE:
> This electronic mail message and any attached files contain information intended for the exclusive use of the individual or entity to whom it is addressed and may contain information that is proprietary, privileged, confidential and/or exempt from disclosure under applicable law.  If you are not the intended recipient, you are hereby notified that any viewing, copying, disclosure or distribution of this information may be subject to legal restriction or sanction.  Please notify the sender, by electronic mail or telephone, of any unintended recipients and delete the original message without making any copies.
> ===========================================================
> NOTIFICATION:  Katten Muchin Rosenman LLP is an Illinois limited liability partnership that has elected to be governed by the Illinois Uniform Partnership Act (1997).
> ===========================================================
> _____________________________________________________________________________
> Hire expert Linux talent by posting jobs here :: http://jobs.nylug.org
> The nylug-talk mailing list is at nylug-talk at nylug.org
> The list archive is at http://nylug.org/pipermail/nylug-talk
> To subscribe or unsubscribe: http://nylug.org/mailman/listinfo/nylug-talk

-- 
http://www.mrbrklyn.com - Interesting Stuff
http://www.nylxs.com - Leadership Development in Free Software

So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world  - RI Safir 1998

http://fairuse.nylxs.com  DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002

"Yeah - I write Free Software...so SUE ME"

"The tremendous problem we face is that we are becoming sharecroppers to our own cultural heritage -- we need the ability to participate in our own society."

"> I'm an engineer. I choose the best tool for the job, politics be damned.<
You must be a stupid engineer then, because politcs and technology have been attached at the hip since the 1st dynasty in Ancient Egypt.  I guess you missed that one."

© Copyright for the Digital Millennium


More information about the nylug-talk mailing list