Hi tried both.
Same result.
xxxx - - [19/Oct/2018:21:14:22 +0200] "GET /static/postorius/js/script.js HTTP/1.1" 404 4051 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
Le ven. 19 oct. 2018 à 18:59, Mark Sapiro <mark@msapiro.net> a écrit :
On 10/19/18 10:29 AM, Guiseppin Thomas wrote:
Hi, Currently, I use a nginx configuration for mailman. It's work perfectly.
I tried to do the same with Apache, but the statics files are not delivered (404). ... <VirtualHost *:80> ServerName mailing.ddd.fr
ErrorLog ${APACHE_LOG_DIR}/mailing.error.log CustomLog ${APACHE_LOG_DIR}/mailing.access.log combined <Location /static/> Alias "/opt/mailman/static/" </Location> <Location /> ProxyPass http://localhost:8000/ ProxyPassReverse http://localhost:8000/ ProxyPreserveHost On </Location>
</VirtualHost>/
In Apache, location <http://httpd.apache.org/docs/2.4/mod/core.html#location> is not appropriate for resources in the file system.
Try
Alias /static/ /opt/mailman/static/
not within a location block.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/