CZPortal4Gamers Posted May 18, 2020 Posted May 18, 2020 Hello. After updating php then i cant access froxlor panel, because apache is targeting var/www/froxlor instead of var/www even when i have var/www set in 000-default Do u know where the problem can be? Thanks for answer
d00p Posted May 18, 2020 Posted May 18, 2020 then just copy the lib/userdata.inc.php to your froxlor installation and it will use the database specified there and won't say its not installed
d00p Posted May 18, 2020 Posted May 18, 2020 A PHP Update does not alter your Webserver configs. Also usually froxlor generates its own vhost (10_froxlor_*) so you don't need the default one.
CZPortal4Gamers Posted May 18, 2020 Author Posted May 18, 2020 Yeah, i know it shouldnt change, but it worked before so i dont really dong know what happened. I see, i deleted default configs and as i see froxlor configs looks alright, but apache is still targeting wrong folder 😕
CZPortal4Gamers Posted May 18, 2020 Author Posted May 18, 2020 Oh, no. My bad, froxlor configs are wrong, they are targetting var/www/froxlor instead of var/www/html/froxlor
d00p Posted May 18, 2020 Posted May 18, 2020 Froxlor uses (if not overwritten) the folder where its located in as docroot
CZPortal4Gamers Posted May 18, 2020 Author Posted May 18, 2020 Is there way to change that somehow when i cant acces that panel?
d00p Posted May 18, 2020 Posted May 18, 2020 you can always manually adjust the configs and restart apache - but be aware that the cronjob will overwrite it again (if anything changed). But it might be helpful to regain access and fix up a few things
CZPortal4Gamers Posted May 18, 2020 Author Posted May 18, 2020 Oh, so should i move that froxlor or can i safely change doc root to var/www/html ?
d00p Posted May 18, 2020 Posted May 18, 2020 noone said anything about moving froxlor....just adjust the docroot in the webserver-vhost config to regain access to the panel so you can check what might be wrong
CZPortal4Gamers Posted May 18, 2020 Author Posted May 18, 2020 Yeah i know, sorry for that im just seeing your reply delayed every time
CZPortal4Gamers Posted May 18, 2020 Author Posted May 18, 2020 How can i change doc root when apache2 is ignoring default configs?
d00p Posted May 18, 2020 Posted May 18, 2020 Sorry, don't know what you mean. You sould have a bunch of vhost configs from froxlor in /etc/apache2/sites-enabled/, if not, either the cronjob never ran or your settings are wrong. As said, froxlor uses its own vhost config which is the one starting with 10_froxlor_[...].conf
CZPortal4Gamers Posted May 18, 2020 Author Posted May 18, 2020 I changed it and it says froxlor isnt installed 😕 But it was
CZPortal4Gamers Posted May 18, 2020 Author Posted May 18, 2020 It looks like something deleted my previous installation and i had it in var/www/froxlor the whole time, because there is froxlor folder with just lib and userdata in it
CZPortal4Gamers Posted May 18, 2020 Author Posted May 18, 2020 Thank you, you are the best. Sorry for me beind dumb, i dont know how i removed all the files there
Question
CZPortal4Gamers
Hello. After updating php then i cant access froxlor panel, because apache is targeting var/www/froxlor instead of var/www even when i have var/www set in 000-default
Do u know where the problem can be? Thanks for answer
15 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.