Change to DocumentRoot has no effect

28 views
Skip to first unread message

Jonathan Ryshpan

unread,
Dec 25, 2021, 1:22:40 PM12/25/21
to weewx...@googlegroups.com
Trying to make my weewx website 
a little easier to access, I edited 
/etc/httpd/conf/httpd.conf as described in the instructions for Fedora systems in
changing 
DocumentRoot "/var/www/html"
to
DocumentRoot "/var/www/html/weewx"
which should have made the site accessible as 
But nothing seems to have changed.  Could something be cached in my browsers?  Advice is welcome.

System info:
Operating System: Fedora 34
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2
Kernel Version: 5.15.10-100.fc34.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 2 × Intel® Pentium® CPU G2030 @ 3.00GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 2500

-- 
Sincerely Jonathan Ryshpan <jon...@pacbell.net>

	The above message, which does not represent 
	the opinion of the Berkeley Linux Team, is sold 
	by weight, not by volume.  
	Some settling of the contents may have occurred
	during shipment.

vince

unread,
Dec 25, 2021, 1:54:40 PM12/25/21
to weewx-user
Did you restart apache ?
Did you look at your apache access and error logs ?
Did you look at your weewx logs ?

vince

unread,
Dec 25, 2021, 2:08:32 PM12/25/21
to weewx-user
The instructions you're following are incorrect for Fedora.

You want to do 'systemctl restart httpd' after editing the file and it'll work.
(tested on fedora-35)

Reply all
Reply to author
Forward
0 new messages