phpsword / sword-bundle

Modern WordPress development with Symfony
https://getsword.com
MIT License
124 stars 4 forks source link

Add apache support? #17

Open michelbrons opened 1 year ago

michelbrons commented 1 year ago

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?