9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I'm trying to write a script to determine the time gap between HTTP PUT and HTTP DELETE requests in the HTTP Servers access log.
Normally client will do HTTP PUT to push content e.g. file_1.txt and 21 seconds later it will do HTTP DELETE, but sometimes the time varies causing some issues... (3 Replies)
Discussion started by: Juha
3 Replies
2. Web Development
Hypertext Transfer Protocol -- HTTP/1.1 for Reference - HTTP Headers
10 Status Code Definitions
Each Status-Code is described below, including a description of which method(s) it can follow and any metainformation required in the response. (1 Reply)
Discussion started by: Neo
1 Replies
3. Shell Programming and Scripting
I am running a website but I still have problems with the "service temporarily unavailable error". I want to make a simple check if the website is up and running. Does anybody has an idea how to do it? (the site is password protected, so you have to add a user and pwd before logging in).
... (2 Replies)
Discussion started by: jurgen
2 Replies
4. Shell Programming and Scripting
hi
am senthil
am developing a software to send and receive SMS using HTTP connection
first of all am forming a URL and sending that URL to a remote server using my Client Program
i send that url through Socket(using Send() Function)
if i send more than one URL one by one using the same... (4 Replies)
Discussion started by: senkerth
4 Replies
5. Programming
hi
am senthil
am developing a software to send and receive SMS using HTTP connection
first of all am forming a URL and sending that URL to a remote server using my Client Program
i send that url through Socket(using Send() Function)
if i send more than one URL one by one using the same... (0 Replies)
Discussion started by: senkerth
0 Replies
6. UNIX for Advanced & Expert Users
HI , guys . I'm programming in c . I want to know how to use libevent l.4 ,especially the use of http . can anybody give me a tutorial or URL?
I just find this one , but it's about 2.0
Fast portable non-blocking network programming with Libevent
you help will be very appreciated... (0 Replies)
Discussion started by: aobai
0 Replies
7. UNIX for Advanced & Expert Users
hey all,
would like to ask if anyone has ever had any bad experience in serving http over nfs? (document root on nfs)
why should i avoid this, if its not recommended?
if the answer is nfs locks, i can tell apache to create the locks on local fs.
are there any other caveats apart from... (3 Replies)
Discussion started by: marcpascual
3 Replies
8. Programming
Hi..
I've got a program that can connects to a remote server and displays some garbage value and closes the connection.
The code goes like this
#include <stdio.h>
#include <netdb.h>
#include <netinet/in.h>
#include <string.h>
#include <stdlib.h>
#include <sys/types.h>
#include... (5 Replies)
Discussion started by: rakesh_01
5 Replies
9. Linux
Hello all,
Please tell me that how to configure a HTTP server in Fedora Core 3
Also tell me about WEB HOSTING under Linux. (4 Replies)
Discussion started by: jaibw
4 Replies
Catalyst::Manual::Deployment::DevelopmentServer(3pm) User Contributed Perl Documentation Catalyst::Manual::Deployment::DevelopmentServer(3pm)
NAME
Catalyst::Manual::DevelopmentServer - Development server deployment
The development server is a mini web server written in Perl. However, if you supply the "-f" option to the development server, it will load
the higher performance Starman server, which can be used as an application server with a lightweight proxy web server at the front.
Setup
Start up the development server
script/myapp_server.pl -p 8080 -k -f --pidfile=/tmp/myapp.pid
You will probably want to write an init script to handle stop/starting the app using the pid file.
Configuring Apache
Make sure mod_proxy is enabled and add:
# Serve static content directly
DocumentRoot /var/www/MyApp/root
Alias /static /var/www/MyApp/root/static
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
# Need to specifically stop these paths from being passed to proxy
ProxyPass /static !
ProxyPass /favicon.ico !
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
# This is optional if you'd like to show a custom error page
# if the proxy is not available
ErrorDocument 502 /static/error_pages/http502.html
You can wrap the above within a VirtualHost container if you want different apps served on the same host.
Other web servers
The proxy configuration above can also be replicated with a different frontend server or proxy, such as varnish, nginx, or lighttpd.
AUTHORS
Catalyst Contributors, see Catalyst.pm
COPYRIGHT
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-01-20 Catalyst::Manual::Deployment::DevelopmentServer(3pm)