Could someone help me? [SOLVED]
Could someone help me?
Thank you.
When trying to access the installation link: "You don't have permission to access this resource. Server unable to read htaccess file, denying access to be safe" 403 Forbidden
Server log: "Permission denied: [remote IP:63573] AH00529: /home/users/edited/install/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/users/edited/cliente/install/' is executable"
PHP version: 8.3
Ubuntu: 20.04
Re: Could someone help me?
have you checked the owner and rights of the folders and files?
Did you shorten the path here or do you try to install it above the www folder?/home/users/edited/install/.htaccess pcfg_openfile
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: Could someone help me?
Thank you Florian for responding, answering your questions in the order you wrote them.
Yes, I have verified the ownership of the folders and files.
I am trying to install from a subdomain using KeyHelp's default method of creating subdomains.
Re: Could someone help me?
like Florian already hinted:
The path should be like in 2) and not like 1)
Code: Select all
1) /home/users/edited/install/.htaccess pcfg_openfile
2) /home/users/edited/www/install/.htaccess pcfg_openfile
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: Could someone help me?
Thank you Florian and Alexander for your reply. I managed to solve the problem by downloading a previous version of this financial manager. The previous version installed normally, but the new one doesn't, so I believe there must be something wrong with the new version of this financial manager.Alexander wrote: ↑Thu 17. Oct 2024, 09:28 Hello,
like Florian already hinted:
The path should be like in 2) and not like 1)
You try to install it above the www directory, where the Apache web server has no rights to access it (and you would not be able to assign a subdomain to this path).Code: Select all
1) /home/users/edited/install/.htaccess pcfg_openfile 2) /home/users/edited/www/install/.htaccess pcfg_openfile
Thank you very much again.
Re: Could someone help me? [SOLVED]
1) I created a user for fossbilling (not required).
2) I created a subfolder in the users home directory called "fossbilling/".
(Example real path: /home/users/my-user/www/fossbilling/)
3) I downloaded FossBilling and uploaded it to this subfolder.
4) Fossbilling does not like to be called from a URL with subfolder (https://my-domain.de/fossbilling/) instead, change the target-directory of the domain to the fossbilling subfolder, so that you can access it with https://my-domain.de (or in your example https://subdomain.my-domain.de)
5) No comes the important part: FossBilling has default folder rights of 0700 (rwx --- ---), so it can only be read by the user account and not the web server. To be read by the web server, they should have 0755 (rwx r-x r-x)
You can now go on and change the folder privileges of all folders and their subfolders (and their subfolders and so on) by hand (very tedious) or you just call this command as a root user on your server:
Code: Select all
find <PATH_TO_YOUR_FOSSBILLING_INSTALLATION_FOLDER> -type d -exec chmod 0755 {} \;
Afterwards, you can access the URL and start the real install.
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: Could someone help me?
Thank you very much Alexander for taking the time to install and provide me with this information.Alexander wrote: ↑Thu 17. Oct 2024, 14:57 I have tried to install the current version and manage to start the install process - here is how i did it:
1) I created a user for fossbilling (not required).
2) I created a subfolder in the users home directory called "fossbilling/".
(Example real path: /home/users/my-user/www/fossbilling/)
3) I downloaded FossBilling and uploaded it to this subfolder.
4) Fossbilling does not like to be called from a URL with subfolder (https://my-domain.de/fossbilling/) instead, change the target-directory of the domain to the fossbilling subfolder, so that you can access it with https://my-domain.de (or in your example https://subdomain.my-domain.de)
5) No comes the important part: FossBilling has default folder rights of 0700 (rwx --- ---), so it can only be read by the user account and not the web server. To be read by the web server, they should have 0755 (rwx r-x r-x)
You can now go on and change the folder privileges of all folders and their subfolders (and their subfolders and so on) by hand (very tedious) or you just call this command as a root user on your server:
This will update all folders within the fossbilling folder to have folder privileges of 0755.Code: Select all
find <PATH_TO_YOUR_FOSSBILLING_INSTALLATION_FOLDER> -type d -exec chmod 0755 {} \;
Afterwards, you can access the URL and start the real install.
I appreciate your kindness.