Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Setting DocumentRoot for an application

771881Feb 9 2011 — edited Feb 9 2011
Hi All,

Kindly help as our prod move is getting hampered.

I have one application deployed in stage and prod servers. After some code changes we have to move the code again to prod.
My dilemma is that the URL to access the application is different on Stage and Prod and I need it to remain so after code move.

The URL on STAGE is https://servername/<application context>/faces/
The URL on Prod is https://servername/welcome.html
My question is how on Prod it is working without /<application context>/faces/

I figured that in httpd.conf inside apache/conf we can create something as follows
NameVirtualHost sn:80
<VirtualHost sn:80>
ServerName sn
DocumentRoot /<absolute path to the directory containing welcome.html>
Port 80
</VirtualHost>

but even changing this is not working for me in stage. Is there any other file involved that needs to be changed.

Thanks in Advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 9 2011
Added on Feb 9 2011
1 comment
98 views