GithubHelp home page GithubHelp logo

Comments (10)

luceos avatar luceos commented on May 18, 2024 1

I'm not seeing anything wrong in the code snippets you provide. I guess you're sure the images are not identical? 😁

from multi-tenant.

Krato avatar Krato commented on May 18, 2024

Sure mate. Are not the same. But I don't know why Is not working. I'm a little bit frustrated :(.

I need to add this to my hosts file yes?

127.0.0.1   starter.on
127.0.0.1   prueba.on

from multi-tenant.

luceos avatar luceos commented on May 18, 2024

I need to add this to my hosts file yes?

If you're running your application locally, that might be the case, but it depends on the OS you run on. But you seem to hit the application, so it should be fine.

Some things we could do to debug:

  • Try creating a third tenant site and add another image, check which image file it hits now.
  • Try renaming the image file so they are not identical.

I understand the frustration, this package is a complex whole, so please have some patience. We'll work towards a solution.

from multi-tenant.

luceos avatar luceos commented on May 18, 2024

Browsing through some Mamp related alias issues I wouldn't be surprised if the Alias directive is badly implemented in Mamp.

from multi-tenant.

Krato avatar Krato commented on May 18, 2024

Ok, thanks. I'm installing a Virtual Machine with Ubuntu in my MAC for testing. I will give you feedback about this issue.

Just a question. Did you thing about add a custom .envfile for each tenant?

Thanks for this amazing package.

from multi-tenant.

luceos avatar luceos commented on May 18, 2024

That actually crossed my mind, but I wondered how that would look if you had 200 of them 😀

from multi-tenant.

Krato avatar Krato commented on May 18, 2024

Yes, but if you need some configuration you need to create config files inside each tenant config folder. So, is the same not?

from multi-tenant.

luceos avatar luceos commented on May 18, 2024

I could allow env files to be read from the tenant directory. If you want that feature, feel free to open an issue or send in a PR.

from multi-tenant.

Krato avatar Krato commented on May 18, 2024

Well about this topic I found a little solution. If I merge all conf files in one config file and call from httpd.conf, alias works fine. So I think I will do that while working on localhost.

from multi-tenant.

luceos avatar luceos commented on May 18, 2024

I'm unsure whether this is a package issue, it certainly has to do with Apache and MAMP in that sense. If this issue arises outside of a localhost environment onto a production environment I'll consider further investigation.

from multi-tenant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.