문제

I have only front-end files like - .html , .js and .css .

I want to host them in OpenShift such that they will be in CDN mode .

Which type of application under OpenShift applications should I have to choose in order to browse to these .html via the OpenShift domain ?

The are many options like - JBoss Application Server 7 , PHP 5.3 , Python 2.6 , Ruby 1.9 etc ...

도움이 되었습니까?

해결책

You should use the php-5.3 or php-5.4 cartridge. They will both work just fine with .html, .js, and .css files, you don't have to use PHP with them.

다른 팁

I have a few starter projects available that each include support for serving HTML and static files.

Take your pick:

PHP will work great. I usually use Nodejs so that I can take advantage of npm libraries, and so I can use javascript-based build tasks to help optimize my client-side code (browserify, grunt, etc).

Good luck!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top