* [gentoo-user] [OT] Apache Autoindex applications
@ 2006-07-09 21:25 Ow Mun Heng
2006-07-09 23:00 ` Daniel Iliev
0 siblings, 1 reply; 5+ messages in thread
From: Ow Mun Heng @ 2006-07-09 21:25 UTC (permalink / raw
To: gentoo-user
Hi,
Does anyone has any recommendations for using some sort of autoindex
script for apache? I know and am currently using
http://autoindex.sourceforge.net which has login/upload capabilities.
I'm trying to see if there are any other alternatives.
My goal. Integrate a front end apache-autoindex (w/ upload/login
capability) that uses a SQL backend for authentication(I can use
mod_auth_mysql as a means for connecting autoindex's htpasswd/htaccess
to mysql and I am thinking of also integrating SAMBA with mysql using
the pdbsql backend so I can have an integrated samba/apache file-server.
(I was thinking of using WebDAV, but can't figure out how to do
priviledge separation and have separate user/group accounts for
different users/groups)
If anyone has any pointers, do tell.
--
Ow Mun Heng <Ow.Mun.Heng@wdc.com>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] [OT] Apache Autoindex applications
2006-07-09 21:25 [gentoo-user] [OT] Apache Autoindex applications Ow Mun Heng
@ 2006-07-09 23:00 ` Daniel Iliev
2006-07-10 3:51 ` Ow Mun Heng
0 siblings, 1 reply; 5+ messages in thread
From: Daniel Iliev @ 2006-07-09 23:00 UTC (permalink / raw
To: gentoo-user
Ow Mun Heng wrote:
> My goal. Integrate a front end apache-autoindex (w/ upload/login
> capability) that uses a SQL backend for authentication(I can use
> mod_auth_mysql as a means for connecting autoindex's htpasswd/htaccess
> to mysql and I am thinking of also integrating SAMBA with mysql using
> the pdbsql backend so I can have an integrated samba/apache file-server.
Well, I really can't see why would you want to use whatever-SQL-server
for that purpose.
If a user has logged in the samba file server and you want to spare
him/her additional login to the apache server and vice versa you could
use LDAP autentication. Both samba and apache can talk LDAP.
--
Best regards,
Daniel
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] [OT] Apache Autoindex applications
2006-07-09 23:00 ` Daniel Iliev
@ 2006-07-10 3:51 ` Ow Mun Heng
2006-07-10 11:52 ` Daniel Iliev
0 siblings, 1 reply; 5+ messages in thread
From: Ow Mun Heng @ 2006-07-10 3:51 UTC (permalink / raw
To: gentoo-user
On Mon, 2006-07-10 at 02:00 +0300, Daniel Iliev wrote:
> Ow Mun Heng wrote:
> > My goal. Integrate a front end apache-autoindex (w/ upload/login
> > capability) that uses a SQL backend for authentication(I can use
> > mod_auth_mysql as a means for connecting autoindex's htpasswd/htaccess
> > to mysql and I am thinking of also integrating SAMBA with mysql using
> > the pdbsql backend so I can have an integrated samba/apache file-server.
>
> Well, I really can't see why would you want to use whatever-SQL-server
> for that purpose.
> If a user has logged in the samba file server and you want to spare
> him/her additional login to the apache server and vice versa you could
> use LDAP autentication. Both samba and apache can talk LDAP.
Yes that's true, but, I don't really want to go into implementing an
LDAP server/service right now.
Besides that, I'm looking at using the autoindex script for web-based
file storage. It doesn't support LDAP. (AFAIK)
--
Ow Mun Heng <Ow.Mun.Heng@wdc.com>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] [OT] Apache Autoindex applications
2006-07-10 3:51 ` Ow Mun Heng
@ 2006-07-10 11:52 ` Daniel Iliev
2006-07-13 5:37 ` Ow Mun Heng
0 siblings, 1 reply; 5+ messages in thread
From: Daniel Iliev @ 2006-07-10 11:52 UTC (permalink / raw
To: gentoo-user
Ow Mun Heng wrote:
> Yes that's true, but, I don't really want to go into implementing an
> LDAP server/service right now.
> Besides that, I'm looking at using the autoindex script for web-based
> file storage. It doesn't support LDAP. (AFAIK)
The sql-way seems more complicated to me. I suspect there is something
that I may be missing or don't understand.
The auotoindex is used only to generate an HTML list of the contents
of a given directory. Not to manage that contents. The access to that
directory can be restricted using authentication. Then things like
mod_auth_mysql can become handy for example to use only one
authentication for the "protected area" and for the site's forum (though
this won't work with forums like SMF, which use a..hmhm..let me say
"strange" way to store passwords).
If your idea is to make something like a file sharing site, where
depending on the login credentials a user could only download files or
again depending on the credentials the user could also upload files the
easiest way is to use a cgi script (perl, php, "whatever") for
uploading. The script should reside in a directory where only
"unloaders" have access and should save the uploaded files in the
"downloads" directory.
That is the easiest way I can think of...if I have understood you
correctly at all.
HTH
--
Best regards,
Daniel
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] [OT] Apache Autoindex applications
2006-07-10 11:52 ` Daniel Iliev
@ 2006-07-13 5:37 ` Ow Mun Heng
0 siblings, 0 replies; 5+ messages in thread
From: Ow Mun Heng @ 2006-07-13 5:37 UTC (permalink / raw
To: gentoo-user
On Mon, 2006-07-10 at 14:52 +0300, Daniel Iliev wrote:
> Ow Mun Heng wrote:
> > Yes that's true, but, I don't really want to go into implementing an
> > LDAP server/service right now.
> > Besides that, I'm looking at using the autoindex script for web-based
> > file storage. It doesn't support LDAP. (AFAIK)
>
> The auotoindex is used only to generate an HTML list of the contents
> of a given directory. Not to manage that contents. The access to that
> directory can be restricted using authentication.
It's to be used also as a means to manage content. (It's main purpose is
to facilitate easier/faster WAN connections through TCP rather than
using SAMBA/CIFSs/NFS which is dog slow (Even when using NFS w/ TCP)
> If your idea is to make something like a file sharing site, where
> depending on the login credentials a user could only download files or
> again depending on the credentials the user could also upload files the
> easiest way is to use a cgi script (perl, php, "whatever") for
> uploading. The script should reside in a directory where only
> "unloaders" have access and should save the uploaded files in the
> "downloads" directory.
Actually, this is just partially useful. A WebDAV solution would be the
BEST, however, until now, I've not found a suitable way to provide for
and to address priviledge separation using WebDAV. Which is why I am
thinking on going through this SQL solution using SAMBA and AutoIndex.
--
Ow Mun Heng <Ow.Mun.Heng@wdc.com>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-07-13 5:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-09 21:25 [gentoo-user] [OT] Apache Autoindex applications Ow Mun Heng
2006-07-09 23:00 ` Daniel Iliev
2006-07-10 3:51 ` Ow Mun Heng
2006-07-10 11:52 ` Daniel Iliev
2006-07-13 5:37 ` Ow Mun Heng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox