# Sharing file error

**URL:** <https://forum.pydio.com/t/sharing-file-error/2238>\
**Category:** Pydio Cells\
**Created:** [March 11, 2019, 8:06am UTC](https://forum.pydio.com/t/sharing-file-error/2238 "2019-03-11T08:06:22Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![corradiniste](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@corradiniste](https://forum.pydio.com/u/corradiniste)\
**Post date:** [March 11, 2019, 8:06am UTC](https://forum.pydio.com/t/sharing-file-error/2238/1 "2019-03-11T08:06:22Z")

</div>

When I try to share any file I have this error for public sharing, see the attchments.

 ![09](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/834316cb30e41ac1604d4c9bc6288d3c9971857e.png)

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [March 11, 2019, 8:07am UTC](https://forum.pydio.com/t/sharing-file-error/2238/2 "2019-03-11T08:07:40Z")

</div>

Hi,  
could you tell me your OS, database version and php, if it is a pydio 8.

Also did you enable the rewrite rules on apache?

---

<div class="post-metadata">

**Author:** ![corradiniste](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@corradiniste](https://forum.pydio.com/u/corradiniste)\
**Post date:** [March 11, 2019, 8:19am UTC](https://forum.pydio.com/t/sharing-file-error/2238/3 "2019-03-11T08:19:04Z")

</div>

Client : Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_14\_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36  
Crypto Extension Detected : OpenSSL  
Command Line Available : Yes  
DOM Enabled : Yes  
Exif Enabled : Yes  
GD Enabled : Yes  
Upload Max Size : 2000M  
Memory Limit : 1024M  
Max execution time : 300  
Safe Mode : 0  
Safe Mode GID : 0  
Xml parser enabled : 1  
Server OS : Linux  
Session Save Path : /home/athemovv/php\_sessions  
Session Save Path Writeable : Yes  
PHP Version : 7.2.15  
Locale : C  
Directory Separator : /  
PHP Opcode Cache extension loaded : Yes  
PHP INTL extension loaded : Yes  
PHP Output Buffer disabled : Yes  
PHP File Uploads enabled : Yes  
Magic quotes disabled : Yes  
Upload Tmp Dir Writeable : Yes  
PHP Upload Max Size : 2097152000  
PHP Post Max Size : 2097152000  
Users enabled : Yes  
Guest enabled : No  
Writeable Folders : [ **cache** :true,  
 **data** :true]  
Zlib Enabled : Yes

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [March 11, 2019, 8:31am UTC](https://forum.pydio.com/t/sharing-file-error/2238/4 "2019-03-11T08:31:10Z")

</div>

thanks,  
now let’s see if you have the right configurations on apache, do you have the `rewrite` rules also did you modify the `AllowOverride` to `All` (this setting is inside the apache2.conf) and/or inside your virtual host file like this:

```auto
<Directory /var/www/pydio/>
      AllowOverride All
      Require all
</Directory>

```

---

<div class="post-metadata">

**Author:** ![corradiniste](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@corradiniste](https://forum.pydio.com/u/corradiniste)\
**Post date:** [March 11, 2019, 8:50am UTC](https://forum.pydio.com/t/sharing-file-error/2238/5 "2019-03-11T08:50:42Z")

</div>

I have to modify the htaccess file?

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [March 11, 2019, 9:06am UTC](https://forum.pydio.com/t/sharing-file-error/2238/6 "2019-03-11T09:06:08Z")

</div>

If you are using it yes,  
for my case i’m using a vhost/

---

<div class="post-metadata">

**Author:** ![corradiniste](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@corradiniste](https://forum.pydio.com/u/corradiniste)\
**Post date:** [March 11, 2019, 9:57am UTC](https://forum.pydio.com/t/sharing-file-error/2238/7 "2019-03-11T09:57:54Z")

</div>

My shared hosting not consent this kind of settings.  
Do you have any other suggestions for fix this issue?

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [March 11, 2019, 11:08am UTC](https://forum.pydio.com/t/sharing-file-error/2238/8 "2019-03-11T11:08:59Z")

</div>

Unfortunately this must be changed,  
you can see on the first paragraph that this setting has that impact,  
here: [http://www.htaccess-guide.com/](http://www.htaccess-guide.com/)

and also i assumed that your webserver was apache but could you confirm that this apache mod is enabled, `rewrite` (you can `a2enmod rewrite` & then restart apache).

---

<div class="post-metadata">

**Author:** ![corradiniste](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@corradiniste](https://forum.pydio.com/u/corradiniste)\
**Post date:** [March 12, 2019, 10:17am UTC](https://forum.pydio.com/t/sharing-file-error/2238/9 "2019-03-12T10:17:47Z")

</div>

> [@corradiniste](#):
>
> Client : Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_14\_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36  
> Crypto Extension Detected : OpenSSL  
> Command Line Available : Yes  
> DOM Enabled : Yes  
> Exif Enabled : Yes  
> GD Enabled : Yes  
> Upload Max Size : 2000M  
> Memory Limit : 1024M  
> Max execution time : 300  
> Safe Mode : 0  
> Safe Mode GID : 0  
> Xml parser enabled : 1  
> Server OS : Linux  
> Session Save Path : /home/athemovv/php\_sessions  
> Session Save Path Writeable : Yes  
> PHP Version : 7.2.15  
> Locale : C  
> Directory Separator : /  
> PHP Opcode Cache extension loaded : Yes  
> PHP INTL extension loaded : Yes  
> PHP Output Buffer disabled : Yes  
> PHP File Uploads enabled : Yes  
> Magic quotes disabled : Yes  
> Upload Tmp Dir Writeable : Yes  
> PHP Upload Max Size : 2097152000  
> PHP Post Max Size : 2097152000  
> Users enabled : Yes  
> Guest enabled : No  
> Writeable Folders : [ **cache** :true,  
> **data** :true]  
> Zlib Enabled : Yes

My hosting says that is a bug of the CMS

---

<div class="post-metadata">

**Author:** ![corradiniste](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@corradiniste](https://forum.pydio.com/u/corradiniste)\
**Post date:** [March 18, 2019, 2:07pm UTC](https://forum.pydio.com/t/sharing-file-error/2238/10 "2019-03-18T14:07:04Z")

</div>

Have you got any updates?

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [March 18, 2019, 2:20pm UTC](https://forum.pydio.com/t/sharing-file-error/2238/11 "2019-03-18T14:20:29Z")

</div>

Hi,  
unless we could modify the webserver’s config file, i cannot see what we could do to move on.

So basically you access your pydio instance through this url [http://repository.themovimagecompany.it](http://repository.themovimagecompany.it),  
in the main options you should have the same url (you can replace my 192.168.0.116, with yours):

 ![19](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/9bd3ab9d8bfe68ec78fb1a15dfb2bf166c4158fc.png)

Yeah my guess is that you do not have the allow override setting.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/6/61f19fa52ec15fd4250db51aea351adba0e831fd.png) [@system](https://forum.pydio.com/u/system)\
**Post date:** [May 16, 2023, 10:30am UTC](https://forum.pydio.com/t/sharing-file-error/2238/12 "2023-05-16T10:30:11Z")

</div>

Closed on May 16, 2023, 10:30am UTC

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