Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th March 2008, 14:14
pcburner pcburner is offline
Member
 
Join Date: Jan 2008
Location: Port Huron, MI
Posts: 32
Thanks: 2
Thanked 1 Time in 1 Post
Send a message via AIM to pcburner
Default Creating Accounts Downloads via http

Here's what I would like to be able to do. I have some links on my index page that go to another directory located in /var/www/html. When people click on the link it will ask them for a username and password and if they don't have one then they are to send me an email asking me for permission to download those files. How can I accomplish this? Please be specific.
Reply With Quote
Sponsored Links
  #2  
Old 6th March 2008, 14:23
zcworld zcworld is offline
Senior Member
 
Join Date: Jul 2006
Location: South Australia
Posts: 329
Thanks: 2
Thanked 37 Times in 37 Posts
Send a message via MSN to zcworld Send a message via Skype™ to zcworld
Default

try looking at the .htaccess files
__________________
Shane Ebert :: Facebok
Reply With Quote
  #3  
Old 9th March 2008, 23:58
pcburner pcburner is offline
Member
 
Join Date: Jan 2008
Location: Port Huron, MI
Posts: 32
Thanks: 2
Thanked 1 Time in 1 Post
Send a message via AIM to pcburner
Default Yep did that

Thanks for that input but I did that already. Maybe this will be more clear. When people click on a link I what Apache to ask them for a username and password and they don't have access I want them to send email an email requesting access. How can I do this?
Reply With Quote
  #4  
Old 10th March 2008, 12:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

I think you have to write a PHP script for this.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 10th March 2008, 12:38
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 152 Times in 149 Posts
 
Default

You could also avoid reinventing the wheel and get a downloads management software for sites like hotscripts.com
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Statistics not compiling. thevinster Installation/Configuration 137 11th November 2010 10:54
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
ISPConfig 2.2.14 released till General 48 19th July 2007 23:46
Serious issue when creating unix accounts djtremors Installation/Configuration 1 27th July 2006 08:41
Problem with the apache (I can't start ist) M.Behrens Installation/Configuration 11 31st March 2006 10:48


All times are GMT +2. The time now is 19:40.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.