0

I'm working on a project with a VueJS frontend and a Api Platform backend. I'm trying to publish it through a Plesk Installation but I can't manage to make it work. I have set up my VueJS without any problem and it is online. However, I'd like to host my api using a subfolder. I tried several settings but I always get a 404 error when hitting my-domain.com/api. The server is running on AlmaLinux 8 and Plesk 18.

My structure is the following :

/httpdocs

--/dist (VueJS)

--/api (Api Platform)

Do you have any idea? Is this type of structure doable with Plesk?

Tried to add an .htaccess file to redirect requests but without success. Maybe the configuration wasn't right.

Thanks!

New contributor
Sparky is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

0

Browse other questions tagged or ask your own question.