[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Help Wanted] Issue with changing DocumentRoot in php catridge



Hi Tony.

Have you tried to export the env var OPENSHIFT_PHP_DOCUMENT_ROOT using rhc?

    $ rhc envset OPENSHIFT_PHP_DOCUMENT_ROOT=relative/path/to/repodir

Also note that "restart" is not the same as "stop+start". The first will not reevaluate env vars since apache's main process never ends, just kill everyone and start all again.







Mateus Caruccio
Master of Puppets
+55 (51) 8298.0026
gtalk: mateus caruccio getupcloud com
twitter: @MateusCaruccio

This message and any attachment are solely for the intended
recipient and may contain confidential or privileged information
and it can not be forwarded or shared without permission.
Thank you!

On Tue, Oct 6, 2015 at 8:21 AM, Tony Thomas <01tonythomas gmail com> wrote:
Hello, 

I have been stuck with this bug ( https://bugzilla.redhat.com/show_bug.cgi?id=1249279 ) for a long time with Openshift, and my deployed website ( http://www.thinkfoss.com/ ) gets 404 very often. The problem is that the website needs a different DocumentRoot, and there is no effective way to do the same in OpenShift as of now. 

I face a similar problem with our Phabricator install too, which too needs a different webroot. Can someone look into the same, and help me sorted out. 

Thanks,

"where there is a wifi, there is a way"

_______________________________________________
dev mailing list
dev lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]