| View previous topic :: View next topic |
| Author |
Message |
mrdoc
Joined: 30 Oct 2006 Posts: 1
|
Posted: Oct 30, 2006 8:46 pm Post subject: Download link? |
|
|
Hello
How can one produce after the uploads, a download URL and can indicate instead of the information, these downloads URL?
this is an automatic translation |
|
| Back to top |
|
 |
Butch
Joined: 14 Sep 2006 Posts: 29 Location: USA
|
Posted: Nov 06, 2006 1:04 am Post subject: Download Link |
|
|
I had the same question basicly, Pilgram pointed me in the right direction, so I will tell you how I did it.
Place your upload folder inside htdocs (this is where your html pages are,i.e. www.yoursite.com/uploads. Create a .htaccess file within this folder with the code like this (may require editing for your web space)
| Code: |
AuthType Basic
AuthName "Secured area "
AuthUserFile /hsphere/local/home/yoursitename/.htmaster/.ok_user
Require valid-user
Options Indexes MultiViews FollowSymlinks
|
You will need to remove the Secured area thru Require valid-user " if you don't wish to use secure access to folder (Please note code provided is only for example)
Configure XUploadConfig.pm redirect_link to point to http://yoursite.com/uploads, configure url_post to an empty reference
Don't forget to Configure XUploadConfig.pm to point to the new location of your uploads folder. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot 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
|
Powered by phpBB © 2001, 2005 phpBB Group
|