# Version 4.9 : '405 Method not allowed' when accessing to the root of the site

**URL:** https://discuss.tryton.org/t/version-4-9-405-method-not-allowed-when-accessing-to-the-root-of-the-site/760
**Category:** Developer
**Created:** [September 26, 2018, 10:41am UTC](https://discuss.tryton.org/t/version-4-9-405-method-not-allowed-when-accessing-to-the-root-of-the-site/760 "2018-09-26T10:41:46Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![2cadz](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/2cadz/32/130_2.png) [@2cadz](https://discuss.tryton.org/u/2cadz)
#### Post date: [September 26, 2018, 10:41am UTC](https://discuss.tryton.org/t/version-4-9-405-method-not-allowed-when-accessing-to-the-root-of-the-site/760/1 "2018-09-26T10:41:46Z")

</div>

Hi,

When I try to access the root of the site under Tryton 4.9 I have the following message:

> 405 Method not allowed

but when I access the page ‘/index.html’ all work correctly.

- Python V.3.4.2
- Tryton is installed from sources on a Debian Jessie
- The Python libraries are installed from the debian packages except for those that are not in the right version or do not exist so I installed them with pip3: python3-stdnum relatorio stripe febelfin-coda simpleeval python-sql cached\_property zeep csb43 passlib vatnumber
- Nodejs V8.12.0

An idea ?

Regards.

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [September 26, 2018, 11:05am UTC](https://discuss.tryton.org/t/version-4-9-405-method-not-allowed-when-accessing-to-the-root-of-the-site/760/2 "2018-09-26T11:05:32Z")

</div>

On which folder do you have sao installed and which value are you using on the root value of the www section of your configuration file?

---

<div class="post-metadata">

### Author: ![2cadz](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/2cadz/32/130_2.png) [@2cadz](https://discuss.tryton.org/u/2cadz)
#### Post date: [September 26, 2018, 12:10pm UTC](https://discuss.tryton.org/t/version-4-9-405-method-not-allowed-when-accessing-to-the-root-of-the-site/760/3 "2018-09-26T12:10:26Z")

</div>

Hi Sergi,

I do not have a ‘www’ section, but in my ‘web’ section the root value is the path to the sao directory

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [September 26, 2018, 12:35pm UTC](https://discuss.tryton.org/t/version-4-9-405-method-not-allowed-when-accessing-to-the-root-of-the-site/760/4 "2018-09-26T12:35:27Z")

</div>

> [@2cadz](#):
>
> I do not have a ‘www’ section, but in my ‘web’ section the root value is the path to the sao directory

Yes, this is the correct section sorry. Does this path end with the path separator? I found this fixed some issues some times.

---

<div class="post-metadata">

### Author: ![2cadz](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/2cadz/32/130_2.png) [@2cadz](https://discuss.tryton.org/u/2cadz)
#### Post date: [September 26, 2018, 12:48pm UTC](https://discuss.tryton.org/t/version-4-9-405-method-not-allowed-when-accessing-to-the-root-of-the-site/760/5 "2018-09-26T12:48:24Z")

</div>

Same thing with or without the end separator

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [February 5, 2019, 8:09am UTC](https://discuss.tryton.org/t/version-4-9-405-method-not-allowed-when-accessing-to-the-root-of-the-site/760/6 "2019-02-05T08:09:14Z")

</div>

Are you sure the `[web] root` is pointing in the right folder? Are you sure the trytond process can read sao content?

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [February 5, 2019, 2:46pm UTC](https://discuss.tryton.org/t/version-4-9-405-method-not-allowed-when-accessing-to-the-root-of-the-site/760/7 "2019-02-05T14:46:03Z")

</div>

3 posts were split to a new topic: [Tryton configuration file for sao](https://discuss.tryton.org/t/tryton-configuration-file-for-sao/1107)
