Bug 788779

Summary: Policy guide ~/doc redirect to work with # anchors
Product: [Retired] Red Hat Hardware Certification Program Reporter: Rob Landry <rlandry>
Component: Hardware CatalogAssignee: Pengfei Xue <pxue>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.2CC: hwcert-catalog, pxue, wshen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://hardware.redhat.com/
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-31 01:56:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 788780, 789025    

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