two websites

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

two websites

boldhardware
OK, I give up! I've been working on this for 30+ hours and cannot make it work.

I have two websites; A & B. A is served from root index / on the server and is acessed at www.a.com while B is served from /B and I want to serve it from www.b.com

I have apache installed and it has been serving A using AJP and works fine. I introduced B and I want to serve B from www.b.com.

I've tried everything that I can find.

I tried using AJP using the standard config for tomcat but, OH, ofbiz isn't using "tomcat" it's using just the AJP connectors so the hosts entries in the server.xml doesn't do a damn thing. I don't understand how ofbiz uses the AJP so I can't configure or hack it to make it work. There doesn't seem to be anywhere that I can setup similar hosts entries to make ajp work like it's intended.

I tried creating two instances of ofbiz, changed all the ports but the damn admin port WILL NOT change(very F'n irritating BTW). No matter what I did I could NOT change the admin port(yes, I made the changes in every file).

Lastly I tried mod_proxy!! This works, kinda, but my links are still wrong and for some damn reason some of my secure links in site B lead to site A and some of the formatting is still wrong.

I'm REALLY F'n agitated at this point! Has anyone been able to get this to work? If so, please provide detailed instructions because I'm lost and about ready to just deploy the damn thing on a new server, which pisses me off and kinda defeats the entire point of having one instance of ofbiz.

I appreciate anyones time who can provide assistance.
Reply | Threaded
Open this post in threaded view
|

Re: two websites

james_sg
You will get better response when you post in the ofbiz-user sub-forum.

boldhardware wrote
OK, I give up! I've been working on this for 30+ hours and cannot make it work.

I have two websites; A & B. A is served from root index / on the server and is acessed at www.a.com while B is served from /B and I want to serve it from www.b.com

I have apache installed and it has been serving A using AJP and works fine. I introduced B and I want to serve B from www.b.com.

I've tried everything that I can find.

I tried using AJP using the standard config for tomcat but, OH, ofbiz isn't using "tomcat" it's using just the AJP connectors so the hosts entries in the server.xml doesn't do a damn thing. I don't understand how ofbiz uses the AJP so I can't configure or hack it to make it work. There doesn't seem to be anywhere that I can setup similar hosts entries to make ajp work like it's intended.

I tried creating two instances of ofbiz, changed all the ports but the damn admin port WILL NOT change(very F'n irritating BTW). No matter what I did I could NOT change the admin port(yes, I made the changes in every file).

Lastly I tried mod_proxy!! This works, kinda, but my links are still wrong and for some damn reason some of my secure links in site B lead to site A and some of the formatting is still wrong.

I'm REALLY F'n agitated at this point! Has anyone been able to get this to work? If so, please provide detailed instructions because I'm lost and about ready to just deploy the damn thing on a new server, which pisses me off and kinda defeats the entire point of having one instance of ofbiz.

I appreciate anyones time who can provide assistance.