hi friends,
I have installed Airtime on Ubuntu Server 11. For this server I have not accessible port 8080, therefore I have to use only 80 port (for web purpose).
For default installation I have:
1.) in file "/etc/apache2/sites-enabled/airtime" (or mirrored file "/etc/sites-available/airtime") following content:
<VirtualHost *:80>
ServerAdmin ...
DocumentRoot /usr/share/airtime/public
php_admin_value upload_tmp_dir /tmp
<Directory usr/share/airtime/public>
DirectoryIndex index.php
AllowOverride all
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
2.) in file "/etc/airtime/airtime.conf" is following content:
[database]
host - localhost
...
[rabbitmq]
host = 127.0.0.1
port = 5672
...
vhost = /
[general]
api_key = ...
web+server_user = www-data
airtime_dir = /usr/share/airtime
base+url = localhost
base_port = 80
...
3.) file "/etc/apache2/httpd.conf" is empty
If I try from some PC following URL:
http://218.76.65.129
is displayed home page of "Airtime" web site.
And now, I would like to change web-location for "Airtime" web pages to:
http://218.76.65.129/Airtime
(listen on the same port (80)), and base URL (http://218.76.65.129) remain to use for some other HTML page (or for some CMS system).
Please how can I change setting for Airtime and (or) for Apache for this issue?
PS: I try add row "ServerName Airtime" to file "/etc/apache2/sites-enabled/airtime", but it is not working. Again for base URL (http://218.76.65.129) is responsed "Airtime" (and for URL: http://218.76.65.129/Airtime, it is redirected to base URL (http://218.76.65.129) and displays "Airtime"page).
Please help me.
very thanks
I have installed Airtime on Ubuntu Server 11. For this server I have not accessible port 8080, therefore I have to use only 80 port (for web purpose).
For default installation I have:
1.) in file "/etc/apache2/sites-enabled/airtime" (or mirrored file "/etc/sites-available/airtime") following content:
<VirtualHost *:80>
ServerAdmin ...
DocumentRoot /usr/share/airtime/public
php_admin_value upload_tmp_dir /tmp
<Directory usr/share/airtime/public>
DirectoryIndex index.php
AllowOverride all
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
2.) in file "/etc/airtime/airtime.conf" is following content:
[database]
host - localhost
...
[rabbitmq]
host = 127.0.0.1
port = 5672
...
vhost = /
[general]
api_key = ...
web+server_user = www-data
airtime_dir = /usr/share/airtime
base+url = localhost
base_port = 80
...
3.) file "/etc/apache2/httpd.conf" is empty
If I try from some PC following URL:
http://218.76.65.129
is displayed home page of "Airtime" web site.
And now, I would like to change web-location for "Airtime" web pages to:
http://218.76.65.129/Airtime
(listen on the same port (80)), and base URL (http://218.76.65.129) remain to use for some other HTML page (or for some CMS system).
Please how can I change setting for Airtime and (or) for Apache for this issue?
PS: I try add row "ServerName Airtime" to file "/etc/apache2/sites-enabled/airtime", but it is not working. Again for base URL (http://218.76.65.129) is responsed "Airtime" (and for URL: http://218.76.65.129/Airtime, it is redirected to base URL (http://218.76.65.129) and displays "Airtime"page).
Please help me.
very thanks