Re: loading shop.example.com in www.test.com/shop/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





El vie, 4 ago 2023 a las 15:19, Marc (<Marc@xxxxxxxxxxxxxxxxx>) 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

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux