I know nginx is better and faster, but my server hosts multiple websites with DirectAdmin and Apache.
Maybe it is an idea to add support for default direct admin apache servers? I guess it will support a wide range of users.
There is an apache symfony plugin that adds the htaccess in the public folder.
I think it's a good idea to create a new .htaccess in the public_html folder that will forward and forward page requests to public_html/public/.
This way you don't have to change anything in the configuration of directadmin.
If you later want to switch to a dedicated server, the structure does not have to be adjusted.
I am modifying and testing this locally for my own project, but my knowledge of web server configuration is limited.
I know nginx is better and faster, but my server hosts multiple websites with DirectAdmin and Apache.
Maybe it is an idea to add support for default direct admin apache servers? I guess it will support a wide range of users.
There is an apache symfony plugin that adds the htaccess in the public folder. I think it's a good idea to create a new .htaccess in the public_html folder that will forward and forward page requests to public_html/public/. This way you don't have to change anything in the configuration of directadmin. If you later want to switch to a dedicated server, the structure does not have to be adjusted.
I am modifying and testing this locally for my own project, but my knowledge of web server configuration is limited.
what are your thoughts about this?