#Deploy Laravel InertiaVueJS Application on Subdirectory

7 messages · Page 1 of 1 (latest)

weak glacier
#

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?

GitHub

GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 330 million projects.

balmy harness
weak glacier
#

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

balmy harness
weak glacier
#

requirement of the company

balmy harness
#

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.

weak glacier