El vie, 4 ago 2023 a las 15:19, Marc (<m...@f1-outsourcing.eu>) escribió:

>
>      29 <Location /shop/>
>      30         ProxyPass        "https://shop.example.com/";
>      31         ProxyPassReverse "https://shop.example.com/";
>      32
>      33         Options +Indexes +ExecCGI +FollowSymLinks -MultiViews
>      34         Order Allow,Deny
>      35         Allow from all
>      36 </Location>
>      37
>
> Home page loads fine however, I have static urls in html pages to
> https://shop.example.com/ is it possible to have those rewriten to /
> relative urls?
>

You can rewrite anything yes, but the simpler you configure it the better
in the long run.

On another note, you should not still be using Order/Allow/Deny directives,
those are deprecated.

About the whole thing:

I would just create two virtualhosts with their
appropriate documentroots and configurations in virtualhost, that would be
the simplest, less painful, more straightforward way to do it generally.


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

Reply via email to