I bought my first server.
i know this may be a stupid question, but i just bought my very first server and i'd like to set up a webserver.
i've searched extensively for guides and everything (trying to have each user have php run as themselves and a cgi-bin), but they all seem to have caveats/issues.
currently on apache, if i mod_rewrite a file like "/index -> index.php", /index.jsp and /index.asp work (which is bad)
on nginx, i tried uploading a gif and was able to do file.gif/file.php and it would execute..
does anyone have a definitive guide on a (reasonably [security is a journey, not a destination]) secure server setup?
(
4 comments
| on HN
)
However, it does not provide you with a one click solution for your "/index -> index.php" problem.