add rewrite rules to aus2-staging httpd.conf

VERIFIED FIXED

Status

mozilla.org Graveyard
Server Operations
--
critical
VERIFIED FIXED
7 years ago
3 years ago

People

(Reporter: rhelmer, Assigned: oremj)

Tracking

Details

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
Created attachment 481679 [details]
rewrite rules based on bug 602275 comment 5

After discussing with oremj, morgamic, and releng, we'd like to use Apache rewrite rules on the AUS webservers in order to fix bug 602275.

We will check a file into AUS (mozilla/webtools/aus/xml/bug602275/please_reinstall.xml) which will be in the docroot.

I've tested the attached rules on my local dev box, which has an httpd.conf equivalent to aus2-staging. Note that these rules need to be before the already existing rule:
RewriteRule ^/update/(.*)$ /aus2/app/index.php?path=$1 [QSA]

If these rules looks ok, please load this into /etc/httpd/conf/httpd.conf on aus2-staging.
Attachment #481679 - Flags: review?(jeremy.orem+bugs)

Updated

7 years ago
Assignee: server-ops → jeremy.orem+bugs
(Assignee)

Comment 1

7 years ago
I've added those rules.
OS: Linux → Windows Server 2003
(Reporter)

Updated

7 years ago
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
(Reporter)

Comment 2

7 years ago
Looks good, thanks! These all 404 (which is expected, we don't have the please_update.xml in place yet):

http://aus2-staging.mozilla.org/update/3/Firefox/4.0b7pre/20101002015448/WINNT_x86_64-msvc/en-US/nightly/all_windows_versions/default/default/update.xml?force=1
http://aus2-staging.mozilla.org/update/3/Firefox/4.0b7pre/20101002041357/WINNT_x86-msvc/en-US/nightly/all_windows_versions/default/default/update.xml?force=1
http://aus2-staging.mozilla.org/update/3/Firefox/4.0b7pre/20101003030544/WINNT_x86_64-msvc/en-US/nightly/all_windows_versions/default/default/update.xml?force=1
http://aus2-staging.mozilla.org/update/3/Firefox/4.0b7pre/20101003041324/WINNT_x86-msvc/en-US/nightly/all_windows_versions/default/default/update.xml?force=1

Changing the build ID falls back to the latest nightly, so AUS is working correctly AFAICT:
http://aus2-staging.mozilla.org/update/3/Firefox/4.0b7pre/20091003041324/WINNT_x86-msvc/en-US/nightly/all_windows_versions/default/default/update.xml?force=1
Status: RESOLVED → VERIFIED
(Reporter)

Comment 3

7 years ago
BTW oremj added Rob Strong's test update.xml in there, so we can get a jump on testing. Thanks again!
(Reporter)

Updated

7 years ago
Attachment #481679 - Flags: review?(jeremy.orem+bugs)
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.