Hi Joe,

when I try to compile this "git"-pund, I run into this error:

[root@pilotpound pound]# make
gcc -DF_CONF=\"/etc/pound.cfg\" -DVERSION=\""2.6"\" -DC_SSL=\"""\" 
-DC_T_RSA=\""0"\" -DC_MAXBUF=\""0"\" -DC_OWNER=\"""\" -DC_GROUP=\"""\" 
-DC_SUPER=\""0"\" -DC_CERT1L=\"""\" -g -O2 -pthread -DUPER -DNEED_STACK 
-DHAVE_SYSLOG_H=1 -pthread  -D_REENTRANT -D_THREAD_SAFE -Wstrict-prototypes 
-Wno-unused-result -pipe   -c -o config.o config.c
config.c:83: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before 
âCNNameâ
config.c: In function âparse_HTTPSâ:
config.c:1159: error: âCNNameâ undeclared (first use in this function)
config.c:1159: error: (Each undeclared identifier is reported only once
config.c:1159: error: for each function it appears in.)
config.c: In function âparse_fileâ:
config.c:1396: error: âThreadModelâ undeclared (first use in this function)
config.c: In function âconfig_parseâ:
config.c:1524: error: âThreadModelâ undeclared (first use in this function)
config.c:1591: error: âCNNameâ undeclared (first use in this function)
At top level:
cc1: warning: unrecognized command line option "-Wno-unused-result"
make: *** [config.o] Error 1
[root@pilotpound pound]#


Any Suggestions are welcome

Kind regards

fatcharly


-------- Original-Nachricht --------
> Datum: Wed, 4 Apr 2012 14:49:29 +0000
> Von: Joe Gooch <[email protected]>
> An: "\'[email protected]\'" <[email protected]>
> Betreff: RE: [Pound Mailing List] port 80 redirect with keeping the full url

> You'd want the RedirectAppend option provided here:
> https://github.com/goochjj/pound/commit/6987fab10d7ee47d0b46501520a934839c3085db
> 
> It may be easier to use the branch I staged for prospective 2.7... you can
> do that with:
> 
> git clone git://github.com/goochjj/pound.git -b stage_for_upstream/v2.7
> cd pound
> configure/compile as usual
> 
> The pound.8 man page in the repo will illustrate how to use Redirect vs
> RedirectAppend vs RedirectDynamic.
> 
> Joe
> 
> 
> 
> > -----Original Message-----
> > From: [email protected] [mailto:[email protected]]
> > Sent: Wednesday, April 04, 2012 7:43 AM
> > To: [email protected]
> > Subject: [Pound Mailing List] port 80 redirect with keeping the full
> > url
> > 
> > Hi,
> > 
> > we are running a pound 2.6f with a patch v2 by Joe Gooch. We have a
> > webservice configured like this:
> > 
> > ListenHTTP
> >                 Address XXX.XXX.XXX.86
> >                 Port 80
> >                 Service
> >                         Redirect "https://www.domain.de";
> >                 End
> > End
> > ListenHTTPS
> >                 Address xxx.xxx.xxx.86
> >                 Port 443
> >                 Cert "/etc/pki/tls/pound/domainname/domainname.pem"
> >                 SSLAllowClientRenegotiation 0
> >                 SSLHonorCipherOrder 1
> >                 Ciphers "RC4-SHA:HIGH:!ADH:!SSLv2"
> >                 Service
> >                         Backend
> >                                 Address xxx.xxx.xxx.xxx
> >                                 Port 80
> >                         End
> > 
> >                         Session
> >                                 Type COOKIE
> >                                 ID "userblbbla"
> >                                 TTL 360
> >                         End
> >                 End
> > End
> > #############################
> > When we do a http://www.domain.de/page1.html on our Site, we get a
> > redirect to https://www.domain.de, which is as expected, but we are
> > missing the "page1.html" part. (yes the page.html part can change very
> > often)
> > 
> > 
> > We can archive this in a normal termination on a apache with something
> > like this:
> >  RewriteCond %{SERVER_PORT} !443
> >  RewriteRule ^/(.*)$ https://www.domain.com/$1 [R=301,L]
> > 
> > 
> > Is it possible to let the pound act like this ?
> > 
> > 
> > Kind regards
> > 
> > 
> > fatcharly
> > 
> > 
> > 
> > --
> > NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!
> > Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a
> > 
> > --
> > To unsubscribe send an email with subject unsubscribe to
> > [email protected].
> > Please contact [email protected] for questions.

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.

Reply via email to