Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#41298 - [roundcubemail] Drop a open_basedir config in php.d
Attached to Project:
Community Packages
Opened by Sébastien Luttringer (seblu) - Tuesday, 22 July 2014, 17:58 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 26 February 2015, 17:26 GMT
Opened by Sébastien Luttringer (seblu) - Tuesday, 22 July 2014, 17:58 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 26 February 2015, 17:26 GMT
|
DetailsCould we ship a sexy php open_basedir restriction for roundcubemail in /etc/php/conf.d/ as it's done in dokuwiki package.
Attached my file. |
This task depends upon
roundcubemail.ini
I had to remove it otherwise I get Access denied to most of my subdomains / subfolders...
https://andrzejl.eu:30303/wordpress/2014/07/23/solved-access-denied-error-after-the-roundcubemail-1-0-2-1-1-0-2-2-upgrade/
Please nuke this file in next package.
Thanks.
Andrzej
As a consequence Nginx, lightthp setup miss that authorization in php.
I thought that putting this files, in this directory is the best way to tell to php, this paths are legit. We already do that with others software.
Andrezjl did not troubleshoot his problem, he remove the file and says it's ok.
@Andrezlj, what's your open_basedir setup? Did you comment the line in php.ini? Instead you could set open_basesir=/.
The rule that was added in the rc ini file was overwriting all my php openbase dir rules https://andrzejl.eu:30303/Microbin/9vZwx that was the trouble and I shot it by removing the file which had no business of being in there in the first place.
You say its a php problem? I say its a nginx problem. My setup worked fine with apache. You have to do is write a little snippet of info on arch wiki for roundcubemail to add this file if they use nginx. Adding it by default is not a solution.
Cheers.
Andrzej
P.S. Jaysus is my name really that difficult to spell? Hehehe :D
The added line starts by "open_basedir = ${open_basedir}:...", which should not override your open_basedir config, but append the paths of roundecubemail to your paths.
Dude, I'm not saying it's an apache problem versus other web servers, I said you don't provide enough information to understand why your apache/php config was broken by adding this file. That should be smooth and don't break your setup. We do that for other package, and nobody complain. So instead of just nuking the file, maybe, you could help to understand why this not works as expected.
Thanks for pasting your php.ini open_basedir config, i'm now wondering why the drop-in.d config override the open_basedir, instead of just being added to your previous php open_basedir directories. Do you have a suggestion? Do you have a special config.
https://andrzejl.eu:30303/Microbin/L2n81 here is a temporary list of all my current httpd / php configs for You to look at.
Cheers.
Andrzej