Help needed regarding apache and airtime
  • Hi all,

    I am running airtime on ubuntu with apache, when go to http://my_ip_here i can acces airtime but i cant seem to figure out how i can access my websites on the same server, they are located where they are supposed to be I think (/var/www/).
    With a normal installation of apache I can access them just by going to http://my_ip_here.

    Is there a way to access the files in /var/www with an airtime installation?

    thanks a lot
  • 3 Comments sorted by
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    in your apache vhost try something like this :

    <VirtualHost *:80>
          ServerName subdomain.myradio.fr
          #ServerAlias www.example.com

          ServerAdmin admin@myserver

          DocumentRoot /usr/share/airtime/public
          DirectoryIndex index.php

          SetEnv APPLICATION_ENV "production"

          <Directory /usr/share/airtime/public>
                  Options -Indexes FollowSymLinks MultiViews
                  AllowOverride All
                  Order allow,deny
                  Allow from all
          </Directory>
    </VirtualHost>

    don't forget this line in your ports.conf :

    NameVirtualHost *:80
  • thanks for the reply,

    but how does this translate to a ip adress (i do not have a domain name)

           ServerName subdomain.myradio.fr
           #ServerAlias www.example.com

    or is this impossible? im not that known with apache or airtime settings

    thanks
  • any ideas?

    thanks