News for hackers. Stuff that matters.
Re:An Internet of PHP by tacker2000 on Saturday September 09, 2023 @07:34AM (#37444200)
Your comment makes no sense. How is that framework or PHP specific? Its simply a misconfiguration the server.
Re:An Internet of PHP by gumballindie on Saturday September 09, 2023 @09:10AM (#37444947)
Some frameworks in the old days of PHP relied on .htaccess files to restrict access to unwanted files. Properly implemented frameworks would load everything from a directory above the documentroot to avoid these issues.
Re:An Internet of PHP by tacker2000 on Saturday September 09, 2023 @10:32AM (#37445892)
.htaccess is a config file type used by the Apache web server.

The server software reads the config file and then decides if the folder can be accessed externally or not.

It has nothing to do with PHP what framework or any other language you are running.

Re:An Internet of PHP by gumballindie on Sunday September 10, 2023 @05:52PM (#37460455)
> .htaccess is a config file type used by the Apache web server.

Yup. That's why I am saying that in the past .htaccess used to be used, but modern php frameworks no longer rely on it. Poor phrasing on my end.