This is a new install using the python tool setup.py method... After 
installing weewx and apache2 and browsing to it, I am seeing the 
/var/www/html/index.html page instead of the  
/home/weewx/public_html/index.html page. I followed these instructions in 
the guide, for telling Apache where to find the weewx reports:
--------------------------------------
sudo cp util/apache/conf.d/weewx.conf /etc/apache2/conf.d

Be sure that the path in the Apache configuration snippet matches 
the HTML_ROOT defined in the WeeWX configuration file. For example, the 
path for a default setup.py installation would look like this:
Alias /weewx /home/weewx/public_html
 <Directory /home/weewx/public_html> 
        Options FollowSymlinks 
        AllowOverride None 
</Directory>

Restart Apache to make the changes happen:
sudo /etc/init.d/apache2 restart  
---------------------------------------------------------------

Do I need to edit the /etc/apache2/apache2.conf file in this section?:

# Sets the default security model of the Apache2 HTTPD server. It does
# not allow access to the root filesystem outside of /usr/share and 
/var/www.
# The former is used by web applications packaged in Debian,
# the latter may be used for local directories served by the web server. If
# your system is serving content from a sub-directory in /srv you must allow
# access here, or in any related virtual host.
<Directory />
        Options FollowSymLinks
        AllowOverride None
        Require all denied
</Directory>

<Directory /usr/share>
        AllowOverride None
        Require all granted
</Directory>

<Directory /var/www/>
        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted
</Directory>

#<Directory /srv/>
#       Options Indexes FollowSymLinks
#       AllowOverride None
#       Require all granted
#</Directory>

If anyone can help figure out what is wrong I would appreciate it. Console 
is Vantage. Let me know if I did not provide enough info...

Thanks,
Jimmy

-- 
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 on the web visit 
https://groups.google.com/d/msgid/weewx-user/2c3c81f3-baa6-4bee-9e01-b24fadfb3091n%40googlegroups.com.

Reply via email to