mod_auth_mysql apache - multiple tables?
by Bryan Hepworth
Hi All
This is my first foray into mod_auth_mysql with apache. I'm trying to
get some things straight in my own mind, so would be grateful if someone
could tell me whether I have this figured out right...
I'm going to have multiple people connecting to httpd, but I need to
restrict access so that only certain groups can see certain data.
The thinking goes as follows: -
/var/www/html/acme
/var/www/html/widget
only acme accesses acme and widget, widget
I'm assuming I can create an acme table and a widget table and then
alter /etc/httpd/conf.d/mod_auth_mysql.conf file to reflect each group
in multiple instances in that file...
<Directory /var/www/html/acme>
AuthName "MySQL group authenticated zone"
AuthType Basic
AuthMYSQLEnable on
AuthMySQLUser authuser
AuthMySQLPassword PaSsW0Rd
AuthMySQLDB acme
AuthMySQLUserTable users
AuthMySQLNameField user_name
AuthMySQLPasswordField user_passwd
AuthMySQLGroupField user_group
require group acme
</Directory>
<Directory /var/www/html/widget>
AuthName "MySQL group authenticated zone"
AuthType Basic
AuthMYSQLEnable on
AuthMySQLUser authuser
AuthMySQLPassword PaSsW0Rd
AuthMySQLDB widget
AuthMySQLUserTable users
AuthMySQLNameField user_name
AuthMySQLPasswordField user_passwd
AuthMySQLGroupField user_group
require group widget
</Directory>
If someone could tell me my thinking is correct and this would work I'd
be extremely grateful, likewise if my thinking is wrong! a working
example or two would also be gratefully received.
Thanks
Bryan
14 years, 1 month
Hulu Desktop
by Henry Wyatt
How do I tell huludesktop were libflashplayer.so is Tried from root no
luck.
--
Henry E. Wyatt, Jr.
14 years, 1 month
Btrfs compression
by Valent Turkovic
Hi, AFAIK btrfs compression is enabled via mount option. I'm now
installing Fedora 13 beta on / partition formated As btrfs. During
install there is no option for compression. If I add compress option
after install is there a way to compress data that was saved during
the install?
Cheers!
--
pratite me na twitteru - www.twitter.com/valentt
blog: http://kernelreloaded.blog385.com
linux, anime, spirituality, windsurf, wireless, ronjenje, pametne kuće, zwave
registered as user #367004 with the Linux Counter, http://counter.li.org.
ICQ: 2125241, Skype: valent.turkovic, MSN: valent.turkovic(a)hotmail.com
14 years, 1 month
denyhost
by Marvin Kosmal
Hi..
Couldn't leave well enough alone..
Changes my denyhosts.conf.. Didn't make a back up of the good one..
Now I am getting this error... And can't figure out how I messed it up?
Any clue where to look??
Apr 29 08:12:17 - sync : ERROR <Fault 1:
"exceptions.KeyError:'timestamp'">
Traceback (most recent call last):
File "/usr/share/denyhosts/DenyHosts/sync.py", line 117, in receive_new_hosts
self.__prefs.get("SYNC_DOWNLOAD_RESILIENCY"))
File "/usr/lib/python2.5/xmlrpclib.py", line 1147, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.5/xmlrpclib.py", line 1437, in __request
verbose=self.__verbose
File "/usr/lib/python2.5/xmlrpclib.py", line 1201, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib/python2.5/xmlrpclib.py", line 1340, in _parse_response
return u.close()
File "/usr/lib/python2.5/xmlrpclib.py", line 787, in close
raise Fault(**self._stack[0])
Fault: <Fault 1: "exceptions.KeyError:'timestamp'">
Apr 29 08:22:18 - sync : ERROR <Fault 1:
"exceptions.KeyError:'timestamp'">
Traceback (most recent call last):
File "/usr/share/denyhosts/DenyHosts/sync.py", line 117, in receive_new_hosts
self.__prefs.get("SYNC_DOWNLOAD_RESILIENCY"))
File "/usr/lib/python2.5/xmlrpclib.py", line 1147, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.5/xmlrpclib.py", line 1437, in __request
verbose=self.__verbose
File "/usr/lib/python2.5/xmlrpclib.py", line 1201, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib/python2.5/xmlrpclib.py", line 1340, in _parse_response
return u.close()
File "/usr/lib/python2.5/xmlrpclib.py", line 787, in close
raise Fault(**self._stack[0])
Seems like the timestamp is the problem??
TIA
Marvin
14 years, 1 month
Re: PHX2 Outage
by Tim
On Thu, 2010-04-29 at 00:13 -0400, Ricky Zhou wrote:
> There was a PHX2 outage
I'm curious what a PHX2 is. My Googling wasn't informative.
--
[tim@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686
Don't send private replies to my address, the mailbox is ignored. I
read messages from the public lists.
14 years, 1 month
Bugzilla not reachable?
by Joachim Backes
Anybody has seen this when contacting bugzilla?:
----------------------------------------------------------------------
Forbidden
You don't have permission to access / on this server.
Additionally, a 404 Not Found error was encountered while trying to use
an ErrorDocument to handle the request.
Apache Server at bugzilla.app.bz.hst.phx2.redhat.com Port 80
-----------------------------------------------------------------
--
Joachim Backes <joachim.backes(a)rhrk.uni-kl.de>
http://www.rhrk.uni-kl.de/~backes
14 years, 1 month
Hulu and 64 bit linux firefox
by Henry Wyatt
Has anyone experienced problems playing videos in Hulu with 64 bit Firefox
I get the following message:
“Were sorry but we are unable to stream video to your system, this may be
due to a limitation of Adobe software on 64 bit Linux”
--
Henry E. Wyatt, Jr.
14 years, 1 month
FC12 on Proliant DL760
by rowan
I am guessing since my e-mail address on file with the Fedora Project
didn't match the e-mail "From" below is why this didn't make it to the
list. I'm trying a third time.
I'd sent the e-mail below apparently to the wrong address.
I downloaded the DVD image, burned it, verified the media after burning
then tried to install on the Proliant DL760.
The error says there are no disks to install FC12 onto, prompting me to
load a driver. It displays a lengthy list of drivers but nothing
specific to the Compaq Proliant. Under CentOS the Smart Array
Controller is referenced as /dev/ida/c0d0, I don't know why FC12 isn't
recognizing the Compaq RAID controller.
Can someone tell me how I can get FC12 to install on my Proliant?
TIA
-------- Original Message --------
Subject: FC12 on Proliant DL760
Date: Wed, 28 Apr 2010 12:14:56 -0400
From: jjrowan <samba(a)rownetco.com>
Reply-To: samba at rownetco dot com
To: Community assistance, encouragement, and advice for using Fedora.
<fedora-list(a)redhat.com>
I've been trying to install FC12 on a 4 processor Proliant DL760.
I tried the net install CD having the DVD mounted on another server
exported with NFS but that failed.
I copied the files to a SCSI disk and tried installing from /dev/sda1
but that fails also, I can't remember the error, something about mismatch.
I downloaded and burned the 5 CD iso images to CD-R media. Booting from
disc 1 FC12 asks me to load a driver or choose where to install from
displaying the /dev/sda1. It appears FC12 doesn't see my CDROM drive any
longer as it's source for installing.
I also tried removing the CDROM and installing a CD-RW/DVD, FC12 boots
and gets to the same screen wanting to load a driver or continue
installing from /dev/sda1 which fails with the mismatch.
Anyone have a tip on how to install FC12 on a Compaq Proliant DL760?
14 years, 1 month
gnome-vfs-smb -> huge nested folder transfer failures
by KC8LDO
I have a fully updated Fedora-11 32 bit OS install. The problem I have is
when copying a huge folder, a hundred or so nested folders inside the top
level folder and around 13000 files for about 2.6 GB of data, over the local
network using Nautilus to connect to a network share. The transfer gets
anywhere from 700 MB to around 1 GB then fails. A few times I saw a message
about some "dbus" time out error.
I can skip using Nautilus and use the KDE smb4k to do the transfer and it
works just fine. The only difference seems to be gnome-vfs-smb is hanging
when doing the transfer through Nautilus.
Has anybody experienced this problem and how do you fix it? I ended up
pulling in half of the KDE desktop just to use smb4k which I really didn't
want to do but I know it works.
Regards;
Leland C. Scott
KC8LDO
"There are morons in every line of work.
Some just get paid more for their stupidity ".
14 years, 1 month