webserver

Wicket on self written java based server

Hey yall, I have a wicket- and also a server-related question: We built a little server with java (yeah, I know, why re-invent the wheel ... I got that a lot when I asked the question on the wicket-mailing-list) .... so let's just say, it is desperately needed b/c ... ehm ... I still can't think of a good reason, but there's not a lot I...

How to receive post data(XML) in .NET like java servlet doPost

I want to receive the HTTP POST data(XML), the XML data post by other webServer(Tomcat, shttpd). On Java I can use servlet doPost receive post data, I'm a newbie on C#, I don't know how to write it on c#. ...

What content length should I send when I am encoding data with gzip?

I am writing a small web server and would like to send gzipped data. In the http header for the Content-Length field do I set the length of the compressed data or the length of the uncompressed data? ...

Python LDAP Authentication from remote web server

I have a django application hosted on webfaction which now has a static/private ip. Our network in the office is obviously behind a firewall and the AD server is running behind this firewall. From inside the network i can authenticate using python-ldap with the AD's internal IP address and the port 389 and all works well. When i move t...

Throttle download traffic in apache for all users

Hi, Lets say I subdomain called largefiles.domain.com This is on a dedicated server and I can change any configuration. Server runs Apache/2.2.3 (CentOS) How do i restrict all file downloads to just 10Kbps for every file downloaded from the webserver? What is the easiest solution to implement this for the entire subdomain? ...

Why is my Perl source code being displayed in the browser?

What does it mean when I access my Perl script via URL, but when I do, the source code is printed on the screen? Does this mean that Perl isn't properly set up? I'm using Apache on Fedora. ...

Protect yourself against Dos attacks

This might be something more suited for Serverfault, but many webdevelopers who come only here will probably benefit from possible answers to this question. The question is: How do you effectively protect yourself against Denial Of Service attacks against your webserver? I asked myself this after reading this article: http://isc.sans.o...

Loading of pages in IE very slow compared to other browsers

When I load the frontpage of the website I work for in IE it takes about 7 or 8 seconds to load fully (meaning, the "Waiting for" and "(x items remaining)" disappear and change to "Done". The exact same page takes about half the time in Firefox and Google Chrome, and I just can't figure out what's causing the difference. Is this just g...

Why provide fonts as swfs for sifr?

I'm working with a designer who has supplied some font files as swfs for sifr. Could someone explain why this file format is being used for a font file? Does this have to do with legal restrictions about supplying regular font files for download from a web site - i.e. by providing them as swfs they are less usable for anything except...

need to create an application that will work on the Internet also and local internet also

hi , i need to make a website such that it can be accessed through the internet if internet is available otherwise when there is no internet then it should work properly on the local intranet also can this be achieved , i have built my site on php/mysql if this can be achieved please tell me and direct me to some examples of how to ach...

Can an NSAPI plugin be used in an apache web server?

Can an NSAPI plugin be used in an apache web server? I suspect the answer is no, but I would like it confirmed. I wrote the plugin for SunOne (formerly iPlanet) and now the company approved webserver is apache. Is it a trivial move? A tedious port? Or maybe I "just" get a variance. Aaron -I don't read Dilbert, because it doesn't se...

Which linux server distro to use for tomcat?

ubuntu 9.04, fedora 11, redhat... what are the differences from a web server/development standpoint? ...

What are advantages of using multiple instances of OHS 11g webserver?

Few days ago I came to know about the OHS feature i.e can create multiple instances. I am wondering,if using multiple instances of OHS webserver increases the performance of the Webserver. Is there any advantage, other than less server space use for using multiple instances of OHS? Where this feature of OHS is used? TIA Anil ...

How to detect web server type

Hi guys !! I'm trying to detect which Web Server type is running a domain, so what are the best options to deal with this. I'm doing a C# application. ...

No images displayed when website called from self written webserver

I have Java webserver (no standard software ... self written). Everything seems to work fine, but when I try to call a page that contains pictures, those pictures are not displayed. Do I have to send images with the output stream to the client? Am I missing an extra step? As there is too much code to post it here, here is a little outli...

How to check if a static file in web server is updated or not?

Any Java API in client side can check its modified date? ...

How to perform specific task in IIS

Hi there... I got kind of a weird question... I want my IIS server to automatically show a specific page if there's a specific file present on the server... Basically, if there is something wrong or whatever, the file will exist and a safe page will be displayed. I know that this exists by I don't remember how it's called and can't fin...

Can't save file on webserver: System.UnauthorizedAccessException

I can't save a file on my webserver with FileUpload.SaveAs() or with File.WriteAllText(). The folder I save in is CHMOD 666. My code is this: File.WriteAllText(MapPath(".") + "\\Ads\\test.jpg", "test"); This code works perfectly in Dev. server. Best regards, Lasse Espeholt System.UnauthorizedAccessException: Access to the path *' is...

Request methods on https-server

Hey everyone, I don't know whether my title is correctly articulated, but I have following problem: I have a self-written Java webserver, that handles incoming client requests. It works fine with all the request methods (GET, POST, HEAD, OPTIONS, DELETE, ...). It also works fine with sending files and stuff when I use http. GET and POST...

What web server to use for Lua web development

What web server (and why) should I use for Lua web development? ...