Hello!

I have installed Mezzanine under Apache 2.4 and Python 3.5.  Most 
everything works great, except for one thing: certain static files are not 
found.  This problem does not occur if I start a project under Python 3.5 
and use the runserver command- if I do that EVERYTHING works fine.

99% of the static files are found properly.  However... if I go to browse a 
gallery, the thumbnails are missing.  Also, if I do a blog post and insert 
a graphic from the gallery, the graphic is missing from the blog post.  If 
I inspect the HTML in the browser, for the missing images I have something 
like this:

<div class="col-xs-4 col-sm-3">    <a class="thumbnail" rel="#image-1" 
title="Amsterdam  Holland" 
href="/static/media/uploads/gallery/Amsterdam%2C%20Holland.jpg">        <img 
class="img-responsive" src="/static/media/">    </a></div>

I should have something like this:

<div class="col-xs-4 col-sm-3">    <a class="thumbnail" rel="#image-1" 
title="Amsterdam  Holland" 
href="/static/media/uploads/gallery/Amsterdam%2C%20Holland.jpg">        <img 
class="img-responsive" 
src="/static/media/uploads/gallery/.thumbnails/Amsterdam%2C%20Holland.jpg/Amsterdam%2C%20Holland-131x75.jpg">
    </a></div>

I have made sure that the security on the files in question is permissive, like 
so:

<Directory /srv/www/blog-sites/mywebsite/static>
    Require all granted
</Directory>

<Directory /srv/www/blog-sites/mywebsite>
    <Files wsgi.py>
        Require all granted
    </Files>
</Directory>

SELinux is disabled, at least for this testing.  The only clue I can find is in 
the error logs:

[Sat Jun 10 12:52:44.250023 2017] [autoindex:error] [pid 4638] [client 
140.254.70.225:34634] AH01276: Cannot serve directory 
/srv/www/blog-sites/mysite_net/static/media/: No matching DirectoryIndex 
(index.html) found, and server-generated directory index forbidden by Options 
directive, referer: http://www.mysite.net/test-post-two/

Does anyone have an idea as to what may be going wrong here?

Thanks!
-JK

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" 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