hello Vince,
I found, it works.
Here are my configurations in the attachments.
/etc/apache2/conf-available/weewx.conf
and permissions directory
17 drwxrwxr-x 3 root root 4096 18 nov. 21:26 home
1669 drwxrwxrwx 18 patrick patrick 4096 23 nov. 22:03 patrick
661891 drwxrwxrwx 10 patrick patrick 4096 23 nov. 18:34 weewx-data
662287 drwxrwxrwx 4 patrick patrick 4096 24 nov. 15:36 public_html
thanks for your help
Patrick
Le 23/11/2025 à 19:28, vince a écrit :
See
https://github.com/weewx/weewx/wiki/Configure-a-web-server-(Apache,-NGINX-or-lighttpd)
for some ways to integrate weewx with apache
On Sunday, November 23, 2025 at 10:00:24 AM UTC-8 salinois wrote:
so,
I send screen copy installation directories:
I left my Apache installation from before switching to venv,
should I delete it?
thanks
Patrick
Le 23/11/2025 à 18:14, vince a écrit :
Your apache logs are wherever your os puts them. Weewx in a venv
does not alter anything apache does.
Based on the info you provided try http://192.168.0.10/weewx for
your URL and see if that works. That looks like it should work
on your LAN if apache is set up correctly.
On Sunday, November 23, 2025 at 4:44:42 AM UTC-8 salinois wrote:
Hello,
In the end, I installed Weewx on Trixies using PIP, so in a
virtual environment, because normally I was having problems
with certain modules (bme280).
I managed to get it working.I can see the website locally on
my Raspberry Pi with
file:///home/patrick/weewx-data/public_html/index.html.
But remotely; It's not working. In Firefox, I'm using:
http://192.168.0.10/home/patrick/weewx-data/public_html.
When I look at the Apache logs, I see: 192.168.0.6 - -
[23/Nov/2025:13:11:36 +0100] "GET /favicon.ico HTTP/1.1" 404
490
"http://192.168.0.10/home/patrick/weewx-data/public_html/"
<http://192.168.0.10/home/patrick/weewx-data/public_html/>
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:145.0)
Gecko/20100101 Firefox/145.0".
Here are my configurations;
/home/patrick/weewx-data/weewx.conf (affected lines)
[Station]# example, "http://" or "https://" station_url =
http://192.168.0.10/home/patrick/weewx-data/public_html # The
start of the rain year (1=January; 10=October, etc.).
[StdReport]
# Where the skins reside, relative to WEEWX_ROOT
SKIN_ROOT = skins
# Where the generated reports should go, relative to WEEWX_ROOT
HTML_ROOT = public_html
and in the apache config:
/home/patrick/weex-data/util/apache/weewx.conf
Alias /weewx /home/patrick/weewx-data/public_html
<Directory /home/patrick/weewx-data/public_html>
Options FollowSymlinks
AllowOverride None
2 questions:where are apache logs located in venv
environment?is my config good?
thanks
Patrick
Le 19/11/2025 à 23:57, John Smith a écrit :
On Thu, 20 Nov 2025 at 01:00, 'Peter Fletcher' via
weewx-user <[email protected]> wrote:
additional library (pyMySQL, I think) be pip installed.
The strong recommendation, if you are going to do this,
is to
It also can use the MySQLdb module which I installed from
from a deb package...
--
You received this message because you are subscribed to the
Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails
from it, send an email to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/weewx-user/CAGTinV5NVuFHNXYg%2B2AcmmJ%3DgHL6TxKS1Qp-6Dow%3D_QPxt9w9Q%40mail.gmail.com
<https://groups.google.com/d/msgid/weewx-user/CAGTinV5NVuFHNXYg%2B2AcmmJ%3DgHL6TxKS1Qp-6Dow%3D_QPxt9w9Q%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the
Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/weewx-user/bb207edf-ea04-4f7d-b3fb-5c4499c710b6n%40googlegroups.com
<https://groups.google.com/d/msgid/weewx-user/bb207edf-ea04-4f7d-b3fb-5c4499c710b6n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google
Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/weewx-user/f04bad38-78e7-4fb8-88f6-50f75e20b4a0n%40googlegroups.com
<https://groups.google.com/d/msgid/weewx-user/f04bad38-78e7-4fb8-88f6-50f75e20b4a0n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/weewx-user/a9621fd4-4fca-419f-8909-f138fdae4820%40gmail.com.
# Use a configuration like this to make WeeWX reports show up in an Apache
# web server. This makes the URL '/weewx' serve files from the directory
# '/home/weewx/public_html' - adjust as appropriate for your WeeWX install.
# Place this file in the appropriate place within your Apache web server
# configuration, typically the 'conf.d' or 'conf-enabled' directory.
Alias /weewx /home/patrick/weewx-data/public_html
<Directory /home/patrick/weewx-data/public_html>
Options FollowSymlinks
AllowOverride None
# This is apache 2.4 syntax
Require all granted
# This is apache 2.2 syntax (also supported by 2.4 with compatibility enabled)
# Order allow,deny
# Allow from all
</Directory>