webserver

Creating a REST webserver with security

Hi, I am very new to creating webservers - and I have had several goes at trying to understand them and write a quick webserver, but it's never quite 'clicked'. At the moment I am under the impression that REST would be most suitable for my purposes (I will explain later). Can anyone either show me a basic code example in Java (using T...

Binding a socket to port 80 in ansi c

When I try to bind port 80 to a socket in c, i always get the error, that I don't have permission to use this port. is there an easy way to get this permission? ...

Apache Webserver security and optimization tips

Hi. I'm about to deal with managing and running my first Internet connected Apache webserver and I was wondering if there are any sys admins and developers out there that would like to share some of their knowledge regarding security and optimization tips for running Apache webserver. Maybe you can share your top five (or ten) list of ...

Webserver to combine xml files?

I have a program I've written in VB.NET 2005, it saves statistics in an xml file. I use this program on multiple computers. I'd like to set up a webserver where I can upload my xml file, or just the data, and add it to the server ignoring duplicate entries already on the server. What do I need for to learn for this? SQL? Any ideas w...

Guidelines for asp.net website loading estimation?

I wonder if there is any good guideline for system administrators to calculate the resources needed to host an ASP.NET website? I want to do some estimates on the processing power needed so I know what kind of VPS/Cloud I need to get. ...

What do I need to re-build my web server?

I am getting ready to completely overhaul my web server. I use it for both development and to present product to clients. It also hosts my company website. I will be loading MS Server 2008 and MS SQL 2008. I want it to have the latest .NET Framework as well as the latest MVC templates. I want it to use SubSonic. I also want to start usi...

A good multithreaded python webserver?

Hi, I am looking for a python webserver which is multithreaded instead of being multi-process (as in case of mod_python for apache). I want it to be multithreaded because I want to have an in memory object cache that will be used by various http threads. My webserver does a lot of expensive stuff and computes some large arrays which nee...

Installing and configuring a barebones email server on Ubuntu

I've got an unmanaged Linux VPS running ubuntu that I'm using for the web server for a personal website. I'd like to get a barebones email server up and running. All the installation guides I've found so far are for a full-fledged email server with a webmail interface and everything. That's a lot more than I need. There's only two th...

Can Apache HTTP Server serve dynamic content?

Can Apache HTTP Server serve only static content? Tomcat is used to serve Servlets/JSP. Can Tomcat serve other dynamic contents like perl, PHP etc? ...

How close are development webservers to production webservers?

Most python frameworks will have a development webserver of some kind that will have a warning that it isn't for use as production servers. How much different do they tend to be from their production equivalents? I haven't quite decided which framework to go with, much less what production server to use, so it's kinda difficult for me ...

404 SysVol entries in webserver's logfiles

Our 404 error logs show a lot of /SysVol http requests on our Windows Web Server 2008 for our website. It only has a webserver role and I believe that SysVol requests are meant for Domain Controllers? What's causing this and what would be the best solution to deal with these 404 requests? I'm using code that access employee records via ...

Difference between proxy server and reverse proxy server

What is the difference between proxy server and reverse proxy server? ...

Rolling out entire site, or only changed pages/elements? (ASP.NET)

We use ASP.NET, C# When making an update to one of our websites, we roll out the entire site rather than updating just the pages or sections that have changed. This scares me. Is this a good idea? Should I roll out only the changes? Should I break my site into smaller projects? What is best practice? ...

What is the fastest webserver solution with the lowest memory footprint?

I need a webserver to serve up very simple POST/GET requests as JSON. I don't need MVC, Rails, Django. I need something that takes up very little memory, preferrably around 5K per reqeust. The webserver will talk to backend services like Scribe using Facebook Thrift. Each http request will also access a SQLLite database, one for each...

JSF and SunOne Webserver 6.1

Hi guys, Does anybody know which JSF version is most suitable to use when deploying to SunOne 6.1 SP2 Webserver? More important where I can find that type of information? Thanks, Alejo ...

Matching domains with regex for lighttpd mod_evhost (www.domain.com / domain.com / sub.domain.com)

Hi, I'm playing about with lighttpd on a small virtual private server. I two domains pointing to the server. I am using the latest version of lighttpd and mod_evhost on Ubuntu 8.10. I'm trying to set up a rule such that if anyone requests domain.com or www.domain.com they get served from /webroot/domain.com/www/ Similarly, if anyone ...

Is Ubuntu an acceptable distro for running a production server?

I'm not a great Linux expert, but I'm comfortable running my Ubuntu desktop. I've also got a little experience running Ubuntu as a server as well, for my home network. At work, we're considering switching away from our current Solaris based setup to something Linux based. Our sysadmin is pushing for something like RedHat Enterprise or...

Disable autostart of integrated webserver in visual studio 2005

Is there a way to run a project inside a solution that has more one project (read: web applications) and avoid the autostart feature of the integrated asp.net webserver in Visual Studio? I have a big solution that has Windows forms projects, Windows Services projects, Web applications, Windows Libraries etc., sometimes I just want to de...

C# WebBrowser HTML with references to scripts and images

Hello, I'm writing a C# app using the WebBrowser control, and I want all content I display to come from embedded resources - not static local files, and not remote files. Setting the initial text of the control to an embedded HTML file works great with this code inspired by this post: browser.DocumentText=loadResourceText("myapp.index...

Is it safe and acceptable to install VS.NET on your production server?

Usually, we install VS.NET on our production server, to solve problems easily with our product, if necessary. Is this a good or bad idea? ...