Bug 788779 - Policy guide ~/doc redirect to work with # anchors
Summary: Policy guide ~/doc redirect to work with # anchors
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Hardware Certification Program
Classification: Retired
Component: Hardware Catalog
Version: 3.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Pengfei Xue
QA Contact:
URL: http://hardware.redhat.com/
Whiteboard:
Depends On:
Blocks: 788780 789025
TreeView+ depends on / blocked
 
Reported: 2012-02-09 00:31 UTC by Rob Landry
Modified: 2012-03-31 01:56 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-31 01:56:41 UTC


Attachments (Terms of Use)

Description Rob Landry 2012-02-09 00:31:51 UTC
Description of problem:

https://hardware.redhat.com/doc/index.html#sect-Policy_Guide-Hardware_Certification_Policies-BIOSFirmware_Policies

goes to the hwcert-doc package supplied documentation; it should redirect to 

http://docs.redhat.com/docs/en-US/Red_Hat_Hardware_Certification/1/html-single/Policy_Guide/index.html#sect-Policy_Guide-Hardware_Certification_Policies-BIOSFirmware_Policies

hardware.redhat.com/doc redirects correctly to docs.redhat.com.

Comment 1 Pengfei Xue 2012-02-09 06:48:09 UTC
(In reply to comment #0)
> Description of problem:
> 
> https://hardware.redhat.com/doc/index.html#sect-Policy_Guide-Hardware_Certification_Policies-BIOSFirmware_Policies
> 
> goes to the hwcert-doc package supplied documentation; it should redirect to 
> 
> http://docs.redhat.com/docs/en-US/Red_Hat_Hardware_Certification/1/html-single/Policy_Guide/index.html#sect-Policy_Guide-Hardware_Certification_Policies-BIOSFirmware_Policies
> 
> hardware.redhat.com/doc redirects correctly to docs.redhat.com.


The anchor will not be passed to the server when referencing the object; it is used internally by the client. 

so the redirect utilities we got can not help, the alternative way is to filter the string[https://hardware.redhat.com/doc/index.html#sect-Policy_Guide-Hardware_Certification_Policies-BIOSFirmware_Policies] and replace the hardware.rdc with docs.rdc/XXX/xxx

Comment 2 Rob Landry 2012-02-10 18:31:18 UTC
We should not hard code the whole string, however we should be filtering on hardware.redhat.com/doc and hardware.redhat.com/doc/index.html and hardware.redhat.com/doc/Policy_Guide.pdf as these were the 3 URLs you used to use to find the documentation.  We no longer need these URLs to support local documentation.  This part of any inbound URL should be replaced with the configured in the db server/path as we no longer need these URLs to support local documentation.

Comment 5 Pengfei Xue 2012-02-20 10:25:44 UTC
verified in web2

Comment 6 Pengfei Xue 2012-03-23 02:54:04 UTC
verified on partner site


Note You need to log in before you can comment on or make changes to this bug.