# Asterisk Project : Integration with other web servers

Added by mdavenport , edited by mdavenport on Aug 31, 2010

Asterisk's micro HTTP server is not designed to replace a general purpose web server and it is intentionally created to provide only the minimal interfaces required. Even without the addition of an external web server, one can use Asterisk's interfaces to implement screen pops and similar tools pulling data from other web servers using iframes, div's etc. If you want to integrate CGI's, databases, PHP, etc. you will likely need to use a more traditional web server like Apache and link in your Asterisk micro HTTP server with something like this:

ProxyPass /asterisk http://localhost:8088/asterisk

## Comments:

Apache2 Example Set prefix in the Asterisk http.conf prefix = asterisk-prefix Enable Apache Modules: a2enmod proxy proxy_http Configure: mods-enabled/proxy.conf Set Allow / Deny Networks Add ProxyPass /asterisk-prefix http://localhost:8088/asterisk-prefix Restart Apache2 Posted by lathama at Dec 25, 2010 10:25