I built an item configuration application. Now i want to deploy it on a subdirectory. With Inertia there's a bug, which should be fixed using this workaround: https://github.com/inertiajs/inertia-laravel/pull/360. I am using Apache2 as a webserver and i want to host the application in a subdirectory like yourdomain.com/itemconfigurator . The first page shows the welcome page, but when i want to route to another page, the pages aren't displayed. I set the APP_URL to IP_ADDRESS/itemconfigurator and i tried to change the vite.config.js to change the base. But nonetheless it doesn't work. Do you have an idea how to solve this?
#Deploy Laravel InertiaVueJS Application on Subdirectory
7 messages · Page 1 of 1 (latest)
Why are you trying to put it in a subdomain? What’s at the root domain?
At the root domain, theres the company's page. At the subdomain there's a ticket system and in the subdirectory there should be the itemconfigurator
Why not just put the “item configurator” under another subdomain?
requirement of the company
You’re just making your life difficult as to be completely secure, you need to install the “guts” of the application somewhere else that isn’t web-accessible, then upload the public/index.php file but start updating paths.
The item configurator changes the database values of the ticketsystem. So it should be on the same server. and the ticketsystem works at subdomain.domain.com and the application should work on subdomain.domain.com/application