Okay html passes.

/etc/apache2 doesn't (make sense to me)

My understanding is that your config.d (I'm assuming it's named
config.d in your setup) is not visible to apache2...

alias /weewx /home/weewx/public_html
<Directory /home/weewx/public_html>
  Options FollowSymlinks
  AllowOverride None
# for apache 2.2
  Order allow,deny
  Allow from all
# for apache 2.4
#  Require all granted
</Directory>

By convention, any of those specific config files, should live under
the /etc/apache2/conf-available directory and then be symlinked from
/etc/apache2/conf-enabled. That way apache2 knows to include it.

wherever that file is there should be a link to it from
/etc/apache2/conf-enabled, I don't see one under your listing so it
needs a symlink to it.

rename it to weewx.conf then copy it to /etc/apache2/conf-available/

then
ln -s /etc/apache2/conf-available/weewx.conf
/etc/apache2/conf-enabled/weewx.conf

then restart apache2 and fingers crossed.

p.s. use dir -al (or ls -al)  I like to see it all ;-)

On 15 August 2016 at 09:22, Jimmy r <[email protected]> wrote:
> pi@raspberrypi:/var/www/html $ dir
> index.html
>
>
> pi@raspberrypi:/etc/apache2/conf-enabled $ dir
> charset.conf                other-vhosts-access-log.conf  serve-cgi-bin.conf
> localized-error-pages.conf  security.conf
> pi@raspberrypi:/etc/apache2/conf-enabled $
>
>
> On Sunday, August 14, 2016 at 6:15:22 PM UTC-5, Glenn McKechnie wrote:
>>
>> Hmmm,
>>
>> List your apache root directory contents - probably under
>> /var/www/html  There should be no visible link to weewx, no symlink,
>> no directory. If there is then move it aside (rename it) and restart
>>
>> Then list your /etc/apache2 contents, in particular the
>> /etc/apache2/conf-enabled contents
>>
>>
>>
>> Cheers
>>  Glenn
>
> --
> 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].
> For more options, visit https://groups.google.com/d/optout.



-- 

Cheers
 Glenn

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to