FlightAware Discussions

Moving status page to another than 80 port, move skyview to 80 port

I’d like to achieve the following:

  • move default piaware status page to another port than 80
  • move skyview from 8080 to 80 port

How to get this done in the lighthttpd config?
Would appreciate any help at a level of a Linux user with basic skills.

Piotr

Edit the appropriate files in this folder:

/etc/lighttpd/conf-enabled

If you need more detail, someone else will have to provide it.

Oh to apply changes, restart lighttpd.

Thanks for your prompt reply.
I’ve already read lots of posts regarding files /etc/lighttpd/conf-enabled, but I’m not 100% sure which changes to apply in order not to mess up or brick my pi.

Well the real files are in

 /etc/lighttpd/conf-available 

Copy them somewhere else and start experimenting.

(in conf-enabled are just symlinks)
Also try understanding the syntax, it’s not that complicated.

Would you like to correct me pls if I am wrong:

FILE: lighthttpd.conf:

server.port = 80

change to (let’s say):

server.port = 8484

FILE 89-dump90-fa.conf

Listen on port 8080 and serve the map there, too.

$SERVER[“socket”] == “:8080” {
alias.url += (
“/data/” => “/run/dump1090-fa/”,
“/” => “/usr/share/dump1090-fa/html/”
)
}

CHANGE TO

Listen on port 80 and serve the map there, too.

$SERVER[“socket”] == “:80” {
alias.url += (
“/data/” => “/run/dump1090-fa/”,
“/” => “/usr/share/dump1090-fa/html/”
)
}

Not how i would do it, but might work :slight_smile:

You’ve got backups, just try it … how else would you learn?

Would you like to let me know your way of doing this ;-)?

The method I suggested here worked.
@wiedehopf - thnx for encouraging me to experiment :wink: