webserver

"Ad-hoc webserver" for static files on UNIX/MacOSX?

Is there such a thing as a tiny little webserver that I can invoke from the command line that just fetches files from the local filesystem and serves them via HTTP on specific port? I'd like to be able to do something like this: $ cd ~/Sites/mysite $ serve . 10.0.1.1 8080 This should fire up a webserver that listens on 10.0.1.1:8080 ...

finding the server spec. on which my website runs

hi, i need to find out what are the details of the processor the server has. i need to know which kind of processor, type of OS, RAM etc. i've got a reply from one webhosting company: "This is a shared hosting server, it is a dual processor (quad core xeon 2.8) 16Gb ram, mirrored 300GB SAS15k drives" how can i get those details on othe...

What is a good way to measure performance and usage on my webserver.

We have an internal web server (intranet) and starting next week we will be under a heavy load. I need to monitor things like users online, page hits, wait time. I can't use outside sites to measure this. I need something that can be loaded internally. ...

html code doesn't run in the browser, and only display the code

hi, in order to find the server spec. i've created a file in the root dir in my website called spec.htm and entered this content as i was offered by another user: <html> <head> <title></title> </head> <body> @ServerInfo.GetHtml() </body> </html> but i only get a copy of the code in my browser and it doesn...

does each subdomain on a Windows Server 2003 webserver need a dedicated IP address?

We have a remote webserver with two IP addresses. Can we put several web applications on this server organized like this? I am putting xttp instead of http because stackoverflow thinks I'm trying to add real links. xttp://www.ourdomain.com xttp://dogs.ourdomain.com xttps://securedogs.ourdomain.com xttps://securecats.ourdomain.com xttp:...

Ruby Rack - mounting a simple web server that reads index.html as default

Hello, I'm trying to get some information from this tutorial: http://m.onkey.org/2008/11/18/ruby-on-rack-2-rack-builder basically I want to have a file config.ru that tell rack to read the current directory so I can access all the files just like a simple apache server and also read the default root with the index.html file...is there a...

When I Branch from Trunk I need to create a new Virtual Directory. Anyway around this?

the Trunk of my app points to <IISUrl>http:///localhost/MyApp/&lt;/IISUrl&gt; Whenever I create a new branch, I end up having to edit MyApp.csproj to change the target URL to <IISUrl>http:///localhost/MyAppBranchName/&lt;/IISUrl&gt; Is there any way that I don't need to do this? The reason is the number of branches are starting t...

Start simple web server and launch browser simultaneously in Python

I want to start a simple web server locally, then launch a browser with an url just served. This is something that I'd like to write, from wsgiref.simple_server import make_server import webbrowser srv = make_server(...) srv.blocking = False srv.serve_forever() webbrowser.open_new_tab(...) try: srv.blocking = True except KeyboardInte...

Is there a web log analyser that can understand processing time and parse querystring?

Does anyone know of an web log analyser that can both report on the 'processing time' field that Apache can store (%D), and also parse querystrings intelligently? I've looked into some of the usual suspects eg AWStats and Webalyser but none I've looked at seem to offer either of these features. Ideally, you'd be able to report on spec...

In process web-server for MVC2

I'm working on a project that requires an in process web server to run the web based UI. The best option I have come across is CassiniDev EDIT: did some tests and noticed that issue isn't synchronous way of processing requests, it has to do with tcp-connects. fiddler shows 1 second as the tcp-connect time. Are there any alternatives? ...

How to run a leightweight ASP.NET MVC application that would be accessible only locally (not on IIS)?

We have a desktop client application and recent customer requests indicate that they would like to have some dynamic HTML content served and displayed by the application. We are considering hosting a simple ASP.NET application in a local process, accessible only from the local machine (similar to the ASP.NET development web server used ...

How can I communicate across Perl CGI scripts?

I am searching for efficient ways of communication across two Perl scripts. I have two scripts; Script 1 generates some data. I want my Script 2 to be able to access that information. The easiest/dumbest way is to write the data generated by Script 1 as a file and read it later using Script 2. Is there any other way than this? Can I st...

Python webapp - moving from testing to production

I've made a small web app using web.py that I now want to put into production. I dont anticipate this will have very high concurrent use (probably max of 5 or so users at any given time, if that). That said, I dont want to go with the cherry.py server that comes with web.py (and which i have been using for debugging), because one of my ...

How to download a file to server PHP?

Is it possible with PHP script to have the script download a file on a remote server to my web server? I have my own webserver and domain. I want to put a php script on that domain, that will download a file from a remote server onto my server's filesystem. Is this possible? -Jim ...

How to using picaxe net web server to send emails

Hi, I want to use PICAXE NET WEB SERVER from here to use to it as sending emails to a known email address. Can anyone please let me know if it is possible to do that? Since it supports only HTML, I am wondering how exactly it is possible do what I want? ...

localhost/test.php is also reachable under localhost/test/

What is wrong with my apache-conf, why is the file also reachable under a folder-path without an extension? I haven't set any rewrite rules and there are no .htaccess files. This is the default os x apache installation. ...

Use Visual Studio web server in local network

Is there a way to access visual studio web server from another computer that share the same router? I tried connecting to the IP address but it didnt work. Is there a setting in VS? or firewall? ...

How to register my web server as "OAuth Consumer" in another enterprise application server?

Hi, I'm developing a website which run on WAMP stack (windows-apache-mysql-php). I'm trying to connect my web server to another enterprise application server and get some web services from it. I need to register my web server as "OAuth Consumer" in that enterprise server. I already configure my web server to use SSL. I have a cert file...

Will iphone application be allowed to parse url's from other servers?

In my application, I am using our own server for posting xml's and to parse them. My doubt is does apple allow to use it OR will they demand to take some space in the apple server and then to do all the things? ...

Simple Java Server with PrintWriter - problem sending a response to browser

Hi, I've just started looking at HTTP etc. and have written a simple Java Client that uses URLConnection to send a URL to a server and pulls down the index.html page (as plain text). Now I'm working on a simple server but I'm stuck at the first hurdle, (well maybe 2nd or 3rd), I can't get it to respond to the client properly. Here is ...