Closed Bug 367022 Opened 18 years ago Closed 17 years ago

404 on default firstrun page for unofficial builds of Firefox 2.0.0.1

Categories

(www.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: martynas, Assigned: reed)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.8.1.1) Gecko/20061221 Firefox/2.0.0.1
Build Identifier: Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.8.1.1) Gecko/20061221 Firefox/2.0.0.1

startup.homepage_welcome_url=http://www.mozilla.org/projects/%APP%/%VERSION%/firstrun/

It should redirect to:

http://www.mozilla.com/${LOCALE}/firefox/${VERSION}/firstrun/

Unfortunately; you do version checking before redirecting and it only does redirect if ${VERSION} =~ /(1.[05]|2.0)/.

${VERSION} in this case is 2.0.0.1.

Reproducible: Always

Steps to Reproduce:
1. update to firefox 2.0.0.1
2. start the browser up
3. wait till "Welcome to Firefox" page loads up
Actual Results:  
Redirect to http://www.mozilla.com/${LOCALE}/firefox/2.0.0.1/firstrun/

Expected Results:  
404: File Not Found
/projects/firefox/2.0.0.1/firstrun/
We are sorry, the file you requested could not be found.
Wil -- can you review this?
It's not really our problem, but I can fix it.

The reporter installed an unbranded version of Firefox, which uses those URLs.
Assignee: nobody → reed
Status: UNCONFIRMED → NEW
Ever confirmed: true
Not a www.mozilla.com problem.
Status: NEW → ASSIGNED
Component: www.mozilla.com → www.mozilla.org
OS: OpenBSD → All
Product: Websites → mozilla.org
QA Contact: www-mozilla-com → www-mozilla-org
Version: unspecified → other
Summary: redirection bug creates a bad first-run look after updating to firefox 2.0.0.1 → 404 on default firstrun page for unofficial builds of Firefox 2.0.0.1
Checking in .htaccess;
/cvsroot/mozilla-org/html/projects/firefox/.htaccess,v  <--  .htaccess
new revision: 1.9; previous revision: 1.8
done

Not sure if that will work. I'll confirm once it reaches stage/production.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
I still get the 404
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Checking in .htaccess;
/cvsroot/mozilla-org/html/projects/firefox/.htaccess,v  <--  .htaccess
new revision: 1.10; previous revision: 1.9
done

I had an extra slash at the front of the regexp. Should work as soon as this synchronizes. Thanks!
Status: REOPENED → RESOLVED
Closed: 18 years ago18 years ago
Resolution: --- → FIXED
Does not work for me.
http://www.mozilla.org/projects/firefox/2.0.0.1/firstrun/
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Anyone?
Not only http://www.mozilla.org/projects/firefox/2.0.0.1/firstrun/ does not work now, the rev. 1.10 has broken http://www.mozilla.org/projects/firefox/2.0/firstrun/ too.
It's been over a month since my initial request.  What is the hold up?
The regexp isn't working properly, and I just need to take some time to work on it.

If you know regular expression, see if you can figure out why this isn't working:

RewriteRule ^projects/firefox/([2-9]\.[0-9\.]+)(/.*)?$ http://www.mozilla.com/firefox/$1$2 [R]
(In reply to comment #10)
> If you know regular expression, see if you can figure out why this isn't
> working:
> 
> RewriteRule ^projects/firefox/([2-9]\.[0-9\.]+)(/.*)?$
> http://www.mozilla.com/firefox/$1$2 [R]
> 

How about something like this?

RewriteRule projects/firefox/([2-9](\.[0-9]){1,3})(/.*)?$ http://www.mozilla.com/firefox/$1$3 [R]
Should have been:

RewriteRule ^projects/firefox/([2-9](\.[0-9]){1,3})(/.*)?$
http://www.mozilla.com/firefox/$1$3 [R]

Sorry for the bug spam :)
Tried on the local web server -- both rules work.
The problem is somewhere else, did you RewriteEngine On?
(In reply to comment #13)
> Tried on the local web server -- both rules work.
> The problem is somewhere else, did you RewriteEngine On?

Yes, the line right above the RewriteRule is "RewriteEngine on".
What is the status on this?

I'm having the same problem.
FF sends me here:

http://www.mozilla.org/projects/firefox/2.0.0.1/firstrun/
justdave rocks.
Status: REOPENED → RESOLVED
Closed: 18 years ago17 years ago
Resolution: --- → FIXED
Product: mozilla.org → Websites
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.