...to configure this requirement at the web- or proxy server level, where nginx or apache will just redirect every request on http to https. Some applications additionally detect if the...

...HTTP/1.1 301 Moved Permanently < Date: Wed, 26 Apr 2023 06:38:09 GMT < Server: Apache < Location: https://localhost:12345/ < Content-Length: 0 < Status: 301 Moved Permanently < Connection: close < Content-Type...

...A user uploads a file with HTML/JavaScript content using no file extension. In the Apache default configuration if you access the file it will have no Content-Type. Some browsers...

#ARGV << "--debug" If you don't know where your config.ru is, check the Apache DocumentRoot. It's in /path/to/DocumentRoot/../config.ru. For example if your DocumentRoot is /etc/puppet/rack/public/ the config.ru is...

Best results in other decks

...slow, especially for large collections of images. Using unguessable URLs. This is fast (because Apache can deliver assets without going through Rails), but less secure. When going with the "unguessable...

...modify that expiry date. It turns out this can be done with a vanilla Apache installation in a relatively secure fashion. We encode URLs as /system/ ?t= &s=

Eu tinha um cenário em que precisava verificar de tempos em tempos, se uma determinada tarefa havia concluído, numa implementação...

Search in all decks