You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by William J Adler <wa...@helios.jpl.nasa.gov> on 2019/09/11 20:54:48 UTC
[users@httpd] compiling http-2.4.41 on linux variants
I am trying to compile http-2.4.41 and it works on Fedora 29 and Centos
7 but
on Centos 6 and Ubuntu 18 the compile generates the following error:
/usr/local/apache2/build-1/libtool --silent --mode=compile gcc
-std=gnu99 -g -O2 -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE
-I. -I/home/sa/APACHE/APACHE2441/SPEC2441/os/unix
-I/home/sa/APACHE/APACHE2441/SPEC2441/include
-I/usr/local/apache2/include/apr-1 -I/usr/local/apache2/include
-I/home/sa/APACHE/APACHE2441/SPEC2441/modules/aaa
-I/home/sa/APACHE/APACHE2441/SPEC2441/modules/cache
-I/home/sa/APACHE/APACHE2441/SPEC2441/modules/core
-I/home/sa/APACHE/APACHE2441/SPEC2441/modules/database
-I/home/sa/APACHE/APACHE2441/SPEC2441/modules/filters
-I/home/sa/APACHE/APACHE2441/SPEC2441/modules/ldap
-I/home/sa/APACHE/APACHE2441/SPEC2441/modules/loggers
-I/home/sa/APACHE/APACHE2441/SPEC2441/modules/lua
-I/home/sa/APACHE/APACHE2441/SPEC2441/modules/proxy
-I/home/sa/APACHE/APACHE2441/SPEC2441/modules/http2
-I/home/sa/APACHE/APACHE2441/SPEC2441/modules/session
-I/home/sa/APACHE/APACHE2441/SPEC2441/modules/ssl
-I/home/sa/APACHE/APACHE2441/SPEC2441/modules/test
-I/home/sa/APACHE/APACHE2441/SPEC2441/server
-I/home/sa/APACHE/APACHE2441/SPEC2441/modules/md
-I/home/sa/APACHE/APACHE2441/SPEC2441/modules/arch/unix
-I/home/sa/APACHE/APACHE2441/SPEC2441/modules/dav/main
-I/home/sa/APACHE/APACHE2441/SPEC2441/modules/generators
-I/home/sa/APACHE/APACHE2441/SPEC2441/modules/mappers -prefer-pic -c
dbm.c && touch dbm.slo
In file included from
/home/sa/APACHE/APACHE2441/SPEC2441/include/http_log.h:34,
from dbm.c:42:
/home/sa/APACHE/APACHE2441/SPEC2441/include/http_config.h:943: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
make[4]: *** [dbm.slo] Error 1
make[4]: Leaving directory
`/home/sa/APACHE/APACHE2441/SPEC2441/modules/dav/fs'
make[3]: *** [shared-build-recursive] Error 1
make[3]: Leaving directory
`/home/sa/APACHE/APACHE2441/SPEC2441/modules/dav/fs'
make[2]: *** [shared-build-recursive] Error 1
make[2]: Leaving directory `/home/sa/APACHE/APACHE2441/SPEC2441/modules'
make[1]: *** [shared-build-recursive] Error 1
make[1]: Leaving directory `/home/sa/APACHE/APACHE2441/SPEC2441'
make: *** [all-recursive] Error 1
This line 943 is the only change between 2.4.39 and 2.4.41
I believe this has something to do with Building Shared Dav:
Thank you
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Second level subdomain redirecting to main
Posted by Daniel Armando Rodriguez <dr...@epet1.edu.ar>.
El mié., 11 de sep. de 2019 a la(s) 22:26, Eric Covener
(covener@gmail.com) escribió:
>
> On Wed, Sep 11, 2019 at 9:17 PM Daniel Armando Rodriguez
> <dr...@epet1.edu.ar> wrote:
> >
> > Hi,
> >
> > I'ḿ trying to achieve the subject's goal with no success so far.
> > This is my apache's config
> >
> > <VirtualHost *:80>
> >
> > ServerName alumnos.epet1.edu.ar
> > ServerAlias proyectos.alumnos.epet1.edu.ar
> > ServerAdmin administrador@epet1.edu.ar
> >
> > DocumentRoot /var/www/proyectos.alumnos
> >
> > <Directory /var/www/proyectos.alumnos/>
> > Options Indexes FollowSymLinks MultiViews
> > AllowOverride All
> > Require all granted
> > </Directory>
> >
> > ErrorLog ${APACHE_LOG_DIR}/error_proyectos.alumnos.log
> > CustomLog ${APACHE_LOG_DIR}/access_proyectos.alumnos.log combined
> >
> > </VirtualHost>
> >
> > Accessing the VH URL browser is redirected to www.epet1...
> >
> > Have to say that alumnos.epet1... is a fully functional domain
> >
> > I'm stuck with this problem, any clue?
>
> Do you get the same failure from a command line client?
yes
> Is the request logged to the custom access log?
No, logs are completely empty
> Are there htaccess files?
None
> What other headers accompany the redirect?
# wget -S --spider http://proyectos.alumnos.epet1.edu.ar
Modo arácnido activado. Comprobar si el fichero remoto existe.
--2019-09-16 07:33:08-- http://proyectos.alumnos.epet1.edu.ar/
Resolviendo proyectos.alumnos.epet1.edu.ar
(proyectos.alumnos.epet1.edu.ar)... 10.10.20.2
Conectando con proyectos.alumnos.epet1.edu.ar
(proyectos.alumnos.epet1.edu.ar)[10.10.20.2]:80... conectado.
Petición HTTP enviada, esperando respuesta...
HTTP/1.1 302 Found
Date: Mon, 16 Sep 2019 10:33:08 GMT
Server: Apache/2.4.38
Location: https://www.epet1.edu.ar
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1
_______________________________________________
Daniel A. Rodriguez
Departamento de Tecnología para la Gestión
Escuela Provincial de Educación Técnica N° 1
Posadas - Misiones - Argentina
(0376) 443-8578
www.epet1.edu.ar
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Second level subdomain redirecting to main
Posted by Eric Covener <co...@gmail.com>.
On Wed, Sep 11, 2019 at 9:17 PM Daniel Armando Rodriguez
<dr...@epet1.edu.ar> wrote:
>
> Hi,
>
> I'ḿ trying to achieve the subject's goal with no success so far.
> This is my apache's config
>
> <VirtualHost *:80>
>
> ServerName alumnos.epet1.edu.ar
> ServerAlias proyectos.alumnos.epet1.edu.ar
> ServerAdmin administrador@epet1.edu.ar
>
> DocumentRoot /var/www/proyectos.alumnos
>
> <Directory /var/www/proyectos.alumnos/>
> Options Indexes FollowSymLinks MultiViews
> AllowOverride All
> Require all granted
> </Directory>
>
> ErrorLog ${APACHE_LOG_DIR}/error_proyectos.alumnos.log
> CustomLog ${APACHE_LOG_DIR}/access_proyectos.alumnos.log combined
>
> </VirtualHost>
>
> Accessing the VH URL browser is redirected to www.epet1...
>
> Have to say that alumnos.epet1... is a fully functional domain
>
> I'm stuck with this problem, any clue?
Do you get the same failure from a command line client?
Is the request logged to the custom access log?
Are there htaccess files?
What other headers accompany the redirect?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
[users@httpd] Second level subdomain redirecting to main
Posted by Daniel Armando Rodriguez <dr...@epet1.edu.ar>.
Hi,
I'ḿ trying to achieve the subject's goal with no success so far.
This is my apache's config
<VirtualHost *:80>
ServerName alumnos.epet1.edu.ar
ServerAlias proyectos.alumnos.epet1.edu.ar
ServerAdmin administrador@epet1.edu.ar
DocumentRoot /var/www/proyectos.alumnos
<Directory /var/www/proyectos.alumnos/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error_proyectos.alumnos.log
CustomLog ${APACHE_LOG_DIR}/access_proyectos.alumnos.log combined
</VirtualHost>
Accessing the VH URL browser is redirected to www.epet1...
Have to say that alumnos.epet1... is a fully functional domain
I'm stuck with this problem, any clue?
Regardas in advance.
_______________________________________________
Daniel A. Rodriguez
Departamento de Tecnología para la Gestión
Escuela Provincial de Educación Técnica N° 1
Posadas - Misiones - Argentina
(0376) 443-8578
www.epet1.edu.ar
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] compiling http-2.4.41 on linux variants
Posted by Dennis Clarke <dc...@blastwave.org>.
On 9/11/19 4:54 PM, William J Adler wrote:
> I am trying to compile http-2.4.41 and it works on Fedora 29 and Centos
> 7 but
>
> on Centos 6 and Ubuntu 18 the compile generates the following error:
>
>
Replace -std=gnu99 with -std=iso9899:1999 and -pedantic and give it
another try.
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux support
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org