Open link in a new tab

Content

Expand project menu

Unable to create a project called sys, system ...

Hi,

i try to create a project call system but when i do that every time i got an error :

Forbidden
You don't have permission to access /projects/system-test/settings on this server.

same error with all project with a name starting with sys

i can create a project call sy or somethingsystem

Any idea ?

Thanks

Message actions

Hi Jean-François,

I’m sorry, but I don’t know what you mean with project call system. Could you please specify some more?

Thanks,

Jonas

Message actions

Hi Jonas,

I mean the name of the project or subproject.

If i create a project with the Name “system” when i save -> 403 Forbidden
You don’t have permission to access /projects/system/settings on this server.

The project is created, i can see it in the list via Administration -> Projects. But when i try to access to this project i got the same error.

I hope it is clearer

Thanks

Jean-François

Message actions

Could you post the relevant part of the log here?

Thanks,

Jonas

Message actions

I think what Jean-François meant is the problem I hit, too: the Apache configuration /etc/openproject-ce/addons/apache2/includes/vhost/sys.conf contains a LocationMatch on /sys, which means that no URL on OpenProject that ever contains sys (so, in my case /projects/sysadmin-documentation/settings) can be accessed.

I would guess that rule meant to match on “^/sys”?

Stefan

Message actions

Hi Stefan,

that seems to be correct. Thanks for your help!

I created a pull request against the relevant repo.

Thanks again and best,

Jonas