Looks like the Apache configuration file for weather radio hasn't been copied or is in a different place. Try first
sudo cp add-on/weatherradio/weatherradio.conf /etc/apache2/conf-available
and then try the a2enmod command again.
Hi, it's an error,
if you want to use a2enmod, you must to copy the file in mod-available.
Also, you must to use command a2enconf if you want to put in conf-available
Did a "a2enconf" instead of "a2enmod" and things advanced, I got a blank page.
I got things to work locally and I could display weather info on the localhost (http://localhost/weatherradio) but I would only get a blank page if I accessed from another PC (http://weatherradio_server/weatherradio). Maybe some apache2 settings or some permission issues?
if you want to see the web page from another client, you must to open the port 80 in your router (internet router) for your server.
for exemple, my server is on a tinkerbaord and his name is nafabox. In my internet box I've open Nat rules 80 on nafabox!!
The two machines are on the same network (home) thus I assume that I do not have to do NAT or port forwarding. The weather radio being run on a StellarMate machine, I can access the StellaMate Control Panel without problem, so it's not a port 80 issue. Any other clues?
Explication for my tinker: Apache2 is on the port 80.
if you go on the web and put RL:
http://ip_local
you must to see the apache2 webpage.
if you test from another PC what do you see?
On the weather radio machine, if I put http://localhost in the browser, I get the apache2 webpage, as you mention. On another local machine, http://ipaddress gives me the Stellar Mate Dashboard. I thus assume that Stellar Mate redirects port 80 to another port if accessed from outside. If I can figure out how to disable Dashboard this may solve the issue.
OK.... I had have the same pb with the nafabox project!
So, I had must to uninstall ngnix & apache2, then I had reinstalled apache2 and after it was ok!