How to configure for apache

Maybe a silly question from a newbie to zammad. I’m desperately try to configure it in a local apache environment instead of nginx. So my apache config file looks like this

<VirtualHost *:80>
# replace ‘localhost’ with your fqdn if you want to use zammad from remote
ServerName localhost
## don’t loose time with IP address lookups
HostnameLookups Off
## needed for named virtual hosts
UseCanonicalName Off
## configures the footer on server-generated documents
ServerSignature Off
DocumentRoot “/opt/zammad/public”

Options FollowSymLinks
AllowOverride None

<Directory “/opt/zammad/public”>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted

But there is no “Welcome to Zammad” window, just the directory listing:

Index of /
[ICO] Name Last modified Size Description
[TXT] 401.html 2018-07-30 10:38 737
[TXT] 404.html 2018-07-30 10:38 752
[TXT] 422.html 2018-07-30 10:38 727
[TXT] 500.html 2018-07-30 10:38 633
[IMG] apple-touch-icon.png 2018-07-30 10:38 7.5K
[DIR] assets/ 2018-07-30 13:50 -
[IMG] favicon.ico 2018-07-30 10:38 32K
[TXT] robots.txt

Which is exactly what you would expect as there is no index.htmI or index.php.

Used Zammad version: 2.5.0
Used Zammad installation source: yum
Operating system: Centos 7

What am I doing wrong? Thank you very much!
Lothar Schilling

Hey,

you can find a sample apache2-config file on github:

This should help you to get very close to what you want.
I actually am using this config and it works just fine. :slight_smile:

Bests

Thank you, but now all I get is

Index of /
[ICO] Name Last modified Size Description

You didn’t happen to remove the Proxy lines, did you?
Please use the config file as provided, do not change port configurations and do not remove proxy-configurations.

You need apache to proxy to the application servers - otherwise this will not work.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.