I am trying to experiment with running my blog as a hidden service. I am using debian on a vps to host my blog. I am using apache2 run as user www-data.
I had to chown /var/www/wordpress to debian-tor to get the private key and hostname created. This broke my clearnet facing blog so I chowned it back to www-data. How do I deal with the fact that both tor and my webserver want to own the webroot? I tried adding debian-tor to www-data group and vice versa but no luck. Sorry if my english is bad.
HiddenServiceDir /var/www/wordpress HiddenServicePort 80 127.0.0.1:80
Apache listen port 80
warn /var/www/wordpress is not owned by this user (debian-tor but by www-data) perhaps you are running tor as wrong user warn error loading rendezvous service keys err set_options() Bug: Acting on config options left us in a broken state