You are not logged in.

#1 2011-06-13 00:49:49

fhtagn
Member
From: inside your head.
Registered: 2010-12-21
Posts: 16

default Apache Indexes: add "mail to" button

Howdy,

I run a LAMP server and I am currently hosting some .pdf's for college, being shown using the default apache Indexes option (with some .css I found)

I would like to add a button, visible when hovering, to mail each file to an email address (to be asked each user), specifically, a kindle address (I don't think it changes anything).
This is the general idea...
I don't know the AMP part of LAMP. I hunt around for the right scripts and tweak the bits I understand.

Both msmtp and mutt are installed and working properly.
Is there a standard way to accomplish what I want? What options do I have?

Feel free to send me somewhere else, just asking you guys because I like this community. Been following the wiki/forums while trying to properly setup my arch server^^

Thank you for your time

Last edited by fhtagn (2011-06-13 00:50:30)

Offline

#2 2011-06-13 01:08:30

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: default Apache Indexes: add "mail to" button

AFAIK there is no way to actually modify the output of mod_autoindex apart from adding a Header, Footer and CSS. You might need your own script to handle this.

Offline

#3 2011-06-13 16:12:44

fhtagn
Member
From: inside your head.
Registered: 2010-12-21
Posts: 16

Re: default Apache Indexes: add "mail to" button

I will look into that.

Thank you.

Offline

Board footer

Powered by FluxBB