QA/Execution/Web Testing/Mozilla.com/Tips and Pointers: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:


=Redirects / user-agent detection=
=Redirects / user-agent detection=
* Most redirects happen in .htaccess ([http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html 302s], usually)
* Redirects:
** Most redirects happen in .htaccess ([http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html 302s], usually)
* User-agent detection:
** Usually uses RewriteCond rules

Revision as of 23:34, 16 April 2009

Mozilla.com has a three-tier system:

Fixes are usually checked into SVN, and trunk pulls from SVN almost instantaneously; once changes are tested and verified, they can be pushed to staging; alternatively, they can be pushed to both staging and production if need be.

Redirects / user-agent detection

  • Redirects:
    • Most redirects happen in .htaccess (302s, usually)
  • User-agent detection:
    • Usually uses RewriteCond rules