Skip to content

Playing nice with Laravel backend on Apache #46

Open
@bilogic

Description

@bilogic
  1. I'm exploring how I can merge vitepress with Laravel
  2. I have configured Laravel to respond to https://example.com/laravel and copied all of vitepress dist into the root of the domain
  3. So, when I visit https://example.com, I see vitepress
  4. I navigate to https://example.com/laravel, and expected to see the Laravel page, but instead see vitepress' 404
  5. If I were to press ctrl + F5 or ctrl + shift + R, I was able to break out of vitepress' 404 page and see Laravel's HTML
  6. I double checked by running curl https://example.com/laravel, I see the HTML belongs to the Laravel page
  7. So strictly speaking, I believe Apache is configured correctly
  8. What would be great is if there is a way for vitepress to let /laravel (and others) through to the server, but still be able to run offline

Possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions