0

I have 2 apps that I've build with laravel. For now those apps are running in itself domain like app1.com and app2.com, For the reqs those apps needs to be merged to one superapp. the domain app1.com gonna be the domain.

The folder structure like below:

App1
   > app
   > public
   ...
   > * app1 laravel folders
   ...
   > subapp
      > App2
         > app
         > public
         ...
         > * app2 laravel folders
         ...

I have tried so many configs in .htaccess to access the subapp for app2 in app1.com/app2 but it keeps giving me 500 or 404 errors.

Am I missing something? How to make it possible?

2
  • what is your purpose of doing this? Commented Nov 29, 2021 at 4:26
  • I want to access those 2 apps with just single domain name app1.com, every other apps except app1 can be access from first segment of url like app1.com/app2 Commented Nov 29, 2021 at 4:54

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.