# Hosting a package manager repository on here

**URL:** <https://forum.infinityfree.com/t/hosting-a-package-manager-repository-on-here/67408>\
**Category:** Hosting Support\
**Created:** [October 19, 2022, 6:02am UTC](https://forum.infinityfree.com/t/hosting-a-package-manager-repository-on-here/67408 "2022-10-19T06:02:59Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon25855172](https://forum.infinityfree.com/letter_avatar/anon25855172/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon25855172](https://forum.infinityfree.com/u/anon25855172)\
**Post date:** [October 19, 2022, 6:02am UTC](https://forum.infinityfree.com/t/hosting-a-package-manager-repository-on-here/67408/1 "2022-10-19T06:02:59Z")

</div>

### epiz\_32818981 | repo.cf

Hey there.  
I’m just wondering if I’m able to turn off something that allows a browser/pkg manager to preview a file such as a txt file in the browser rather than forcing it to download? Please help.

---

<div class="post-metadata">

**Author:** ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)\
**Post date:** [October 19, 2022, 6:13am UTC](https://forum.infinityfree.com/t/hosting-a-package-manager-repository-on-here/67408/2 "2022-10-19T06:13:09Z")

</div>

Free hosting is meant for web hosting, not file hosting

---

<div class="post-metadata">

**Author:** ![anon25855172](https://forum.infinityfree.com/letter_avatar/anon25855172/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon25855172](https://forum.infinityfree.com/u/anon25855172)\
**Post date:** [October 19, 2022, 6:13am UTC](https://forum.infinityfree.com/t/hosting-a-package-manager-repository-on-here/67408/3 "2022-10-19T06:13:43Z")

</div>

web hosting is also file hosting. checkm8.

---

<div class="post-metadata">

**Author:** ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)\
**Post date:** [October 19, 2022, 6:17am UTC](https://forum.infinityfree.com/t/hosting-a-package-manager-repository-on-here/67408/4 "2022-10-19T06:17:26Z")

</div>

Did you read this when you sign up for free hosting?

 ![image](https://forum-cdn.infinityfree.net/original/3X/f/a/fab03c78d4b1b8f61a83574b3a81044f53cfa65c.png)

> [@What can I do with my hosting account](https://forum.infinityfree.com/t/what-can-i-do-with-my-hosting-account/49316):
>
> So you got your completely free hosting account, Great! So now you’re wondering, what can (and can’t) you do with your new hosting account? What can I do with my free hosting account? You now have a website hosting account with PHP and MySQL, so now you can create your website! What kind of website you may ask? The options are too many to list! You can create a blog, forum, online store, portfolio site, landing page, personal home page or almost any other type of website you can think of. And…

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [October 19, 2022, 12:11pm UTC](https://forum.infinityfree.com/t/hosting-a-package-manager-repository-on-here/67408/5 "2022-10-19T12:11:54Z")

</div>

> [@anon25855172](#):
>
> web hosting is also file hosting

While it is a type of file hosting, each web hosting provider has the right to limit what you can and can’t do with their services.

If you read the Terms of Service, which you are legally bound to, you would know that InfinityFree does not allow file hosting.

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [October 19, 2022, 2:18pm UTC](https://forum.infinityfree.com/t/hosting-a-package-manager-repository-on-here/67408/6 "2022-10-19T14:18:30Z")

</div>

You can control how a browser loads a file by adding a `Content-Disposition` header to the response. By setting this to “attachment”, you tell the browser the file should be downloaded and not viewed.

Here is an example from StackOverflow on how to do this in PHP:

> <https://stackoverflow.com/questions/8875949/how-to-implement-content-disposition-attachment/8876185#8876185>

---

<div class="post-metadata">

**Author:** ![anon25855172](https://forum.infinityfree.com/letter_avatar/anon25855172/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon25855172](https://forum.infinityfree.com/u/anon25855172)\
**Post date:** [October 20, 2022, 2:05pm UTC](https://forum.infinityfree.com/t/hosting-a-package-manager-repository-on-here/67408/7 "2022-10-20T14:05:15Z")

</div>

my site is neither forex, banking, or url shortening, while i used to run a url shortening service on here, it no longer exists.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [October 27, 2022, 2:05pm UTC](https://forum.infinityfree.com/t/hosting-a-package-manager-repository-on-here/67408/8 "2022-10-27T14:05:40Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
