ProxyPass and redirect don't collaborate nicely
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
26868b53bc
commit
7d6d10e7e5
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ RewriteRule (.*) - [F]
|
|||
#RewriteCond %{REQUEST_URI} ^/pub/fedora/linux/.*[/]+sparc.*
|
||||
#RewriteRule ^/pub/fedora/linux/(.*) /pub/fedora-secondary/$1
|
||||
|
||||
Redirect 307 /pub/fedora/linux/releases/test/24_Beta/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-24_Beta-1.6.iso https://dl.fedoraproject.org/pub/fedora/linux/releases/test/24_Beta/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-24_Beta-1.6.iso
|
||||
RewriteRule ^/pub/fedora/linux/releases/test/24_Beta/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-24_Beta-1.6.iso$ "https://dl.fedoraproject.org/pub/fedora/linux/releases/test/24_Beta/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-24_Beta-1.6.iso" [L,R=307]
|
||||
|
||||
RewriteRule ^/(.+) {{proxyurl}}/mirrorlist?path=$1&redirect=1 [P,QSA,L]
|
||||
RewriteRule ^/$ {{proxyurl}}/mirrorlist?path=pub/fedora/linux/&redirect=1 [P,QSA,L]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue