redirect to login page
  • Здравствуйте. Как я могу изменить перенаправления страницу с / Войти на другую?
    Я изменил файлы конфигурации в  папке apache2 и airtime, но это не сработало.
    Hello. How can I change the redirect рage / Login to the other ?
    I changed the configuration files to the apache2 folder and airtime, but it did not work out .
  • 2 Comments sorted by
  • Vitaly,

    What do you want to redirect the login page to?
  • The virtual host is where redirecting are done for http.

    sudo nano /etc/apache2/sites-avaailable/airtime-vhost.conf

    Since v2.5.1 it is recommended to use https as the login

    Redirect permanent /login https://localhost/login

    but I assume thats not what you really want ,but instead ,you want to use another port if you already have a webserver or other service on port 80

    in that case

    • set a listen port in ports.conf  like say port 8080
    • edit the virtual host in virtual-host.conf to be <VirtualHost *:8080>
    • edit the /etc/airtime/api_client.cfg port to 8080
    • edit the /etc/airtime/airtime.conf port to 8080
    • restart apache

    you can now have both a Webserver on port 80 and your Airtime on 8080

    Good Luck





    Anyone reading this a find it funny about my grammar , I make no apology ,Go get a translator.
    "The Problem with education today is that it takes a university degree to switch on a light bulb"
    "You learn from your mistakes but wise people learn from others mistakes avoid Making mistakes there is not sufficient rooms to make them"
    "Innuendo","If's","Assumptions" and "Fear" are for politician.Who,What,where,When and How are for those seeking knowledge and care about Humanity.
    "I might be in Mud but that does not Make me a Wild Hog(pig)"
    “Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius — and a lot of courage to move in the opposite direction.”
    "The only thing that remains constant is change itself"
    May the force be with you,until our path or destiny bring us in tandem.