DirPortFrontPage file '.....' not found | Permission denied

Hey, I'm having a little problem with setting up (my be some rights...) the html page on the relay DIRPort. On my logs : 00:00:03 [NOTICE] Tor 0.4.5.7 opening new log file. 00:00:03 [WARN] Could not open "/var/www/html/tor-relay.html": Permission denied 00:00:03 [WARN] DirPortFrontPage file '/var/www/html/tor-relay.html' not found. Continuing anyway. I've not found any information about how to set up this correctly. Many thanks in advance.

Place the DirPortFrontPage in the same folder like torrc, not /var/... Give the path correctly in the torrc. This is the default in all my relays with Debian and Ubuntu. Olaf Am 30.03.21 um 13:53 schrieb Petrusko:
Hey,
I'm having a little problem with setting up (my be some rights...) the html page on the relay DIRPort.
On my logs : 00:00:03 [NOTICE] Tor 0.4.5.7 opening new log file. 00:00:03 [WARN] Could not open "/var/www/html/tor-relay.html": Permission denied 00:00:03 [WARN] DirPortFrontPage file '/var/www/html/tor-relay.html' not found. Continuing anyway.
I've not found any information about how to set up this correctly.
Many thanks in advance.
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays

Dear Petrusco, I have had success putting that file in /etc/tor where the torrc is: -rw-r--r-- 1 root root 17551 Oct 29 18:03 tor-exit-notice.html Don't forget to change your line in the torrc to tell it where you moved the file. i.e.: DirPortFrontPage /etc/tor/tor-exit-notice.html Hope this works for you. --Torix ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Tuesday, March 30, 2021 11:53 AM, Petrusko <petrusko@riseup.net> wrote:
Hey,
I'm having a little problem with setting up (my be some rights...) the html page on the relay DIRPort.
On my logs : 00:00:03 [NOTICE] Tor 0.4.5.7 opening new log file. 00:00:03 [WARN] Could not open "/var/www/html/tor-relay.html": Permission denied 00:00:03 [WARN] DirPortFrontPage file '/var/www/html/tor-relay.html' not found. Continuing anyway.
I've not found any information about how to set up this correctly.
Many thanks in advance.
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays

On 30.03.2021 22:57, torix@protonmail.com wrote:
Dear Petrusco,
I have had success putting that file in /etc/tor where the torrc is: -rw-r--r-- 1 root root 17551 Oct 29 18:03 tor-exit-notice.html
Don't forget to change your line in the torrc to tell it where you moved the file. i.e.: DirPortFrontPage /etc/tor/tor-exit-notice.html
If not known, there is also a version for Germany and France. I added the last commits of the US version a few months ago: https://github.com/chgans/tor-exit-notice -- ╰_╯ Ciao Marco! Debian GNU/Linux It's free software and it gives you freedom!
participants (4)
-
lists@for-privacy.net
-
Olaf Grimm
-
Petrusko
-
torix@protonmail.com