RE: apache reverse proxy question -- i think

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

 



You can't do this with something like alias?

Alias "/images/logo.svg" "/var/www/html/berat/public/logo.svg"

> 
> I'd like something like::
> 
>    ProxyPass /logo.svg   http://1.2.3.4/berat/public/logo.svg
>    ProxyPassReverse /logo.svg   http://1.2.3.4/berat/public/logo.svg
>     doesn't work
> 
>    ProxyPass logo.svg   http://1.2.3.4/berat/public/logo.svg
>    ProxyPassReverse logo.svg   http://1.2.3.4/berat/public/logo.svg
>       doesn't work
> 
> in the page source
>    href="/logo.svg"
> 
>  which should redirect to --  /var/www/html/berat/public/logo.svg
>     or http://1.2.3.4/berat/public/logo.svg
> 
> thanks
> 
> 
> 
> >
> >
> >
> >>
> >> I have a situation where I'm trying to create a foo.config file for a
> >> test apache app.
> >>
> >> in the html of the app, i have a href="/test.svg".
> >>
> >> the actual test.svg resides in the physical dir:
> >>  /var/www/html/berat/public/test.svg
> >>
> >> so I'm trying to figure out how to handle this. As far as I can tell,
> >> this is a reverse proxie issue
> >>
> >> but I can't do
> >>
> >>     another
> >>      ProxyPass '
> >>
> >>      as I'm already doing the following which works...
> >>       ProxyPass / http://127.0.0.1:3000/
> >>       ProxyPassReverse / http://127.0.0.1:3000/
> >>
> >>  is there some method that I trigger off the actual "filename"
> >>
> >> are there any pointers/examples you can point me to..
> >>
> >> This appears to be the last issue I'm grappling with.
> >>
> >> thanks
> >>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[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