http (7,399)


How can I get the authenticated user name under Apache using plain HTTP authentication and PHP?

How can I get the authenticated user name under Apache using plain HTTP authentication and PHP?

First, let's get the security considerations out of the way. I'm using simple authentication under Apache for a one-off, internal use only, non-internet connected lan, php web app. How can get I the H…


What's the best setup for Mono development on Windows?

I started trying to play with Mono, mostly for fun at the moment. I first tried to use the Visual Studio plugin that will convert a csproj into a makefile, but there seemed to be no version availabl…


How do I add SSL to a.net application that uses httplistener-it will*not* be running on IIS

Most recent edits in bold I am using the.net HttpListener class, but I'm won't be running on IIS and am not using ASP.net. This web site describes what code to actual use to implement SSL with asp.n…


How do I update Ruby Gems from behind a Proxy(ISA-NTLM)

The firewall I'm behind is running Microsoft ISA server in NTLM-only mode. Hash anyone have success getting their Ruby gems to install/update via Ruby SSPI gem or other method?... or am I just being l…


language agnostic - How to know when to send a 304 Not Modified response

I'm writing a resource handling method where I control access to various files, and I'd like to be able to make use of the browser's cache. My question is two-fold: Which are the definitive HTTP he…


language agnostic - HTTP: Generating ETag Header

How do I generate an ETag HTTP header for a resource file?…


Securing a linux webserver for public access

I'd like to set up a cheap Linux box as a web server to host a variety of web technologies(PHP & Java EE come to mind, but I'd like to experiment with Ruby or Python in the future as well). I'm fai…



c# - When do Request.Params and Request.Form differ?

I recently encountered a problem where a value was null if accessed with Request.Form but fine if retrieved with Request.Params. What are the differences between these methods that could cause this?…


unix - Allow user to set up an SSH tunnel, but nothing else

I'd like to allow a user to set up an SSH tunnel to a particular machine on a particular port(say, 5000), but I want to restrict this user as much as possible.(Authentication will be with public/priva…


apache - How do you redirect HTTPS to HTTP?

How do you redirect HTTPS to HTTP?. That is, the opposite of what(seemingly) everyone teaches. I have a server on HTTPS for which I paid an SSL certification for and a mirror for which I haven't and k…




example request how get not post error server response api