View previous topic :: View next topic |
Author |
Message |
dzjc -
Joined: 27 May 2016 Posts: 1
|
Posted: Fri May 27, 2016 6:58 pm Post subject: Documents Path or Aliases? |
|
|
I have Abyss web server running great, but I have some other documents (PDFs and tutorial videos) that are on another drive. How can I add a reference to the other drive? Do I add this to a documents path, or is this an alias?
Thanks |
|
Back to top |
|
|
admin Site Admin
Joined: 03 Mar 2002 Posts: 1300
|
Posted: Wed Jun 01, 2016 5:55 pm Post subject: Re: Documents Path or Aliases? |
|
|
dzjc wrote: | I have Abyss web server running great, but I have some other documents (PDFs and tutorial videos) that are on another drive. How can I add a reference to the other drive? Do I add this to a documents path, or is this an alias?
Thanks |
This is the typical use case of aliases in Abyss Web Server. For example, create a new alias with virtual path /docs and with the real path D:\save\documents (for example).
This will make any URL of the form http://yoursite/docs/myreport.pdf directly serve file D:\save\documents\myreport.pdf regardless of the documents path and other settings. _________________ Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com |
|
Back to top |
|
|
|