On Fri, Oct 19, 2018, at 12:29 PM, Thomas G wrote:
Yes, of course.
Nginx and Apache works on the same server. (Nginx is stopped) I would like switch to Apache to add in front of hyperkitty a ldap connection.> I need to re-compile nginx for this feature. It's directly available in apache with a module. Not sure the reason for this, the docs mention that what you had initially and also what Mark mentioned should have worked. Both of them seem to be supported syntax from the docs[1]. The only difference that I can see is quotes, not sure if that would affect things. [1]: https://httpd.apache.org/docs/2.4/mod/mod_alias.html#alias
In fact, a tried directly to integrade LDAP with django (https://gitlab.com/mailman/postorius/issues/132), without results.>
Le ven. 19 oct. 2018 à 20:18, Abhilash Raj <maxking@asynchronous.in> a écrit :>>
On Fri, Oct 19, 2018, at 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"
And, you have verified that the files exist at
/opt/mailman/static
on your host?>>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/>> > >
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/>>
-- thanks, Abhilash Raj (maxking)
-- thanks, Abhilash Raj (maxking)