If you use an Apache webserver but want to also use Allegroserve, you must make the Apache webserver and the Allegroserve server work together. In this document, we suggest three ways to achieve this integration:
If your Apache webserver uses foo.com and www.foo.com, you can have your systems administrator add an additional name, perhaps www2.foo.com, which points to the machine that you set up your allegroserve program on.
Note: on some operating systems, such as Linux, it is possible to do this on a single machine. Discussion of doing so, however, is beyond the scope of this article.
Simply start Allegroserve on a port number other than 80. Port 8000 is a common choice.
This is a combination of approaches #1 or #2 and a technique called "reverse proxying". Basically, you tell apache that when an access to the sub-URL (or below) is made, behind the scenes it should retrieve the data from a different webserver and return it to the client. If your apache site is at http://foo.com, you can make your Allegroserve site accessible as a sub-URL like http://foo.com/subsite. To do this, add directives like these to your apache config file and restart apache:
ProxyPass /subsite http://aservehost ProxyPassReverse /subsite http://aservehost
When this is in effect, an access to http://foo.com/subsite/xyz will end up accessing http://aservehost/xyz in a manner that is transparent to the web browser.
|Copyright © 2017 Franz Inc., All Rights Reserved | Privacy Statement|