I can't get these html files to display AS my Openshift site. Only the default Openshift created index.php file shows up (which I have edited; see "Test Test Test" as h1). How do I get MY html files to appear as the HOME page, etc. when I click on my http:/php-....rhcloud.com/ domain name?
It seems that you would like to replace the default index.php
, which comes with the PHP 5.4 cartridge, with your own static Index.html
page. To do that, simply:
index.php
from the repo Index.html
to index.html
(so it now starts with a lowercase i
) git add
, git commit
and git push
both changes ...and your index.html
will be rendered by the server instead as the index page when you visit your domain.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.