Search results

  1. X

    Basic auth realm always promting auth even the password is correct

    Ok the solution for me it was the permission vhost folder who was in 700, changing in 750 and that work, thank you to @Cold-Egg
  2. X

    Problem with dynamic subdomains

    But why during a normal connection there is no problem I encounter the problem only if I refresh the page domain.com/dashboard, with Rect i am in SPA, maybe it is with that the problem?
  3. X

    Problem with dynamic subdomains

    I understand, but I already answered your question a little higher by telling you that I don't use a CMS, I use React with Vite.
  4. X

    Problem with dynamic subdomains

    This is the error that is displayed in the browser console i think i found the solution, i hadded these rules in rewrite rules: # rewrite other request to index.html RewriteEngine On RewriteCond %{REQUEST_URI} !^/assets/.*$ RewriteCond %{REQUEST_URI}...
  5. X

    Problem with dynamic subdomains

    This is what I see when I try to reach a URL that doesn't exist or even domain.com/dashboard, without any rewrite rules. When I arrive on my home page example: domain.com, and I log into my account I am redirected to domain.com/dashboard, Until then everything works well if I refresh the...
  6. X

    Problem with dynamic subdomains

    Now it does it to me also for the routes, if I go from domain.com to domain.com/dashboard it works but if once during domain.com/dashboard I refresh the page I have a 404 error from the browser with the error message type MIME forbidden ("text/html"). Yes the paths exist and are correct, because...
  7. X

    Problem with dynamic subdomains

    Ok, I'll see that when I get back to working on it. And @LiteCache , no i am not with WordPress, i am with React and Vite.
  8. X

    Problem with dynamic subdomains

    Ok well, I encounter a lot of complications in the code to make this functionality and I don't have much time to continue it, so I will put this on standby, and continue on the rest, thank you anyway for taking the time
  9. X

    Problem with dynamic subdomains

    Thank you to your answer, i tried to remove all rewriterules and the domain.com work good, but i have still a problem with this error: The stylesheet ... was not loaded because its MIME type, "text/html", is not "text/css" , so i haven't css in subdomain.
  10. X

    Problem with dynamic subdomains

    Hello, I need to use dynamic subdomains, for multiple user session, so i have already a domain, is working well, when i use dynamic subdomain for exemple user1.domain.com i have a white screen with this error : Loading of the module at ... was blocked due to a forbidden MIME type ("text/html")...
  11. X

    Basic auth realm always promting auth even the password is correct

    Hello, i have the same problem for a front api in react, i follow the doc to protect website with a password with realm but the browser still ask password even if all entry is good, i don't know what to do, i tried lot of things but nothing work, can you help me?
Top