ARI answering under 2 urls

kieranmullen3's picture

Perhaps I should rephrase this.

My freepbx setup domaina.com/admin & domaina.com/recordings work fine

domainb.com/recordings work fine it is a complete copy of ARI. There is no copy in this directory of the admin folder nor symbolic link.

what would I have to modify in freepbx or ARI to have domainc.com on top of domainb.com ?

I already have it working AFAIK with bind and apache.

Thanks!


__________________

KieranMullen
http://360Oregon.com


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Serveralias in your apache

pnlarsson's picture

Serveralias in your apache conf would do the trick, or a virtual host for only ari:

<VirtualHost *:80>
    ServerAdmin me@domain.com
    DocumentRoot /var/www/html/recordings
    ServerName ari.domainb.com
    ServerAlias ari.domainc.com
    ErrorLog logs/ari-error_log
    CustomLog logs/ari-access_log common

    <directory /var/www/html/recordings>
        Order Allow,Deny
        Allow from all
    </directory>
</VirtualHost>

__________________

/niklas