Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

htaccess with SQL

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  htaccess several times needed for several virtual..  
Author Message
someone37

External


Since: Feb 27, 2004
Posts: 4



(Msg. 1) Posted: Fri Feb 27, 2004 8:05 pm
Post subject: htaccess with SQL
Archived from groups: alt>apache>configuration (more info?)

Hi,
I have a problem (well more than one),
I want to use htaccess to allow users in an MySQL database to gain access to
the specified directory only when there authorization in the database is
good.
e.g. person1 when with authorization level 1 gains no access and person2
with authorization level 2 or higher gains access.

The table in the database contains at least an username, md5 hash off the
password and an authorization level.

But I don't know how to do this,

If anyone can help or point in the right direction I would be gratefull

 >> Stay informed about: htaccess with SQL 
Back to top
Login to vote
patpro1

External


Since: Nov 20, 2003
Posts: 40



(Msg. 2) Posted: Fri Feb 27, 2004 8:40 pm
Post subject: Re: htaccess with SQL [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <c1nr46$cum$1@news2.tilbu1.nb.home.nl>,
"John Smith" <someone RemoveThis @nobody.com> wrote:

 > Hi,
 > I have a problem (well more than one),
 > I want to use htaccess to allow users in an MySQL database to gain access to
 > the specified directory only when there authorization in the database is
 > good.
 > e.g. person1 when with authorization level 1 gains no access and person2
 > with authorization level 2 or higher gains access.
 >
 > The table in the database contains at least an username, md5 hash off the
 > password and an authorization level.
 >
 > But I don't know how to do this,
 >
 > If anyone can help or point in the right direction I would be gratefull


what about mod_auth mysql ?


patpro

--
je cherche un poste d'admin UNIX/Mac
<a style='text-decoration: underline;' href="http://patpro.net/cv.php" target="_blank">http://patpro.net/cv.php</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: htaccess with SQL 
Back to top
Login to vote
someone37

External


Since: Feb 27, 2004
Posts: 4



(Msg. 3) Posted: Fri Feb 27, 2004 9:02 pm
Post subject: Re: htaccess with SQL [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"patpro" <patpro RemoveThis @boleskine.patpro.net> schreef in bericht
news:patpro-F2064B.17403527022004@news.fu-berlin.de...
 > In article <c1nr46$cum$1@news2.tilbu1.nb.home.nl>,
 > "John Smith" <someone RemoveThis @nobody.com> wrote:
 >
  > > Hi,
  > > I have a problem (well more than one),
  > > I want to use htaccess to allow users in an MySQL database to gain
access to
  > > the specified directory only when there authorization in the database is
  > > good.
  > > e.g. person1 when with authorization level 1 gains no access and person2
  > > with authorization level 2 or higher gains access.
  > >
  > > The table in the database contains at least an username, md5 hash off
the
  > > password and an authorization level.
  > >
  > > But I don't know how to do this,
  > >
  > > If anyone can help or point in the right direction I would be gratefull
 >
 >
 > what about mod_auth mysql ?
 >
 >
 > patpro
 >
 > --
 > je cherche un poste d'admin UNIX/Mac
<font color=purple> > <a style='text-decoration: underline;' href="http://patpro.net/cv.php</font" target="_blank">http://patpro.net/cv.php</font</a>>
It works great,
but unfortunatly I can't install any new modules on de server where it
should be running if everything's ok.

Is there no way it can be done with the standard Apache Modules???<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: htaccess with SQL 
Back to top
Login to vote
patpro1

External


Since: Nov 20, 2003
Posts: 40



(Msg. 4) Posted: Fri Feb 27, 2004 9:18 pm
Post subject: Re: htaccess with SQL [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <c1nt7k$bnr$1@news3.tilbu1.nb.home.nl>,
"John Smith" <someone.TakeThisOut@nobody.com> wrote:

 > It works great,
 > but unfortunatly I can't install any new modules on de server where it
 > should be running if everything's ok.
 >
 > Is there no way it can be done with the standard Apache Modules???

if so I guess they wouldn't have designed a dedicated module.
If you know PERL, you can try using mod_perl, but I'm not even sure it's
possible to plug this module as an auth method.
You can access MySQL via Perl.

patpro

--
je cherche un poste d'admin UNIX/Mac
<a style='text-decoration: underline;' href="http://patpro.net/cv.php" target="_blank">http://patpro.net/cv.php</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: htaccess with SQL 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
HTAccess - Hi NG! I have defined by HTAccess to show my own 404 Errorfile if a file can't found on my Server. The problem is that everytime this file is loaded, even if only picture is missing. How can i say that the Error-HTML is only shown if a HTML File is..

.htaccess - Hello Guys, I try desesperatly to make .htaccess run. It runs when files are put on the root, but not with sub-directories. My ".htaccess" : -------------------------------------------------------------------- Options +FollowSymlinks RewriteEng...

HTACCESS - Hi All! I am very new with Apache and for now I am running apache localy. http://127.0.0.1 gets my index up and running! So that works fine! What I am trying to do is to resolve a name like http://thatsme.lan and make a subdirectory like..

Need help with .htaccess - Hi, I'm a newbie to apache. I just create a .htpasswd .htaccess in my ~/www/.htaccess and ~/www.htpasswd. OS Solaris 8 ..htaccess file AuthType Basic AuthName "Secret Section. Password Required" AuthUserFile /www/.htpasswd Require valid-u...

what is .htaccess ? - Hi Ive recently purchased an apache webserver from am ISP which i access through webmin. In there i can access the file: httpd.conf This file appears to hold all the config. In here i can make changes, setup websites etc. I have been reading up o...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]