Link to my external harddrive?

Discussion of non-phpBB related topics with other phpBB.com users.
Forum rules
General Discussion is a bonus forum for discussion of non-phpBB related topics with other phpBB.com users. All site rules apply.
Post Reply
Dckolt
Registered User
Posts: 1
Joined: Sat Mar 30, 2019 5:56 am

Link to my external harddrive?

Post by Dckolt »

Hello!

I just got a web server up and running and installed phpBB.

Is it possible for me to create a new topic and then link to a file on my external harddrive?

The server is running on ubuntu and the path is: /media/hero/storage4/traningc2.rar

I tried messing around with [url=file://media/hero/storage4/traning2.rar]Traning video #2[/url]

But it just shows up in plain text.

Then i thought about changing the upload directory to my external harddrive and just upload trough the forum, but i cant seem to get that to work either? I tried typing in the local path but not sure if this is even possible.

I hope somebody can help me out, im pretty new at this :)
.m.
Registered User
Posts: 539
Joined: Wed Nov 04, 2009 8:39 pm

Re: Link to my external harddrive?

Post by .m. »

even if your hard disk can be linked, it will be available to you alone.

its better to sync to a popular storage hosting system (eg. google drive)
& use its web links
User avatar
Prosk8er
Registered User
Posts: 1744
Joined: Sun Mar 12, 2006 3:30 am
Location: Rochester, NY
Name: Tyler
Contact:

Re: Link to my external harddrive?

Post by Prosk8er »

you could just drag those files you want into a directory on your site like http://yoursite.com/storage/ and link to it
or you could attach them in posts
Dckolt
Registered User
Posts: 1
Joined: Sat Mar 30, 2019 5:56 am

Re: Link to my external harddrive?

Post by Dckolt »

.m. wrote: Sat Mar 30, 2019 9:10 am even if your hard disk can be linked, it will be available to you alone.

its better to sync to a popular storage hosting system (eg. google drive)
& use its web links
I just wanted to host everything on my own web server :D

Just like making a attachment to a post on the forum, that link directs to "files" on my computer but the problem is the drive the web server is installed on isnt very big and thats why i have a external harddrive plugged in and then i wanted to link to the bigger files there.
Prosk8er wrote: Sat Mar 30, 2019 12:20 pm you could just drag those files you want into a directory on your site like http://yoursite.com/storage/ and link to it
or you could attach them in posts
The web server is installed on a very small drive :/ Its a laptop with limited upgrade possibilities, so i plugged in a external harddrive and wanted to link to those files.
User avatar
Prosk8er
Registered User
Posts: 1744
Joined: Sun Mar 12, 2006 3:30 am
Location: Rochester, NY
Name: Tyler
Contact:

Re: Link to my external harddrive?

Post by Prosk8er »

Dckolt wrote: Sat Mar 30, 2019 2:38 pm The web server is installed on a very small drive :/ Its a laptop with limited upgrade possibilities, so i plugged in a external harddrive and wanted to link to those files.
ah i see you might be better off trying to ask on apache website(assuming thats what your using)
but i did do a quick search and came up with https://httpd.apache.org/docs/2.4/urlmapping.html
Dckolt
Registered User
Posts: 1
Joined: Sat Mar 30, 2019 5:56 am

Re: Link to my external harddrive?

Post by Dckolt »

Prosk8er wrote: Sat Mar 30, 2019 2:47 pm
Dckolt wrote: Sat Mar 30, 2019 2:38 pm The web server is installed on a very small drive :/ Its a laptop with limited upgrade possibilities, so i plugged in a external harddrive and wanted to link to those files.
ah i see you might be better off trying to ask on apache website(assuming thats what your using)
but i did do a quick search and came up with https://httpd.apache.org/docs/2.4/urlmapping.html
Ahh thank you mate, thats what i was looking for!

Noob signing off!
User avatar
Prosk8er
Registered User
Posts: 1744
Joined: Sun Mar 12, 2006 3:30 am
Location: Rochester, NY
Name: Tyler
Contact:

Re: Link to my external harddrive?

Post by Prosk8er »

Dckolt wrote: Sat Mar 30, 2019 3:44 pm Ahh thank you mate, thats what i was looking for!

Noob signing off!
your welcome let me know how it works out
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Link to my external harddrive?

Post by Lumpy Burgertushie »

is this board /site open to the world? if you are hosting a website on your home server then your ISP could shut down your internet. most of them do not allow this. also, unless you know what you are doing, opening up a web server to the world is very unsecure and will make all of your network open to the public.

with the price of hosting so cheap it just does not make any sense to do this if you are at all serious about your website.


robert
User avatar
AmigoJack
Registered User
Posts: 6108
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: Link to my external harddrive?

Post by AmigoJack »

Dckolt wrote: Sat Mar 30, 2019 2:38 pm
Prosk8er wrote: Sat Mar 30, 2019 12:20 pm you could just drag those files you want into a directory on your site like http://yoursite.com/storage/ and link to it
The web server is installed on a very small drive :/ Its a laptop with limited upgrade possibilities, so i plugged in a external harddrive and wanted to link to those files.
Create a hard link inside your HTTP server root to any path of your external HDD. Problem solved.
Post Reply

Return to “General Discussion”