Author |
|
shaggy
Joined: 15 Nov 2005 Posts: 82 Location: Dundee, Michigan
|
Posted: Wed 05 Jul '06 3:54 Post subject: apache 2.2+Sambar Servers (Both running on same machine) |
|
|
I don't know if this belongs in apachelounge or Steffen's other site for Sambar users. Which I have been there rather frequently within the last couple of days. Now I've been racking my brain on this one. I know it's tricky and I know it can be done. I know u can run two webservers on the same machine. I am running intranet.
I am trying to run sambar6.4 and apache 2.2 on the same machine. Any chance anybody could help me out on that one?
Also, I've got apache 2.2 configured to do this. (I think this belongs at Steffen's Sambar site). I would like them both to share the same services (i.e.;python, perl, php, etc.). How do I do that? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7364 Location: Germany, Next to Hamburg
|
Posted: Wed 05 Jul '06 11:41 Post subject: |
|
|
You have to run sambar on a different Port and call the needed pages with reverse proxy. |
|
Back to top |
|
shaggy
Joined: 15 Nov 2005 Posts: 82 Location: Dundee, Michigan
|
Posted: Wed 05 Jul '06 22:27 Post subject: |
|
|
James Blond wrote: | You have to run sambar on a different Port |
I know how to do that one but......
James Blond wrote: | and call the needed pages with reverse proxy. |
Reverse Proxy how do that one?
Config on what Sambar or Apache?
Where can I find documentation at on how to do that? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7364 Location: Germany, Next to Hamburg
|
|
Back to top |
|
shaggy
Joined: 15 Nov 2005 Posts: 82 Location: Dundee, Michigan
|
Posted: Fri 07 Jul '06 17:53 Post subject: |
|
|
Sorry for my stupidness. I've been attempting to do this now for almost a week. I now under the concept behind reverse proxy and how to set it up (thank you google ) But I have no clue on where it goes in httpd.conf. Could someone give me an example and where it goes at in httpd.conf? I have tried all over the place in there. Sorry for my noob in mod_proxy and in mod_rewrite. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3091 Location: Hilversum, NL, EU
|
Posted: Fri 07 Jul '06 19:07 Post subject: |
|
|
Please tell me what of Sambar you want to Reverse Proxy ?
Steffen |
|
Back to top |
|
shaggy
Joined: 15 Nov 2005 Posts: 82 Location: Dundee, Michigan
|
Posted: Fri 07 Jul '06 22:54 Post subject: |
|
|
Steffen wrote: | Please tell me what of Sambar you want to Reverse Proxy ?
Steffen |
Ok here's the problem I'm having.
Installed Apache2.2 just fine problem left apache's port number to 80
Installed Sambar Server 6.4 just fine changed the port number
Browser point to http://localhost:port#/ <---for Sambar. No problem page loads up just fine.
Problem: When I click on any of the buttons that say "login" It flips back to apache saying Object not found! Error 404
For Example:
http://localhost/session/adminlogin?RCpage=%2Fsysadmin%2Findex.asp
should be:
http://localhost:port#/session/adminlogin?RCpage=%2Fsysadmin%2Findex.asp
In red is the problem.
Now apache log error shows:
Code: | [Sat Jul 08 03:49:39 2006] [error] [client 127.0.0.1] File does not exist: C:/apache/Apache2/htdocs/session, referer: http://localhost:82/
[Sat Jul 08 03:49:39 2006] [warn] [client 127.0.0.1] No uri found, referer: http://localhost/session/adminlogin?RCpage=%2Fsysadmin%2Findex.asp
[Sat Jul 08 03:49:39 2006] [warn] [client 127.0.0.1] No uri found, referer: http://localhost/session/adminlogin?RCpage=%2Fsysadmin%2Findex.asp |
Been trying to work on this error for awhile now. Next time I get this error I've got a six pack in the ice box to help me out. |
|
Back to top |
|
Xing Moderator
Joined: 26 Oct 2005 Posts: 49
|
Posted: Fri 07 Jul '06 23:14 Post subject: |
|
|
You are talking about the Sambar Index page ? I never used that.
X |
|
Back to top |
|
Xing Moderator
Joined: 26 Oct 2005 Posts: 49
|
|
Back to top |
|