Re: cvsweb: headers of revision files are shown in plain text
On Sat, Aug 13, 2016 at 12:43 AM, Alessandro DE LAURENZISwrote: ... > Actually, my trial on -current was too quick; maybe there was something in > the browser's cache... Anyhow, I confirm that cvsweb works flawlessly in > -current. > > Now: any chance to have this working on the 5.9 machine? I tried to upgrade > httpd(8) only (compiling from -current source), but i still see the > misbehaviour; > maybe some other libs involved? "To have it working on the 5.9 machine, upgrade the 5.9 machine to run 6.0" (Figuring out which fix in the last 6 months fixed this would take *someone's* brain power. If it matters to you, why aren't you contributing that research to the OpenBSD community instead of asking someone else to do that work? It's simple: just take your 5.9 box and walk it forward diff by diff until you find the change that fixed things! If you had been tracking -current on a regular basis then this wouldn't hard to answer..but now you're basically asking people to try to remember something from up to 6 months ago. Do you remember the *side-effects* of stuff you dealt with 3 months ago? 4 months ago? 5 months ago?)
Re: cvsweb: headers of revision files are shown in plain text
Hello naddy, On Fri, 12 Aug 2016 19:20:12 + (UTC) Christian Weisgerberwrote: > On 2016-08-12, Alessandro DE LAURENZIS > wrote: > > > Out of idea. > > I have no idea either. I run cvsweb on a local machine. It just > works. /etc/rc.conf.local: Actually, my trial on -current was too quick; maybe there was something in the browser's cache... Anyhow, I confirm that cvsweb works flawlessly in -current. Now: any chance to have this working on the 5.9 machine? I tried to upgrade httpd(8) only (compiling from -current source), but i still see the misbehaviour; maybe some other libs involved? -- Alessandro DE LAURENZIS [mailto:jus...@atlantide.t28.net] LinkedIn: http://it.linkedin.com/in/delaurenzis
Re: cvsweb: headers of revision files are shown in plain text
On 2016-08-12, Alessandro DE LAURENZISwrote: > Out of idea. I have no idea either. I run cvsweb on a local machine. It just works. /etc/rc.conf.local: httpd_flags= slowcgi_flags= Here's my complete httpd.conf: ---> server "default" { listen on 0.0.0.0 port 80 listen on :: port 80 location "/cgi-bin/*" { fastcgi # The /cgi-bin directory is outside of the document root root "/" } } <--- I follow the "Editing cvsweb and cvsweb.conf" section in cvsweb's README. I don't have a /var/www/conf/mime.types file. -- Christian "naddy" Weisgerber na...@mips.inka.de
Re: cvsweb: headers of revision files are shown in plain text
Hello, I'll try with -current as soon as I have a bit of spare time. Just made a (very quick) trial on current: same behaviour... Out of idea. -- Alessandro DE LAURENZIS [mailto:jus...@atlantide.t28.net] LinkedIn: http://it.linkedin.com/in/delaurenzis
Re: cvsweb: headers of revision files are shown in plain text
On 2016-08-11 11:31, Alessandro DE LAURENZIS wrote: Dear misc@ readers, I'm trying to set-up a cvsweb server (OpenBSD 5.9 i386) with stock httpd(8); this is the relevant part of my httpd.conf: # Name-based web server server $web_domain { listen on $ext_if port 80 location "/cgi-bin/*" { fastcgi # The /cgi-bin directory is outside of the document root root "/" } location "/cvsweb/*" { root { "/htdocs/cvsweb", strip 1 } } root "/htdocs/www.atlantide.t28.net" } Ok, I understand: all is relevant when one doesn't know what really is... $OpenBSD: httpd.conf,v 1.14 2015/02/04 08:39:35 florian Exp $ # # Macros # ext_if="egress" web_domain="www.atlantide.t28.net" secure_domain="secure.atlantide.t28.net" webmail_domain="webmail.atlantide.t28.net" cvsweb_domain="cvsweb.atlantide.t28.net" # # Global Options # prefork 3 types { include "/usr/share/misc/mime.types" } # # Servers # # A minimal default server server "default" { listen on $ext_if port 80 block return 301 "http://www.atlantide.t28.net; } # Name-based web server server $web_domain { listen on $ext_if port 80 location "/cgi-bin/*" { fastcgi # The /cgi-bin directory is outside of the document root root "/" } location "/cvsweb/*" { root { "/htdocs/cvsweb", strip 1 } } root "/htdocs/www.atlantide.t28.net" } # HTTPS server using SSL/TLS server $secure_domain { listen on $ext_if tls port 443 tls { certificate "/etc/ssl/www.atlantide.t28.net.crt" key "/etc/ssl/private/www.atlantide.t28.net.key" } # Define server-specific log files (paths are relative to /logs) log { access "secure-access.log", error "secure-error.log" } # Increase connection limits to extend the lifetime connection { max requests 500, timeout 3600 } root "/htdocs/secure.atlantide.t28.net" directory auto index authenticate with "/htdocs/secure.atlantide.t28.net/.htaccess" } # Webmail server (with HTTP redirect fallback) server $webmail_domain { listen on $ext_if port 80 block return 301 "https://$SERVER_NAME$REQUEST_URI; } server $webmail_domain { listen on $ext_if tls port 443 tls { certificate "/etc/ssl/webmail.atlantide.t28.net.crt" key "/etc/ssl/private/webmail.atlantide.t28.net.key" } root "/roundcubemail" directory index index.php location "*.php" { fastcgi socket "/run/php-fpm.sock" } } # CVSweb server #server $cvsweb_domain { # listen on $ext_if port 80 # # location "/" { # block return 301 "/cgi-bin/cvsweb" # } # # location "/cgi-bin/*" { # fastcgi # root "/" # } #} # CVSweb server server $cvsweb_domain { listen on $ext_if port 80 block return 301 "http://www.atlantide.t28.net/cgi-bin/cvsweb; } I'll try with -current as soon as I have a bit of spare time. Thanks for your help (and let me know if the reported config looks suspicious somewhere!) -- Alessandro DE LAURENZIS [mailto:jus...@atlantide.t28.net] LinkedIn: http://it.linkedin.com/in/delaurenzis
Re: cvsweb: headers of revision files are shown in plain text
On 2016 Aug 11 (Thu) at 11:31:43 +0200 (+0200), Alessandro DE LAURENZIS wrote: :this is the relevant part If you knew which part was relevant, you'd know how to fix it. Always include the entire configuration / output / etc. -- "The voters have spoken, the bastards ..."
Re: cvsweb: headers of revision files are shown in plain text
On 08/11/16 05:31, Alessandro DE LAURENZIS wrote: > Dear misc@ readers, > > I'm trying to set-up a cvsweb server (OpenBSD 5.9 i386) with stock > httpd(8); this is the relevant part of my httpd.conf: ^ you do realize that when a lot of people see this phrase, alarm bells go off in their heads, right? And in fact, what you posted looks right comparing to what I have that works. And what you are seeing seems to be a web server issue. So I'd look REALLY closely at the "non-relevant" parts, too. Oh...after typing that, I now have a dim memory of a problem in httpd along these lines. You might want to run it up to -current and see if that takes care of the problem. Nick.