1,553 reputation
11020
bio website karol.piczak.com
location Warsaw, Poland
age 28
visits member for 4 years, 11 months
seen Mar 14 at 17:47

One-liner: Finance/data tinkerer by day, hobbyist composer by night. Academically interested in AI/ML and machine perception (currently working on a PhD in sound classification with machine audition techniques).


Educational background: Master of Finance, now pursuing a PhD in Computer Science (audio data analysis, signal processing, music recommender systems, MIR etc.).

Professional interests:

  • Quantitative finance
  • Financial markets

Academic interests:

  • Machine perception, audio data analysis, music recommender systems, MIR, signal processing and identification, audio mining
  • Artificial intelligence, machine learning, data mining, statistical analysis

Personal interests:

  • Music composition and sound design
  • Foreign languages
  • Fantasy books

My business card: karol.piczak.com

My web presence: karol.dvl.pl


May
13
comment setup dns to redirect all http requests on a specific machine in LAN
First of all, with DNS changes only you won't be able to selectively redirect all HTTP request (and leave other types of traffic alone). Second, what's your current setup - is B your current local DNS server for all the machines (A)? Is it a gateway/router? Your best bet would be probably to use some redirection at the firewall level.
Apr
27
comment Rewrite URL before passing to proxy Lighttpd
And another thought - if you really need this kind of functionality without touching the second server, you can add another layer in the backend. Make a second instance of lighttpd listening on localhost (first server) and proxy your desired urls through this middle proxy, which rewrites everything for the destination proxy. I know it's not elegant (and may be too bloated), but I don't think you can achieve your goal with lighttpd 1.4.x. Rewrites take place before mod_proxy, and the request is handled from the beginning, so you can't really discern it later on.
Apr
27
comment Rewrite URL before passing to proxy Lighttpd
It probably depends on how badly you need this kind of functionality, and how much production stable your setup needs to be. I'm using 1.4.26, so I can't tell you how it behaves. And now thinking, maybe the best way out of this would be to rewrite this part on the proxy (secondary) server itself? If that's feasible.
Apr
26
awarded  Commentator
Apr
26
comment How do I change the document root of a Linux Apache server?
Try /etc/init.d/apache2 reload
Apr
26
comment grep/search for multiple lines in a file
I'm not sure. My knowledge of sed/awk is rudimentary. It works on mawk though - I tested. Maybe there's some difference in how it's handled.
Apr
26
comment grep/search for multiple lines in a file
Ah, indeed. I will fix this right away.
Apr
26
answered grep/search for multiple lines in a file
Apr
26
answered Virtualization in Ubuntu 9.10
Apr
26
answered How do I change the document root of a Linux Apache server?
Apr
26
comment Rewrite URL before passing to proxy Lighttpd
OK, now it's more clear. I've updated the answer a bit.
Apr
26
revised Rewrite URL before passing to proxy Lighttpd
added 264 characters in body
Apr
26
answered Explanation of the init.d/scripts Fedora
Apr
26
answered Rewrite URL before passing to proxy Lighttpd
Apr
26
answered .htaccess & Mod_Rewrite
Apr
25
comment Apache not parsing files? Just sending downloads
What system are you running this on?
Apr
23
comment How to point any *.mydomain variation to localhost (for development)?
By my side it works without /etc/hosts modifications. Setting example.com redirects *.example.com and example.com too. But maybe there's some limitation here about TLDs, I don't know. Are you using literal mydomain? ;-) Maybe mydomain.localnet would work?
Apr
23
answered How to point any *.mydomain variation to localhost (for development)?
Apr
22
comment How to rewrite index.php (and other valid default files) to the document root using mod_rewrite?
Probably not all Google employees are unanimous (tinyurl.com/adam-lasnik-on-301) ;-) But I'm not a SEO specialist, so I won't argue here. The point is - even if you lose some PR (it's same domain here, so I'm not sure if that's what Eric meant), what's the correct way to do it? I supposed your goal is to redirect all requests to root - not to allow access to the main page through .htm/.html/... (duplicate content?). Maybe I misunderstood you here.
Apr
22
answered How do I host multiple domains on Ubuntu Server (Hardy Heron)?