392 reputation
1315
bio website
location
age
visits member for 3 years, 11 months
seen 12 hours ago

12h
awarded  Commentator
12h
comment How to serve a wget --mirror'ed directory of files with questionmarks in them
Say another site on the web links to https://mysite.com/gallery.php?foo=bar. If someone clicks that link, will they 404? That's the goal of this question: create a static mirror for an app that used query strings, but which doesn't break existing links on other sites over which I have no control.
1d
comment How to serve a wget --mirror'ed directory of files with questionmarks in them
As mentioned in the question and the comment on another answer, a design goal here is to not break inbound links. If you could recommend a server setup that allows an inbound link with a questionmark to be translated to the result of --restrict-file-names..., then this could work.
Nov
27
awarded  Popular Question
Sep
20
awarded  Famous Question
Aug
27
awarded  Popular Question
May
22
awarded  Nice Answer
Feb
2
awarded  Nice Question
Oct
18
awarded  Notable Question
Mar
3
comment Cant forward port 443 to 8443 without allowing 8443 on ufw
One thing to note: doesn't seem that xinetd adds "X-Forwarded-For" headers, but it does alter the IP. This might be problematic if your destination service needs to know the originating IP.
Jan
9
comment How to serve a wget --mirror'ed directory of files with questionmarks in them
Inbound links will still be broken by this approach, unless the webserver is able to rewrite inbound requests that lack ".html".
Dec
7
awarded  Self-Learner
Nov
1
awarded  Notable Question
Jul
27
awarded  Popular Question
May
21
awarded  Yearling
Apr
21
awarded  Popular Question
Feb
16
comment Can I override my umask using ACLs to make all files created in a given directory world readable?
One thing I've found (perhaps this is the trouble): the facl seems to use the first of (user, group, other) which the current user matches. That is, if you belong to the group for the file, the acl for group will be processed, not the acl for other. The acl should still be inherited if you applied the directory with -d, though....
Feb
15
awarded  Revival
Feb
14
answered Can I override my umask using ACLs to make all files created in a given directory world readable?
Feb
3
comment How to serve a wget --mirror'ed directory of files with questionmarks in them
This trick doesn't seem to work for lighttpd, unfortunately...