El jue, 3 ago 2023 a las 22:33, Marc (<m...@f1-outsourcing.eu>) escribió:

> I was wondering if it is even possible to publish an existing shop hosted
> on the subdomain shop.example.com and show it as a 'folder' in
> www.test.com/shop. Will I have problems with browsers (cookies?). I don't
> want to resolve this on the file system because both have different
> uid/gids on files.
>


You can just Alias /shop/ /path/to/documentrootof/shop.example.com/

 From the http server side, there are a few ways to do it, Alias, internal
redirects, reverse proxy.

As per "cookies" that's another thing entirely related to the application
not the http server itself.

If you need you can try to tweak them with the help of mod_headers module
or perhaps reverse proxy from one place to another and try to tweak with
mod_proxy directives ProxyPassReverseCookieDomain and
PRoxyPassReverseCookiePath. What it is for sure is you have low chances of
getting away without paying close attention to the behaviour from your
application.


-- 
Daniel Ferradal
HTTPD Project
#httpd help at Libera.Chat

Reply via email to