I found !
Based on https://stackoverflow.com/questions/26848945/exclude-an-alias-from-virtualho...
We have to exclude /static/
<VirtualHost *:80> ServerName mailing.hatlab.fr
ErrorLog ${APACHE_LOG_DIR}/mailing.error.log
CustomLog ${APACHE_LOG_DIR}/mailing.access.log combined
Alias /static/ /opt/mailman/static/
<Directory /opt/mailman/static/>
Require all granted
</Directory>
ProxyPassMatch ^/static !
ProxyPass / http://localhost:8000/
ProxyPassReverse / http://localhost:8000/
</VirtualHost>
Le ven. 19 oct. 2018 à 21:08, Thomas G <thomas82710@gmail.com> a écrit :
Same result with Alias "/static/" "/opt/mailman/static/"
I have sometimes: [Fri Oct 19 22:05:52.583841 2018] [proxy_http:error] [pid 8328:tid 140435053815552] (104)Connection reset by peer: [client 1xxxxxxx1794] AH01102: error reading status line from remote server localhost:8000 [Fri Oct 19 22:05:52.583874 2018] [proxy:error] [pid 8328:tid 140435053815552] [client 1xxxxxxx:51794] AH00898: Error reading from remote server returned by /static/hyperkitty/libs/jquery/jquery-1.10.1.min.js But it's not systematic.
Alias seem to be ignored by the proxy.
Le ven. 19 oct. 2018 à 20:48, Mark Sapiro <mark@msapiro.net> a écrit :
On 10/19/18 12:17 PM, Thomas G wrote:
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"
What's in the apache error log?
-- 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/