Bug 971895
Summary: | PHP cart now serves index.php in preference to index.html in PROD | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Clayton Coleman <ccoleman> |
Component: | Containers | Assignee: | Mrunal Patel <mpatel> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.x | CC: | bmeng, chunchen, dmace, jhou, xtian |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-06-11 04:18:58 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Clayton Coleman
2013-06-07 14:05:25 UTC
Checked on devenv-stage_369, Both index.html and index.php can be detected when access the app home page for php app. Move bug to verified. Verified this with v2 -> v2 migration, since devenv-stage_365 ami is wiped out from EC2, have to upgrade from devenv-stage_353 to 369, migrate from v1 to v2. Recreate the bug manually and fix it with migration Steps(after instance is upgraded to devenv-stage_369 and cartridges are migrated to v2): add index.php and index.html files to php/ under app repo, make contents of two files different and identical 1. On node, modify the php/env/OPENSHIFT_PHP_IDENT , change value: redhat:php:5.3:0.0.2 => redhat:php:5.3:0.0.1 2. Edit php/configuration/etc/conf.d/php.conf , set value as: DirectoryIndex index.php 3. Restart app and access the url --> should get the index.php page 4. rhc-admin-migrate --version 2.0.28a 5. After migration is complete, ssh into gear, check the contents in php/configuration/etc/conf.d/php.conf DirectoryIndex index.html index.php 6. Access app url Result: After step 6, get the index.html page |