Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version 6.2.22, problem with virtual hosts #106

Closed
igorzigorz opened this issue Oct 20, 2017 · 4 comments
Closed

version 6.2.22, problem with virtual hosts #106

igorzigorz opened this issue Oct 20, 2017 · 4 comments

Comments

@igorzigorz
Copy link

Could not configure version 6.22 to work with virtual hosts. FreeBSD, --with-confdir, sysconfdir=/usr/local/etc/sympa
apache 2.4 + mod_fcgid
simple robot.conf with others title.
Shows only the main config.
When replace with version 6.2.16 same config all works.

@ikedas
Copy link
Member

ikedas commented Oct 23, 2017

Hi @igorzigorz,

You would be better to create two directories named by domain:

  • EXPLDIR/domain (see Sympa/Constants.pm to know where is EXPLDIR).
  • SYSCONFDIR/domain (where robot.conf is placed).

Note that these directories have to be writable by user sympa.

@igorzigorz
Copy link
Author

Thanks!
I created directory EXPLDIR/domain and it worked.
Why is it better if it's mandatory?

@ikedas
Copy link
Member

ikedas commented Oct 24, 2017

EXPLDIR/domain will contain the configurations of all lists in virtual domain domain. That's why this is mandatory for virtual domain.

@igorzigorz
Copy link
Author

igorzigorz commented Oct 24, 2017

In any case it is bad behavior. SYSCONFDIR/domain a sufficient condition for the web interface. About EXPLDIR/domain should be a warning. If you can say about the problem, why should be silent? There's nothing worse for a sysadmin than a silent application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants