Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2019 19:52:52 +0200
From:      Xavier <xavier@groumpf.org>
To:        freebsd-ports@freebsd.org
Subject:   Problem with awstats since update to apache 2.4
Message-ID:  <deac3851-cd64-d9aa-cdce-ad3e912beefc@groumpf.org>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--QnyxWU4cEF7yeS1iC9cmIuvUL9UncncHR
Content-Type: multipart/mixed; boundary="hI9IoJfhuJr1MviO4656Jxy9GS8AqBi83";
 protected-headers="v1"
From: Xavier <xavier@groumpf.org>
To: freebsd-ports@freebsd.org
Message-ID: <deac3851-cd64-d9aa-cdce-ad3e912beefc@groumpf.org>
Subject: Problem with awstats since update to apache 2.4

--hI9IoJfhuJr1MviO4656Jxy9GS8AqBi83
Content-Type: text/plain; charset=utf-8
Content-Language: fr-classic
Content-Transfer-Encoding: quoted-printable

Hello folks,

I know, I should have this fixed a long time ago, but I procrastinated.
Now that I have a couple of hours free, I try to make it work again.

Basically since upgrade from apache 22 to 24 Awstats insists for
downloading the page (perl source) instead of displaying it.

My configuration :

> <VirtualHost _default_:80>
> 	ServerAdmin	root
> 	ServerName	awstats.groumpf.org
> 	ServerAdmin	root
>=20
> 	CustomLog /var/log/stats.groumpf.org_accesslog combined
> 	ErrorLog /var/log/stats.groumpf.org_errorlog
> =20
> 	Alias /awstatsclasses "/usr/local/ww/awstats/classes/"
> 	Alias /awstatscss "/usr/local/www/awstats/css/"
> 	Alias /awstatsicons "/usr/local/www/awstats/icon/"
> 	ScriptAlias /awstats/ "/usr/local/www/awstats/cgi-bin/awstats.pl"
> 	AddHandler cgi-script .cgi
>=20
> 	<Directory "/usr/local/www/awstats">
> 		AllowOverride None
> 		Require ip 192.168.100.0/24
> 	</Directory>
> =09
> 	<Directory "/usr/local/www/awstats/cgi-bin">
> 		DirectoryIndex awstats.pl
> 		Options +ExecCGI
> 		Require ip 192.168.100.0/24
> 	</Directory>
>=20
> </VirtualHost>

Apache modules loaded :

> [root@numenor modules.d]# apachectl -M
> Loaded Modules:
>  core_module (static)
>  so_module (static)
>  http_module (static)
>  authn_file_module (shared)
>  authn_core_module (shared)
>  authz_host_module (shared)
>  authz_groupfile_module (shared)
>  authz_user_module (shared)
>  authz_core_module (shared)
>  access_compat_module (shared)
>  auth_basic_module (shared)
>  reqtimeout_module (shared)
>  filter_module (shared)
>  mime_module (shared)
>  log_config_module (shared)
>  env_module (shared)
>  headers_module (shared)
>  setenvif_module (shared)
>  version_module (shared)
>  mpm_prefork_module (shared)
>  unixd_module (shared)
>  status_module (shared)
>  autoindex_module (shared)
>  dir_module (shared)
>  alias_module (shared)
>  maxminddb_module (shared)
>  php7_module (shared)
>  ssl_module (shared)
>  socache_shmcb_module (shared)
>  perl_module (shared)
>  cgid_module (shared)
>  cgi_module (shared)
>  rewrite_module (shared)


Where is my mistake ?

Thanks in advance

Regards,

Xavier

--=20
Xavier Humbert - sysadmin & network engineer


--hI9IoJfhuJr1MviO4656Jxy9GS8AqBi83--

--QnyxWU4cEF7yeS1iC9cmIuvUL9UncncHR
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEESAZA8WgF/u/6AMGYgbW6+oca/hUFAl2fb/gACgkQgbW6+oca
/hWfug//R+xKJQaSxYvVQMjtJXDGheWcg1zrRiOtu8rl4WnDMnF9hwKDJLqq2KOH
qtKaQzwzw4WazZPnSiCVBnCbVPQwXaD8q6bWFRcvobXbAK/dXqlULV8x+mlWKOw4
ElD+wgIYZixBX5u0URBvhtw+L1Ns1OO8R20iq1YJkm0JSa9EEG8+uo3vu90qQGbY
MumUM5jvJgH4pr+BvKP7SQac9W314zRfXQL5fAi62R3jI2hDhRsxTOKJ5HXdRFFu
8MWzN4PnDtPEynl2c5oG1uNy9VXVj7s24VxIE2PFyH8yPQQb05pVNGgaaZquaNiu
e1DW1/fauv3UFF/BJ8wew7FZ6rLvoMwYW1Oy1EWkSh8nWAuZu3xo0EyqKHO+TXVz
VGg8jZbBLjqTNrE/EiP8lXA3BzchOhTCuStcXrxJBlAWrFHFCIJtgzuRVnVEoP6W
CLrig/v3YJQY35vdCFrQJ120kjKeZPFraj/RkjWshQU3MsYWmUHOgSIVw/1ZgY0w
qCC0btn3ZOFdbBYIGUxQmUCdiBwStYaPVukD4oaGYWNHzzXZgtehF8LnkLrv64os
VgSolwYQ4R8rwg6a0Vk3of2q09zceergtwvoVCA+j08y/EPhbFx6IsORasT8q/Ru
abPcKeDbPtMHqSbJLzeSImp+OU8TRRMXpcTBPTc7iT487kO2e8Q=
=cGBF
-----END PGP SIGNATURE-----

--QnyxWU4cEF7yeS1iC9cmIuvUL9UncncHR--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?deac3851-cd64-d9aa-cdce-ad3e912beefc>