yaws

Yaws uses old config file

I'm developing a web app on Yaws 1.65 (installed through apt) running on Debian etch on a VPS with UML. Whenever I do /etc/init.d/yaws restart or a stop/start, it initializes according to an old version of the config file (/etc/yaws/yaws.conf). I know this because I changed the docroot from the default to another directory (call it A),...

Is it possible to develop a Powerful WEB Search Engine using Erlang, Mnesia & YAWS???

I am thinking of developing A Web search Engine using Erlang, Mnesia & YAWS. Is it possible to make powerful & fastest WEB SEARCH ENGINE using these???? What will it need to accomplish this & HOW to start with???? If you have any suggestions, I'll be greatful to you. ...

YAWS fronting Tomcat

Is there currently any easy way to set up a YAWS web server in front of Apache Tomcat Servlet container, similar to popular Apache httpd + Tomcat set up? ...

detecting data/node partition errors

The last time I saw a data/partition node error it was because I launched the erlang shell which connected to the node on the same CPU via cookies etc. Immediately after startup the shell dumped the partition error on the screen. This is terribly bothersome.... how do I trap this exception? how do I repair the exception programatically...

Has anybody used YAWS server as an HTTP Proxy ?

I am planning to setup an YAWS webserver as a HTTP proxy server . I am basically trying to achieve a high throughput HTTP proxy server which should be able to take webscale load. The requirement is to be able to redirect certain URI's to our company's enterprise portal. Has anybody used this setup in production ? Does anybody know of a...

how to include yaws file inside the yaws file..

Hi, i have one yaws file(let say a.yaws) inside that I have a lot of function which i m using again and again .so i have decided to put those common function inside the other yaws file (let say common.yaws) and include this yaws to a.yaws. so what is the correct syntax for this. i m using it but seems not including the file -i...

Yaws crashes when I browse to my new erlyweb application

I am following the music application article on Yarivs blog. When I go to http://localhost:8002 I get the index page showing correctlty but if I try to browse to http://localhost:8002/music I get this error(see Pastie), When I browse http://localhost:8002/musician i get page not found, even though I have created the musician component. ...

Mochiweb : Reading a file as it is uploaded

I want to be able to read a file just as it is being uploaded by the user, i.e. I want to read the incoming stream of bytes from the user's browser.. Is that possible with Mochiweb? If not, where do I need to look/modify? If something else easier exists on Yaws, that will also be great. Thanks. ...

Do different web servers suffer from the same types of attacks?

I'm creating a web applications with Yaws. In the past I've worked with tomcat and IIS. Do web servers typically suffer from the same types of vulnerabilities? Do good web security practices generally apply across the board or are most vulnerabilities inherent to the web application themselves? ...

Where does Nitrogen get the best performance - yaws, mochiweb, or inets?

The Nitrogen project web page declares equal support for yaws, mochiweb, and inets, but with which of these web servers is it going to perform the best? I.e. for a large scale application with mostly dynamic content with nitrogen + a web server which combination will be able to handle the most user load? ...

How do I disable debug checks in yaws?

When i start yaws (yaws -i --conf config/yaws.conf) i get this line in the output: Running with debug checks turned on (slower server) It depends on the "-i" option? Or where did i turned on debug checks? No mention of debug in the config file... thx edoardo ...

Erlang's maximum number of simultaneous open ports?

Does the erlang TCP/IP library have some limitations? I've done some searching but can't find any definitive answers. I have set the ERL_MAX_PORTS environment variable to 12000 and configured Yaws to use unlimited connections. I've written a simple client application that connects to an appmod I've written for Yaws and am testing the n...

How to set up a Yaws yapp?

Hi, I am struggling with setting up a yapp for Yaws. Can anyone provide a link to documentation or copy paste a short example here? Sorry that this is a rather unspecific question, but I am more or less lost :-) Thanks, Jan ...

IIS, APACHE, YAWS runtime environment

Recently I gone through a an article explaining potentiality of YAWS server and the number of requests it processes per second. It was mentioned that YAWS can handle 80K requests per second and it also run in multi threaded environment to improve request processing limit. How can we compare IIS, Apache with YAWS? Which one will process ...

Yaws and PUT requests

Hello, I just started working with Yaws to try to create some simple RESTful web services, however I ran into an unexpected issue: I can't seem to access my data when I do a PUT request. When I try to use the yaws_api:parse_post function, I get the following error: ERROR: Can't parse post body for 'PUT' requests: URL: ... I wrote ou...