Comments (10)
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.
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.
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.
Browsing through some Mamp related alias issues I wouldn't be surprised if the Alias directive is badly implemented in Mamp.
from multi-tenant.
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 .env
file for each tenant?
Thanks for this amazing package.
from multi-tenant.
That actually crossed my mind, but I wondered how that would look if you had 200 of them 😀
from multi-tenant.
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.
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.
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.
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)
- CacheServiceeProvider tenant identification for background processes HOT 2
- Migration to another server HOT 1
- Spreading tenants over multiple servers is not working HOT 1
- Tenants with and without subdomains, is it possible? HOT 1
- Migrate command
- multi-tenant + laravel octane? HOT 4
- Changing Hostname of tenants HOT 2
- Laravel 9 support HOT 5
- How do i overwrite views? Not getting it right... HOT 1
- Command "tenancy:migrate" is not defined. HOT 5
- Memory leak when running phpunit HOT 2
- queue retry uses system db connection instead of tenant
- Question : can same tenant accessed by a multiple endpoint? by IPaddress or by FQDN
- How can we separate databases by region or Instance ? HOT 3
- "PDOException: There is no active transaction" when creating a tenant (PHP 8).
- The command apachectl -t failed
- Laravel 10 support HOT 16
- artisan tenancy:migrate:refresh --seeder=* --website_id=1 seed all tenant websites
- Upgrade MySQL version from 5.7 to 8 in Laravel Hyn/Multi-Tenant setup without changing PHP, Laravel, or Hyn version
- Pest test returning Unauthenticated. when creating website.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multi-tenant.