<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-16179</id>
	<title>Nabble - Yaws</title>
	<updated>2009-12-23T01:46:15Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Yaws-f16179.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Yaws-f16179.html" />
	<subtitle type="html">&lt;a href=&quot;http://yaws.hyber.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Yaws&lt;/a&gt;&amp;nbsp;is a small fast and beautiful HTTP 1.1 webserver with excellent support for generating dynamic content. Yaws is entirely written in Erlang furthermore it is a multithreaded webserver where one Erlang light weight process is used to handle each client.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26899980</id>
	<title>Re: yaws_vdir module</title>
	<published>2009-12-23T01:46:15Z</published>
	<updated>2009-12-23T01:46:15Z</updated>
	<author>
		<name>Claes Wikstrom</name>
	</author>
	<content type="html">Mikael Karlsson wrote:
&lt;br&gt;&amp;gt; Maybe not..
&lt;br&gt;&amp;gt; I recall that I had to do some fixes for the yapp handler (Yaws 
&lt;br&gt;&amp;gt; APPlications) when vdirs were introduced. These changes are still in 
&lt;br&gt;&amp;gt; place, although not using the yaws_vdirs module directly. Since yapps 
&lt;br&gt;&amp;gt; still seem to work I guess yaws_server is still handling the {&amp;quot;vdir&amp;quot;,..} 
&lt;br&gt;&amp;gt; tuple.
&lt;br&gt;&lt;br&gt;Ok - thanks, all the more reason to have a deep look at the vdir feature.
&lt;br&gt;&lt;br&gt;/klacke
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26899980&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/yaws_vdir-module-tp26850883p26899980.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26885947</id>
	<title>Re: yaws_vdir module</title>
	<published>2009-12-22T01:48:32Z</published>
	<updated>2009-12-22T01:48:32Z</updated>
	<author>
		<name>Mikael Karlsson-7</name>
	</author>
	<content type="html">Maybe not.. &lt;br&gt;I recall that I had to do some fixes for the yapp handler (Yaws APPlications) when vdirs were introduced. These changes are still in place, although not using the yaws_vdirs module directly. Since yapps still seem to work I guess yaws_server is still handling the {&amp;quot;vdir&amp;quot;,..} tuple. &lt;br&gt;
Snippet from arg_rewrite in yapp.erl which rewrites the docroot:&lt;br&gt;   &lt;br&gt;            VDir = {&amp;quot;vdir&amp;quot;, DocMount ++ &amp;quot; &amp;quot; ++ Docroot},&lt;br&gt;&lt;br&gt;            AddOpaque = [ VDir | YOpaque], &lt;br&gt;            &lt;br&gt;
            %% Add Yapp appmods, Yaws uses process dictionary.&lt;br&gt;            SC = get(sc),&lt;br&gt;            AppMods = SC#sconf.appmods,&lt;br&gt;            Opaque = SC#sconf.opaque,&lt;br&gt;            SC2 = SC#sconf{docroot=Docroot, appmods = AppMods ++ YappMods, &lt;br&gt;
                           opaque = AddOpaque ++ Opaque},&lt;br&gt;            put(sc, SC2),&lt;br&gt;&lt;br&gt;/Mikael&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/12/21 Claes Wikstrom &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26885947&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;klacke@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;div class=&quot;im&quot;&gt;wde wrote:&lt;br&gt;
&amp;gt; no problem, but I conclude that I am the only one to use virtual directories :+)&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;I guess you conclude rightly ...&lt;br&gt;
&lt;br&gt;
/klacke&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
------------------------------------------------------------------------------&lt;br&gt;
This SF.Net email is sponsored by the Verizon Developer Community&lt;br&gt;
Take advantage of Verizon&amp;#39;s best-in-class app development support&lt;br&gt;
A streamlined, 14 day to market process makes app distribution fast and easy&lt;br&gt;
Join now and get one step closer to millions of Verizon customers&lt;br&gt;
&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&lt;br&gt;
_______________________________________________&lt;br&gt;
Erlyaws-list mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26885947&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26885947&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/yaws_vdir-module-tp26850883p26885947.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26880126</id>
	<title>Re: yaws_vdir module</title>
	<published>2009-12-21T13:09:33Z</published>
	<updated>2009-12-21T13:09:33Z</updated>
	<author>
		<name>Claes Wikstrom</name>
	</author>
	<content type="html">wde wrote:
&lt;br&gt;&amp;gt; no problem, but I conclude that I am the only one to use virtual directories :+)
&lt;br&gt;&lt;br&gt;I guess you conclude rightly ...
&lt;br&gt;&lt;br&gt;/klacke
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26880126&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/yaws_vdir-module-tp26850883p26880126.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26877091</id>
	<title>Re: yaws_vdir module</title>
	<published>2009-12-21T09:17:15Z</published>
	<updated>2009-12-21T09:17:15Z</updated>
	<author>
		<name>wde</name>
	</author>
	<content type="html">no problem, but I conclude that I am the only one to use virtual directories :+)
&lt;br&gt;&lt;br&gt;your proposition to use symlinks sounds good, in fact I don't want to add too much overhead
&lt;br&gt;&lt;br&gt;thank you for your time
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;======= le 21/12/2009, 17:40:06 vous écriviez: =======
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;wde wrote:
&lt;br&gt;&amp;gt;&amp;gt; ;-)
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; so I tried this :
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Sigh - I'm an idiot. (Ughhh, that hurt)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I removed the yaws_vdir.erl modules some time ago, I though it
&lt;br&gt;&amp;gt;was not needed any more - I was wrong.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Anyway, It last appeared in 1.84 &amp;nbsp;(I attach the source here, you
&lt;br&gt;&amp;gt;can just drop it in the src directory)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;/klacke
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;= = = = = = = = = ========= = = = = = = = = = =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;wde
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26877091&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wde@...&lt;/a&gt;
&lt;br&gt;21/12/2009
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26877091&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/yaws_vdir-module-tp26850883p26877091.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26876587</id>
	<title>Re: yaws_vdir module</title>
	<published>2009-12-21T08:40:06Z</published>
	<updated>2009-12-21T08:40:06Z</updated>
	<author>
		<name>Claes Wikstrom</name>
	</author>
	<content type="html">wde wrote:
&lt;br&gt;&amp;gt; ;-)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; so I tried this :
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Sigh - I'm an idiot. (Ughhh, that hurt)
&lt;br&gt;&lt;br&gt;I removed the yaws_vdir.erl modules some time ago, I though it
&lt;br&gt;was not needed any more - I was wrong.
&lt;br&gt;&lt;br&gt;Anyway, It last appeared in 1.84 &amp;nbsp;(I attach the source here, you
&lt;br&gt;can just drop it in the src directory)
&lt;br&gt;&lt;br&gt;&lt;br&gt;/klacke
&lt;br&gt;&lt;br /&gt;-module(yaws_vdir).
&lt;br&gt;&lt;br&gt;-export([arg_rewrite/1]).
&lt;br&gt;&lt;br&gt;-include_lib(&amp;quot;yaws/include/yaws.hrl&amp;quot;).
&lt;br&gt;-include_lib(&amp;quot;yaws/include/yaws_api.hrl&amp;quot;).
&lt;br&gt;-include_lib(&amp;quot;yaws/src/yaws_debug.hrl&amp;quot;).
&lt;br&gt;&lt;br&gt;&lt;br&gt;-export([join/2]).
&lt;br&gt;&lt;br&gt;join(List, Sep) -&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; lists:foldl(fun(A, &amp;quot;&amp;quot;) -&amp;gt; A; (A, Acc) -&amp;gt; Acc ++ Sep ++ A
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; end, &amp;quot;&amp;quot;, List).
&lt;br&gt;&lt;br&gt;&lt;br&gt;arg_rewrite(ARG) -&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; Req = ARG#arg.req,
&lt;br&gt;&amp;nbsp; &amp;nbsp; %%io:fwrite(&amp;quot;-----&amp;gt;rewrite_mod for request: ~p\n&amp;quot;,[ARG#arg.req]),
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; case Req#http_request.path of
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {abs_path, RawPath} -&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case (catch yaws_api:url_decode_q_split(RawPath)) of
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {'EXIT', _} -&amp;gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; %%broken request - ignore let yaws_server handle it.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ARG2 = ARG;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&amp;quot;&amp;quot;, _QueryPart} -&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ARG2 = ARG;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&amp;quot;/&amp;quot;, _QueryPart} -&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; %%don't allow vdir to be specified for root - 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; %% it doesn't make sense
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ARG2 = ARG;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {DecPath, _QueryPart} -&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SC = get(sc),
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; %%vdirpath/3 will return the longest(ie most specific) 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; %% 'virtual directory' match for our request
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; %%It retrieves the vdir definitions from #arg.opaque 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case yaws_server:vdirpath(SC, ARG, DecPath) of
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&amp;quot;&amp;quot;,_MainDocRoot} -&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; %%no virtual dir corresponding to this 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; %% http_request.path
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ARG2 = ARG;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {Virt,DocRoot} -&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; %%the virtual-path of our request matches a 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; %% vdir specification 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; %% - rewrite ARG accordingly.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ARG2 = ARG#arg{docroot = DocRoot,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;docroot_mount = Virt}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; end
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; end;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; _Else -&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ARG2 = ARG
&lt;br&gt;&amp;nbsp; &amp;nbsp; end, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; ARG2.
&lt;br&gt;&lt;br&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26876587&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/yaws_vdir-module-tp26850883p26876587.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26875779</id>
	<title>Re: yaws_vdir module</title>
	<published>2009-12-21T07:45:48Z</published>
	<updated>2009-12-21T07:45:48Z</updated>
	<author>
		<name>wde</name>
	</author>
	<content type="html">;-)
&lt;br&gt;&lt;br&gt;so I tried this :
&lt;br&gt;&lt;br&gt;docroot is in /tmp/www
&lt;br&gt;&lt;br&gt;xen:/tmp# mkdir www
&lt;br&gt;xen:/tmp# echo &amp;quot;welcome home&amp;quot; &amp;gt; www/index.html
&lt;br&gt;xen:/tmp# mkdir www/test
&lt;br&gt;xen:/tmp# echo &amp;quot;welcome test&amp;quot; &amp;gt; www/test/index.html
&lt;br&gt;&lt;br&gt;-------------------
&lt;br&gt;&lt;br&gt;TEST 1 :
&lt;br&gt;&lt;br&gt;Yaws configuration is :
&lt;br&gt;&lt;br&gt;&amp;lt;server localhost&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; port = 8081
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listen = 0.0.0.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; docroot = /tmp/www
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dir_listings = false
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; statistics = true
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; arg_rewrite_mod = yaws_vdir &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;opaque&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vdir = &amp;quot;/virtual/ /tmp/www/test/&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/opaque&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;lt;/server&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp;RESULT 1 :
&lt;br&gt;&lt;br&gt;=ERROR REPORT==== 21-Dec-2009::16:02:49 ===
&lt;br&gt;Yaws process died: {undef,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [{yaws_vdir,arg_rewrite,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [{arg,#Port&amp;lt;0.955&amp;gt;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {{192,168,1,2},1569},
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {headers,&amp;quot;keep-alive&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5&amp;quot;,
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Normal yaws_vdir does not exist &amp;nbsp; ! &amp;nbsp;:+) &amp;nbsp; (It's the original reason of my post)
&lt;br&gt;&lt;br&gt;&lt;br&gt;-----------------------------
&lt;br&gt;&lt;br&gt;TEST 2 
&lt;br&gt;&lt;br&gt;Yaws configuration is :
&lt;br&gt;&lt;br&gt;&amp;lt;server localhost&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; port = 8081
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listen = 0.0.0.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; docroot = /tmp/www
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dir_listings = false
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; statistics = true &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;opaque&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vdir = &amp;quot;/virtual/ /tmp/www/test/&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/opaque&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;lt;/server&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Try a request on &amp;quot;/&amp;quot; :
&lt;br&gt;&lt;br&gt;&amp;nbsp; =&amp;gt; &amp;quot;welcome home&amp;quot;
&lt;br&gt;&lt;br&gt;OK !
&lt;br&gt;&lt;br&gt;&lt;br&gt;Try a request on &amp;nbsp;&amp;quot;/test&amp;quot; :
&lt;br&gt;&lt;br&gt;&amp;nbsp;=&amp;gt; &amp;quot;welcom test&amp;quot;
&lt;br&gt;&lt;br&gt;OK !
&lt;br&gt;&lt;br&gt;&lt;br&gt;Try a request on &amp;quot;/virtual&amp;quot; :
&lt;br&gt;&lt;br&gt;Not Found
&lt;br&gt;The requested URL /virtual was not found on this server.
&lt;br&gt;&lt;br&gt;NOK !
&lt;br&gt;&lt;br&gt;&lt;br&gt;Try a request on &amp;quot;/virtual/&amp;quot; :
&lt;br&gt;&lt;br&gt;Not Found
&lt;br&gt;The requested URL /virtual/ was not found on this server.
&lt;br&gt;&lt;br&gt;NOK !
&lt;br&gt;&lt;br&gt;&lt;br&gt;Try a request on &amp;quot;/virtual/index.html&amp;quot; :
&lt;br&gt;&lt;br&gt;Not Found
&lt;br&gt;The requested URL /virtual/ was not found on this server.
&lt;br&gt;&lt;br&gt;NOK !
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp;yaws_server source code :
&lt;br&gt;&lt;br&gt;&lt;br&gt;vdirpath/3 find the longest virtual path based on opaque configuration
&lt;br&gt;&lt;br&gt;vdirpath/3 is called by two functions :
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt; ssi/6 : not concerned
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt; mappath/3 : more interesting
&lt;br&gt;&lt;br&gt;&lt;br&gt;And mappath is called by yaws_cgi module only.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;So I have two solutions : 
&lt;br&gt;&lt;br&gt;-&amp;gt; I become crazy
&lt;br&gt;-&amp;gt; I try to use symlinks :-) !!!! Even if I a request on the symlink do an I/O on inodes table. &amp;nbsp;Yaws &amp;nbsp;file caching system should limit this.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; 
&lt;br&gt;======= le 21/12/2009, 15:22:23 vous écriviez: =======
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;wde wrote:
&lt;br&gt;&amp;gt;&amp;gt; mmm I don't understand,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;me neither :-)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; If the configuration you set the arg_rewrite_mod to &amp;nbsp;&amp;quot;yaws_vdir&amp;quot; but if this module does not exist how can that work ? 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I think that in the initial, absolutely first attempts at implementing
&lt;br&gt;&amp;gt;vdirs, the guy who did that work - Julian Noble - first had it implemented
&lt;br&gt;&amp;gt;as an arg_rewite module (called yaws_vdir), but it was later changed to be
&lt;br&gt;&amp;gt;become entirely integrated into yaws_server.erl
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;/klacke
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;= = = = = = = = = ========= = = = = = = = = = =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;wde
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26875779&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wde@...&lt;/a&gt;
&lt;br&gt;21/12/2009
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26875779&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/yaws_vdir-module-tp26850883p26875779.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26874925</id>
	<title>Re: PHP over FastCGI interface in YAWS</title>
	<published>2009-12-21T06:43:23Z</published>
	<updated>2009-12-21T06:43:23Z</updated>
	<author>
		<name>Davide Marquês</name>
	</author>
	<content type="html">&lt;div&gt;I can only talk about this part :&lt;br&gt;&lt;/div&gt;&lt;blockquote style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot; class=&quot;gmail_quote&quot;&gt;- how force YAWS to execute php extension as FastCGI responder, not through executing cgi-binary?&lt;br&gt;
- how to solve &amp;quot;no input file specified&amp;quot; error under FastCGI&lt;br&gt;&lt;/blockquote&gt;&lt;br&gt;Last week I ported yaws_cgi to ewgi_cgi (&lt;a href=&quot;http://github.com/davide/ewgi/blob/master/src/middleware/ewgi_cgi/ewgi_cgi.erl&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/davide/ewgi/blob/master/src/middleware/ewgi_cgi/ewgi_cgi.erl&lt;/a&gt;) and came across/fixed the same issue(s) over there.&lt;br&gt;
I did limited testing but perhaps someone can take a look at what I&amp;#39;m doing in that file and port it back to Yaws?&lt;br&gt;&lt;br&gt;Regarding the internal [php] cgi prioritization over fastcgi last time I checked there was some work torwards supporting &amp;quot;extmod&amp;quot;s - something like a per-file-extension appmod, but that seems to be gone now.&lt;br&gt;
&lt;br&gt;Cheers,&lt;br&gt;Davide :)&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26874925&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/PHP-over-FastCGI-interface-in-YAWS-tp26872834p26874925.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26874643</id>
	<title>Re: yaws_vdir module</title>
	<published>2009-12-21T06:22:23Z</published>
	<updated>2009-12-21T06:22:23Z</updated>
	<author>
		<name>Claes Wikstrom</name>
	</author>
	<content type="html">wde wrote:
&lt;br&gt;&amp;gt; mmm I don't understand,
&lt;br&gt;&lt;br&gt;me neither :-)
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If the configuration you set the arg_rewrite_mod to &amp;nbsp;&amp;quot;yaws_vdir&amp;quot; but if this module does not exist how can that work ? 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;I think that in the initial, absolutely first attempts at implementing
&lt;br&gt;vdirs, the guy who did that work - Julian Noble - first had it implemented
&lt;br&gt;as an arg_rewite module (called yaws_vdir), but it was later changed to be
&lt;br&gt;become entirely integrated into yaws_server.erl
&lt;br&gt;&lt;br&gt;?
&lt;br&gt;&lt;br&gt;/klacke
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26874643&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/yaws_vdir-module-tp26850883p26874643.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26873449</id>
	<title>Re: yaws_vdir module</title>
	<published>2009-12-21T04:36:46Z</published>
	<updated>2009-12-21T04:36:46Z</updated>
	<author>
		<name>wde</name>
	</author>
	<content type="html">mmm I don't understand,
&lt;br&gt;&lt;br&gt;If the configuration you set the arg_rewrite_mod to &amp;nbsp;&amp;quot;yaws_vdir&amp;quot; but if this module does not exist how can that work ? 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; 
&lt;br&gt;======= le 21/12/2009, 11:19:36 vous écriviez: =======
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;wde wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hi again,
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I use virtual directories since &amp;nbsp;yaws 1.77 by using the the arg_rewrite function from the old yaws_vdir module.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; This module is no more provided in the yaws releases. And the vdir example in documentation always use it.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Again, I missing something ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I think you are - the vdir feature was added quite some time ago, however it's poorly
&lt;br&gt;&amp;gt;documented.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;The yaws.conf man page says:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;Finally an example with virtual directories, vdirs.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;server server.domain&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;port = 80
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;listen = 192.168.128.31
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;docroot = /var/yaws/www
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;arg_rewrite_mod = yaws_vdir
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;opaque&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;vdir = &amp;quot;/virtual1/ /usr/local/somewhere/notrelated/to/main/docroot&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;vdir = &amp;quot;/myapp/ /some/other/path can include/spaces&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;vdir = &amp;quot;/icons/ &amp;nbsp;/usr/local/www/yaws/icons&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/opaque&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/server&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The &amp;nbsp; first &amp;nbsp; defined &amp;nbsp; vdir &amp;nbsp; can &amp;nbsp; then &amp;nbsp; be &amp;nbsp;accessed &amp;nbsp;at &amp;nbsp;or &amp;nbsp;under
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://server.domain/virtual1/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://server.domain/virtual1/&lt;/a&gt;&amp;nbsp; or &lt;a href=&quot;http://server.domain/virtual1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://server.domain/virtual1&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;AFAIK, that is all you need to do, the yaws_vdir module was removed long ago.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; And the vdir example in documentation always use it.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Which docs ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;/klacke
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;= = = = = = = = = ========= = = = = = = = = = =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;wde
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26873449&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wde@...&lt;/a&gt;
&lt;br&gt;21/12/2009
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26873449&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/yaws_vdir-module-tp26850883p26873449.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26872834</id>
	<title>PHP over FastCGI interface in YAWS</title>
	<published>2009-12-21T03:37:18Z</published>
	<updated>2009-12-21T03:37:18Z</updated>
	<author>
		<name>&quot;Przemysław \&quot;eRIZ\&quot; Pawliczuk&quot;</name>
	</author>
	<content type="html">Hi, it's me again. ;)
&lt;br&gt;&lt;br&gt;I'm trying to connect YAWS with PHP through FastCGI interface. I need an accelerator within PHP so FCGI is the only option I can use. I've found manual describing Rails with YAWS installation (&lt;a href=&quot;http://wiki.github.com/klacke/yaws/run-rails-under-yaws&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.github.com/klacke/yaws/run-rails-under-yaws&lt;/a&gt;) but with PHP it’s unusable. I suspect YAWS has higher priority at internal PHP interpreter and still tries execute php-cgi binary although I set up fcgi_app_server correctly in configuration.
&lt;br&gt;&lt;br&gt;Of course, PHP processes are spawned by spawn-fcgi from lighttpd distribution and they seem to work correctly (correct me if I'm wrong).
&lt;br&gt;&lt;br&gt;For any case - I've renamed my php file do .fcgi extension, YAWS returned:
&lt;br&gt;-----------
&lt;br&gt;*** handle_ut: type=fcgi
&lt;br&gt;-----------
&lt;br&gt;&lt;br&gt;So it works with fcgi extension but returned to browser:
&lt;br&gt;&amp;quot;No input file specified.&amp;quot;
&lt;br&gt;&lt;br&gt;When I kill spawned processes:
&lt;br&gt;CGI failure: {connect_to_application_server_failed,econnrefused}
&lt;br&gt;&lt;br&gt;Which means fcgi extension under YAWS communicates with spawned php-cgi processes.
&lt;br&gt;&lt;br&gt;I've tried to define PATH_TRANSLATED and SCRIPT_FILENAME variables in console, before I started YAWS. (according to &lt;a href=&quot;http://osdir.com/ml/web.server.yaws.general/2005-07/msg00012.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://osdir.com/ml/web.server.yaws.general/2005-07/msg00012.html&lt;/a&gt;). But still failed.
&lt;br&gt;&lt;br&gt;To sum up:
&lt;br&gt;- how force YAWS to execute php extension as FastCGI responder, not through executing cgi-binary?
&lt;br&gt;- how to solve &amp;quot;no input file specified&amp;quot; error under FastCGI
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Przemysław &amp;quot;eRIZ&amp;quot; Pawliczuk
&lt;br&gt;--
&lt;br&gt;JID: eriz//pcinside.pl
&lt;br&gt;www: &lt;a href=&quot;http://eriz.pcinside.pl&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://eriz.pcinside.pl&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26872834&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/PHP-over-FastCGI-interface-in-YAWS-tp26872834p26872834.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26872119</id>
	<title>Re: yaws_vdir module</title>
	<published>2009-12-21T02:23:41Z</published>
	<updated>2009-12-21T02:23:41Z</updated>
	<author>
		<name>Claes Wikstrom</name>
	</author>
	<content type="html">Claes Wikström wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; wde wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hi again,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I use virtual directories since &amp;nbsp;yaws 1.77 by using the the arg_rewrite function from the old yaws_vdir module.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; This module is no more provided in the yaws releases. And the vdir example in documentation always use it.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Again, I missing something ?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I think you are - the vdir feature was added quite some time ago, however it's poorly
&lt;br&gt;&amp;gt; documented.
&lt;/div&gt;&lt;br&gt;Furthermore - I regret the feature was accepted - UNIX symlinks solves the problem
&lt;br&gt;perfectly.
&lt;br&gt;&lt;br&gt;&lt;br&gt;/klacke
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26872119&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/yaws_vdir-module-tp26850883p26872119.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26872092</id>
	<title>Re: yaws_vdir module</title>
	<published>2009-12-21T02:19:36Z</published>
	<updated>2009-12-21T02:19:36Z</updated>
	<author>
		<name>Claes Wikstrom</name>
	</author>
	<content type="html">wde wrote:
&lt;br&gt;&amp;gt; Hi again,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I use virtual directories since &amp;nbsp;yaws 1.77 by using the the arg_rewrite function from the old yaws_vdir module.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This module is no more provided in the yaws releases. And the vdir example in documentation always use it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Again, I missing something ?
&lt;br&gt;&lt;br&gt;&lt;br&gt;I think you are - the vdir feature was added quite some time ago, however it's poorly
&lt;br&gt;documented.
&lt;br&gt;&lt;br&gt;The yaws.conf man page says:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Finally an example with virtual directories, vdirs.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;server server.domain&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; port = 80
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listen = 192.168.128.31
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; docroot = /var/yaws/www
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; arg_rewrite_mod = yaws_vdir
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;opaque&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vdir = &amp;quot;/virtual1/ /usr/local/somewhere/notrelated/to/main/docroot&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vdir = &amp;quot;/myapp/ /some/other/path can include/spaces&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; vdir = &amp;quot;/icons/ &amp;nbsp;/usr/local/www/yaws/icons&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/opaque&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/server&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; The &amp;nbsp; first &amp;nbsp; defined &amp;nbsp; vdir &amp;nbsp; can &amp;nbsp; then &amp;nbsp; be &amp;nbsp;accessed &amp;nbsp;at &amp;nbsp;or &amp;nbsp;under
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://server.domain/virtual1/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://server.domain/virtual1/&lt;/a&gt;&amp;nbsp; or &lt;a href=&quot;http://server.domain/virtual1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://server.domain/virtual1&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;AFAIK, that is all you need to do, the yaws_vdir module was removed long ago.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;gt; And the vdir example in documentation always use it.
&lt;br&gt;&amp;nbsp;&amp;gt;
&lt;br&gt;&lt;br&gt;Which docs ?
&lt;br&gt;&lt;br&gt;/klacke
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26872092&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/yaws_vdir-module-tp26850883p26872092.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26871785</id>
	<title>Re: YAWS 1.84 + FreeBSD 7.1 + PHP and subfolders</title>
	<published>2009-12-21T01:41:46Z</published>
	<updated>2009-12-21T01:41:46Z</updated>
	<author>
		<name>&quot;Przemysław \&quot;eRIZ\&quot; Pawliczuk&quot;</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;&lt;head&gt;&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=utf-8&quot;&gt;&lt;meta name=Generator content=&quot;Microsoft Word 14 (filtered medium)&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
&lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
&lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
&lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
&lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;&lt;/head&gt;&lt;body lang=PL link=blue vlink=purple&gt;&lt;div class=WordSection1&gt;&lt;div&gt;&lt;div&gt;&lt;p class=MsoNormal&gt;&lt;font size=3 color=&quot;#1f497d&quot; face=&quot;Times New Roman&quot;&gt;&lt;span lang=EN-US style='font-size:12.0pt;color:#1F497D'&gt;&amp;gt; &lt;/span&gt;&lt;/font&gt;&lt;span lang=EN-US&gt;I think what Klacke is getting at is that we need enough information to be able to try to recreate the problem. &lt;/span&gt;The more exact details you can provide, preferably accompanied by example code and config files if relevant, the easier recreating the problem will be, and the faster we'll be able to fix any issues.&lt;font color=&quot;#1f497d&quot;&gt;&lt;span style='color:#1F497D'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;font size=2 color=&quot;#1f497d&quot; face=Calibri&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;font size=2 color=&quot;#1f497d&quot; face=Calibri&gt;&lt;span lang=EN-US style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D'&gt;I’m sorry – problem was caused by PHPs configuration in several scripts. Now it seems to be solved. I have obviously overlooked --disable-all option in port’s Makefile.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;font size=2 color=&quot;#1f497d&quot; face=Calibri&gt;&lt;span lang=EN-US style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;font size=2 color=&quot;#1f497d&quot; face=Calibri&gt;&lt;span lang=EN-US style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D'&gt;Sorry for wasting Your time and Merry Christmas. :)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;font size=2 color=&quot;#1f497d&quot; face=Calibri&gt;&lt;span lang=EN-US style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;font size=2 color=&quot;#1f497d&quot; face=Calibri&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D'&gt;Cheers,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;font size=2 color=&quot;#1f497d&quot; face=Calibri&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D'&gt;Przemysław &amp;quot;eRIZ&amp;quot; Pawliczuk&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;font size=2 color=&quot;#1f497d&quot; face=Calibri&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D'&gt;--&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;font size=2 color=&quot;#1f497d&quot; face=Calibri&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D'&gt;JID: eriz//pcinside.pl&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;font size=2 color=&quot;#1f497d&quot; face=Calibri&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D'&gt;www: http://eriz.pcinside.pl&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;/div&gt;&lt;p class=MsoNormal&gt;&lt;font size=2 color=&quot;#1f497d&quot; face=Calibri&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class=MsoNormal&gt;&lt;font size=2 color=&quot;#1f497d&quot; face=Calibri&gt;&lt;span style='font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26871785&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/YAWS-1.84-%2B-FreeBSD-7.1-%2B-PHP-and-subfolders-tp26863749p26871785.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26869436</id>
	<title>Re: yaws fastcgi and django</title>
	<published>2009-12-20T18:49:14Z</published>
	<updated>2009-12-20T18:49:14Z</updated>
	<author>
		<name>fruity-2</name>
	</author>
	<content type="html">I'll answer myself,
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://docs.djangoproject.com/en/dev/ref/settings/#force-script-name&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://docs.djangoproject.com/en/dev/ref/settings/#force-script-name&lt;/a&gt;&lt;br&gt;&lt;br&gt;FORCE_SCRIPT_NAME = ''
&lt;br&gt;&lt;br&gt;otherwise yaws is gonna try to load mysite.fcgi that does not exists,
&lt;br&gt;while apache mod python and fcgi seems to have an auto rewrite rule...
&lt;br&gt;&lt;br&gt;&lt;br&gt;fruity wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I downloaded the yaws-1.86 tarball
&lt;br&gt;&amp;gt; I souced the original ubuntu package and overwritten the debian/ directory
&lt;br&gt;&amp;gt; I checked the patches from debian/ubuntu against this version and
&lt;br&gt;&amp;gt; updated those, I should have downloaded the sid source and maybe it
&lt;br&gt;&amp;gt; whould have been quicker but I don't have a debian platform...
&lt;br&gt;&amp;gt; I compiled and repackaged ( dpkg-buildpackage -rfakeroot -us) and
&lt;br&gt;&amp;gt; everything went fine.
&lt;br&gt;&amp;gt; Installed, tested with static files, working
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I followed &lt;a href=&quot;http://wiki.github.com/klacke/yaws/run-django-under-yaws&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.github.com/klacke/yaws/run-django-under-yaws&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Now I see the main page but no links of my django project works...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've try to run django normally ( runserver not fcgi ) and everything
&lt;br&gt;&amp;gt; works fine but with yaws.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; When I try to serve django as fcgi with yaws I only see my main view/url
&lt;br&gt;&amp;gt; &amp;nbsp;( the index for the non django users ) and nothing else, anything else
&lt;br&gt;&amp;gt; than static media files redirect me to my main view/url
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I fired up yaws with -i --conf /etc/yaws/yaws.conf and in the shell I see:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; yaws:Failed to send 3174 bytes:
&lt;br&gt;&amp;gt; &amp;quot;C5F\r\n&amp;lt;!DOCTYPE html PUBLIC \&amp;quot;-//W3C//DTD XHTML 1.0 .....&amp;quot; on socket
&lt;br&gt;&amp;gt; #Port&amp;lt;0.796&amp;gt;: {error,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; closed}
&lt;br&gt;&amp;gt; [&amp;quot;C5F&amp;quot;,&amp;quot;\r\n&amp;quot;,&amp;quot;#Bin(3167)&amp;quot;,&amp;quot;\r\n&amp;quot;]
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It's like that the django dispatcher does not interact with yaws...
&lt;br&gt;&amp;gt; Is anyone else running django with yaws?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thank you all very much for your time.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;&amp;gt; Take advantage of Verizon's best-in-class app development support
&lt;br&gt;&amp;gt; A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;&amp;gt; Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Erlyaws-list mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26869436&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26869436&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/yaws-fastcgi-and-django-tp26869329p26869436.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26869329</id>
	<title>yaws fastcgi and django</title>
	<published>2009-12-20T18:26:54Z</published>
	<updated>2009-12-20T18:26:54Z</updated>
	<author>
		<name>fruity-2</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I downloaded the yaws-1.86 tarball
&lt;br&gt;I souced the original ubuntu package and overwritten the debian/ directory
&lt;br&gt;I checked the patches from debian/ubuntu against this version and
&lt;br&gt;updated those, I should have downloaded the sid source and maybe it
&lt;br&gt;whould have been quicker but I don't have a debian platform...
&lt;br&gt;I compiled and repackaged ( dpkg-buildpackage -rfakeroot -us) and
&lt;br&gt;everything went fine.
&lt;br&gt;Installed, tested with static files, working
&lt;br&gt;&lt;br&gt;I followed &lt;a href=&quot;http://wiki.github.com/klacke/yaws/run-django-under-yaws&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.github.com/klacke/yaws/run-django-under-yaws&lt;/a&gt;&lt;br&gt;&lt;br&gt;Now I see the main page but no links of my django project works...
&lt;br&gt;&lt;br&gt;I've try to run django normally ( runserver not fcgi ) and everything
&lt;br&gt;works fine but with yaws.
&lt;br&gt;&lt;br&gt;When I try to serve django as fcgi with yaws I only see my main view/url
&lt;br&gt;&amp;nbsp;( the index for the non django users ) and nothing else, anything else
&lt;br&gt;than static media files redirect me to my main view/url
&lt;br&gt;&lt;br&gt;I fired up yaws with -i --conf /etc/yaws/yaws.conf and in the shell I see:
&lt;br&gt;&lt;br&gt;yaws:Failed to send 3174 bytes:
&lt;br&gt;&amp;quot;C5F\r\n&amp;lt;!DOCTYPE html PUBLIC \&amp;quot;-//W3C//DTD XHTML 1.0 .....&amp;quot; on socket
&lt;br&gt;#Port&amp;lt;0.796&amp;gt;: {error,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; closed}
&lt;br&gt;[&amp;quot;C5F&amp;quot;,&amp;quot;\r\n&amp;quot;,&amp;quot;#Bin(3167)&amp;quot;,&amp;quot;\r\n&amp;quot;]
&lt;br&gt;&lt;br&gt;&lt;br&gt;It's like that the django dispatcher does not interact with yaws...
&lt;br&gt;Is anyone else running django with yaws?
&lt;br&gt;&lt;br&gt;Thank you all very much for your time.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26869329&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/yaws-fastcgi-and-django-tp26869329p26869329.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26868956</id>
	<title>Re: YAWS 1.84 + FreeBSD 7.1 + PHP and subfolders</title>
	<published>2009-12-20T17:22:13Z</published>
	<updated>2009-12-20T17:22:13Z</updated>
	<author>
		<name>Steve Vinoski-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/12/20 Przemysław &amp;quot;eRIZ&amp;quot; Pawliczuk &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26868956&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;eriz@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
&lt;div class=&quot;im&quot;&gt;&amp;gt; Please describe just slightly better exactly what you do, is it:&lt;br&gt;
&lt;br&gt;
&amp;gt; # mkdir /var/www/test&lt;br&gt;
&amp;gt; # cp foo.php /var/www/test&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Not exactly. I&amp;#39;ve just created php file in subdirectory with &amp;quot;echo &amp;#39;hello world&amp;#39;;&amp;quot; content. And YAWS is returning error 500 code...&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I think what Klacke is getting at is that we need enough information to be able to try to recreate the problem. The more exact details you can provide, preferably accompanied by example code and config files if relevant, the easier recreating the problem will be, and the faster we&amp;#39;ll be able to fix any issues.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; &quot;&gt;dziękuję,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;arial, sans-serif&quot;&gt;--steve&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26868956&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/YAWS-1.84-%2B-FreeBSD-7.1-%2B-PHP-and-subfolders-tp26863749p26868956.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26868181</id>
	<title>Re: YAWS 1.84 + FreeBSD 7.1 + PHP and subfolders</title>
	<published>2009-12-20T15:12:01Z</published>
	<updated>2009-12-20T15:12:01Z</updated>
	<author>
		<name>&quot;Przemysław \&quot;eRIZ\&quot; Pawliczuk&quot;</name>
	</author>
	<content type="html">&amp;gt; Please describe just slightly better exactly what you do, is it:
&lt;br&gt;&lt;br&gt;&amp;gt; # mkdir /var/www/test
&lt;br&gt;&amp;gt; # cp foo.php /var/www/test
&lt;br&gt;&lt;br&gt;Not exactly. I've just created php file in subdirectory with &amp;quot;echo 'hello world';&amp;quot; content. And YAWS is returning error 500 code...
&lt;br&gt;&lt;br&gt;Pozdrawiam,
&lt;br&gt;Przemysław &amp;quot;eRIZ&amp;quot; Pawliczuk
&lt;br&gt;--
&lt;br&gt;JID: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26868181&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;eriz@...&lt;/a&gt;
&lt;br&gt;www: &lt;a href=&quot;http://eriz.pcinside.pl&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://eriz.pcinside.pl&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26868181&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/YAWS-1.84-%2B-FreeBSD-7.1-%2B-PHP-and-subfolders-tp26863749p26868181.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26867965</id>
	<title>Re: YAWS 1.84 + FreeBSD 7.1 + PHP and subfolders</title>
	<published>2009-12-20T14:43:51Z</published>
	<updated>2009-12-20T14:43:51Z</updated>
	<author>
		<name>Claes Wikstrom</name>
	</author>
	<content type="html">Przemysław eRIZ Pawliczuk wrote:
&lt;br&gt;&amp;gt; I've installed YAWS under FreeBSD and configured with PHP. Then, I created test php file with phpinfo() call. Everything went ok. But when I created a subdirectory and test php file inside, YAWS returned error with code 500 and I have no idea why PHP can't cooperate with YAWS inside subdirectory. I start yaws with -i parameter, temporarily from root's console.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Please describe just slightly better exactly what you do, is it:
&lt;br&gt;&lt;br&gt;# mkdir /var/www/test
&lt;br&gt;# cp foo.php /var/www/test
&lt;br&gt;&lt;br&gt;?
&lt;br&gt;&lt;br&gt;/klacke
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26867965&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/YAWS-1.84-%2B-FreeBSD-7.1-%2B-PHP-and-subfolders-tp26863749p26867965.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26867330</id>
	<title>Re: Error after install</title>
	<published>2009-12-20T13:02:28Z</published>
	<updated>2009-12-20T13:02:28Z</updated>
	<author>
		<name>Sergei Golovan-2</name>
	</author>
	<content type="html">On Sun, Dec 20, 2009 at 10:35 PM, Kurtis Rainbolt-Greene
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26867330&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;thinkwritemute@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Ok, so here's the problem: &lt;a href=&quot;http://dpaste.com/135881/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dpaste.com/135881/&lt;/a&gt;&lt;br&gt;&amp;gt; I don't think it should be failing right out of the box like that.
&lt;br&gt;&lt;br&gt;Yaws tries to find its config file in the following order:
&lt;br&gt;$HOME/yaws.conf, then ./yaws.conf and then /etc/yaws/yaws.conf.
&lt;br&gt;&lt;br&gt;I guess you haven't created your own config file, and system one
&lt;br&gt;(/etc/yaws/yaws.conf) isn't readable by you (it's readable by a
&lt;br&gt;special user yaws) because it wouldn't be wise to allow any user to
&lt;br&gt;run yaws with a global config.
&lt;br&gt;&lt;br&gt;So, either edit the global config file and run it via
&lt;br&gt;/etc/init.d/yaws, or edit your own $HOME/yaws.conf and do what you
&lt;br&gt;want using your personal user account.
&lt;br&gt;&lt;br&gt;Cheers!
&lt;br&gt;-- 
&lt;br&gt;Sergei Golovan
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26867330&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-after-install-tp26866574p26867330.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26866728</id>
	<title>Re: Error after install</title>
	<published>2009-12-20T11:53:34Z</published>
	<updated>2009-12-20T11:53:34Z</updated>
	<author>
		<name>Steve Vinoski-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Sun, Dec 20, 2009 at 2:48 PM, wde &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26866728&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wde@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;




&lt;div&gt;
&lt;div&gt;Hi,&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;I don&amp;#39;t know how deb packages are built for Yaws.&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Me neither. Clearly the package doesn&amp;#39;t create the normal yaws.conf file in the normal place. It looks like it instead creates a localhost.conf file. You might be able to make it work by doing this:&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;yaws -i --conf /etc/yaws/conf.d/localhost.conf&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;&lt;div&gt;
&lt;div&gt;Did you try to install the lastest stable version from the Git 
repository ?&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Build and installation process :&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;a href=&quot;http://yaws.hyber.org/configuration.yaws&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://yaws.hyber.org/configuration.yaws&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Yes, building from source is quite easy and from the looks of things, it doesn&amp;#39;t involve much more than it takes to install that package.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;--steve&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26866728&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-after-install-tp26866574p26866728.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26866690</id>
	<title>Re: Error after install</title>
	<published>2009-12-20T11:48:34Z</published>
	<updated>2009-12-20T11:48:34Z</updated>
	<author>
		<name>wde</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=iso-8859-1&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.2900.5897&quot; name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;DIV&gt;Hi,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I don't know how deb packages are built for Yaws.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Did you try to install the lastest stable&amp;nbsp;version from the Git 
repository ?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Build and installation process :&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;A href=&quot;http://yaws.hyber.org/configuration.yaws&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://yaws.hyber.org/configuration.yaws&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;HR&gt;
Ok, so here's the problem:&amp;nbsp;&lt;A href=&quot;http://dpaste.com/135881/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dpaste.com/135881/&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR&gt;&lt;/DIV&gt;
&lt;DIV&gt;I don't think it should be failing right out of the box like that.&lt;/DIV&gt;
&lt;HR&gt;
&lt;/BODY&gt;&lt;/HTML&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26866690&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-after-install-tp26866574p26866690.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26866574</id>
	<title>Error after install</title>
	<published>2009-12-20T11:35:00Z</published>
	<updated>2009-12-20T11:35:00Z</updated>
	<author>
		<name>Kurtis Rainbolt-greene</name>
	</author>
	<content type="html">Ok, so here&amp;#39;s the problem: &lt;a href=&quot;http://dpaste.com/135881/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dpaste.com/135881/&lt;/a&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I don&amp;#39;t think it should be failing right out of the box like that.&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26866574&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-after-install-tp26866574p26866574.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26865439</id>
	<title>Re: exclude paths from appmod</title>
	<published>2009-12-20T09:30:48Z</published>
	<updated>2009-12-20T09:30:48Z</updated>
	<author>
		<name>Steve Vinoski-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Sun, Dec 20, 2009 at 7:57 AM, wde &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26865439&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wde@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;&quot;&gt;
I wrote this patch to handle a &amp;quot;/&amp;quot; request with a root appmod and excluded paths&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I wrote a new unit test to try to duplicate this problem, and unfortunately it succeeded. Your patch works -- applied and pushed.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;thanks,&lt;/div&gt;&lt;div&gt;--steve&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26865439&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/exclude-paths-from-appmod-tp26850779p26865439.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26864416</id>
	<title>Re: YAWS and permissions</title>
	<published>2009-12-20T07:29:26Z</published>
	<updated>2009-12-20T07:29:26Z</updated>
	<author>
		<name>Davide Marquês</name>
	</author>
	<content type="html">Hi!&lt;br&gt;
&lt;br&gt;2009/12/20 Przemysław &amp;quot;eRIZ&amp;quot; Pawliczuk &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26864416&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;eriz@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;How should I setup YAWS as daemon to use port 80 without root permissions under FreeBSD? &lt;br&gt;
&lt;br&gt;
Might this:&lt;br&gt;
&lt;a href=&quot;http://yaws.hyber.org/privbind.yaws&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://yaws.hyber.org/privbind.yaws&lt;/a&gt;&lt;br&gt;
be what you are looking for?&lt;br&gt;
&lt;br&gt;
Cheers!&lt;br&gt;
Davide :)&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26864416&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/YAWS-and-permissions-tp26863745p26864416.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26864087</id>
	<title>Re: YAWS and permissions</title>
	<published>2009-12-20T06:42:58Z</published>
	<updated>2009-12-20T06:42:58Z</updated>
	<author>
		<name>wde</name>
	</author>
	<content type="html">i don't know well *BSD but you can use a local firewall rule to translate ports .
&lt;br&gt;&lt;br&gt;&amp;nbsp; 
&lt;br&gt;======= le 20/12/2009, 14:59:08 vous écriviez: =======
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;How should I setup YAWS as daemon to use port 80 without root permissions under FreeBSD? AFAIK its quite as problematic to do this without other daemon which would act as proxy. I've found a manual which pointed to set up nginx as reverse proxy on port 80 to 8080 but is there any possibility to start pure YAWS, without messing up the environment with nginx installation?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Link to the manual: &lt;a href=&quot;http://www.trapexit.org/forum/viewtopic.php?p=42923&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.trapexit.org/forum/viewtopic.php?p=42923&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Cheers,
&lt;br&gt;&amp;gt;Przemyslaw &amp;quot;eRIZ&amp;quot; Pawliczuk
&lt;br&gt;&amp;gt;--
&lt;br&gt;&amp;gt;JID: eriz//pcinside.pl
&lt;br&gt;&amp;gt;www: &lt;a href=&quot;http://eriz.pcinside.pl&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://eriz.pcinside.pl&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;&amp;gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;&amp;gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;&amp;gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&amp;gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;gt;_______________________________________________
&lt;br&gt;&amp;gt;Erlyaws-list mailing list
&lt;br&gt;&amp;gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26864087&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;/div&gt;&lt;br&gt;= = = = = = = = = ========= = = = = = = = = = =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;wde
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26864087&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wde@...&lt;/a&gt;
&lt;br&gt;20/12/2009
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26864087&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/YAWS-and-permissions-tp26863745p26864087.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26863745</id>
	<title>YAWS and permissions</title>
	<published>2009-12-20T05:59:08Z</published>
	<updated>2009-12-20T05:59:08Z</updated>
	<author>
		<name>&quot;Przemysław \&quot;eRIZ\&quot; Pawliczuk&quot;</name>
	</author>
	<content type="html">How should I setup YAWS as daemon to use port 80 without root permissions under FreeBSD? AFAIK it’s quite as problematic to do this without other daemon which would act as proxy. I've found a manual which pointed to set up nginx as reverse proxy on port 80 to 8080 but is there any possibility to start pure YAWS, without messing up the environment with nginx installation?
&lt;br&gt;&lt;br&gt;Link to the manual: &lt;a href=&quot;http://www.trapexit.org/forum/viewtopic.php?p=42923&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.trapexit.org/forum/viewtopic.php?p=42923&lt;/a&gt;&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Przemysław &amp;quot;eRIZ&amp;quot; Pawliczuk
&lt;br&gt;--
&lt;br&gt;JID: eriz//pcinside.pl
&lt;br&gt;www: &lt;a href=&quot;http://eriz.pcinside.pl&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://eriz.pcinside.pl&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26863745&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/YAWS-and-permissions-tp26863745p26863745.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26863749</id>
	<title>YAWS 1.84 + FreeBSD 7.1 + PHP and subfolders</title>
	<published>2009-12-20T05:23:14Z</published>
	<updated>2009-12-20T05:23:14Z</updated>
	<author>
		<name>&quot;Przemysław \&quot;eRIZ\&quot; Pawliczuk&quot;</name>
	</author>
	<content type="html">I've installed YAWS under FreeBSD and configured with PHP. Then, I created test php file with phpinfo() call. Everything went ok. But when I created a subdirectory and test php file inside, YAWS returned error with code 500 and I have no idea why PHP can't cooperate with YAWS inside subdirectory. I start yaws with -i parameter, temporarily from root's console.
&lt;br&gt;&lt;br&gt;Any ideas?
&lt;br&gt;&lt;br&gt;My config file: 
&lt;br&gt;&lt;br&gt;##########################################
&lt;br&gt;# conf for yaws
&lt;br&gt;&lt;br&gt;# first we have a set of globals
&lt;br&gt;&lt;br&gt;logdir = /var/log/yaws
&lt;br&gt;ebin_dir = /usr/local/www/yaws/shopingcart
&lt;br&gt;include_dir = /usr/local/www/yaws
&lt;br&gt;&lt;br&gt;php_exe_path = /usr/local/bin/php-cgi
&lt;br&gt;&lt;br&gt;#end then a set of servers
&lt;br&gt;&lt;br&gt;# enter hostname and IP here
&lt;br&gt;&amp;lt;server xx.xx.xx.xx&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; port = 80
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; listen = 0.0.0.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; docroot = /var/www
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; allowed_scripts = php
&lt;br&gt;&amp;lt;/server&amp;gt;
&lt;br&gt;##########################################
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Przemysław &amp;quot;eRIZ&amp;quot; Pawliczuk
&lt;br&gt;--
&lt;br&gt;JID: eriz//pcinside.pl
&lt;br&gt;www: &lt;a href=&quot;http://eriz.pcinside.pl&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://eriz.pcinside.pl&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26863749&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/YAWS-1.84-%2B-FreeBSD-7.1-%2B-PHP-and-subfolders-tp26863749p26863749.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26863206</id>
	<title>Re: exclude paths from appmod</title>
	<published>2009-12-20T04:57:44Z</published>
	<updated>2009-12-20T04:57:44Z</updated>
	<author>
		<name>wde</name>
	</author>
	<content type="html">I wrote this patch to handle a &amp;quot;/&amp;quot; request with a root appmod and excluded paths
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;======= le 20/12/2009, 12:44:03 vous écriviez: =======
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;It's not really a problem, but if I understand the code of yaws_server :
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Yaws calls &amp;nbsp;try_index_file and do an I/O on disk and I don't want this 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;thank you for your help
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;======= le 20/12/2009, 12:31:50 vous écriviez: =======
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;Hi,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;if I define an appmod for &amp;quot;/&amp;quot; with excluded paths, how to handle a request on &amp;quot;/&amp;quot; ? 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;Yaws seems to automatically transform &amp;nbsp;the request to &amp;quot;/index.html&amp;quot;.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;Is that correct ? I have to handle a &amp;quot;special case&amp;quot; in my appmod for &amp;quot;index.html&amp;quot; requests ?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;thank you
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;======= le 18/12/2009, 23:56:29 vous écriviez: =======
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;wde wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; The ability to exclude paths from a root appmod was introduce in the last release 1.86.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; but verify_upgrade_args always wait a tuple {X,Y} (when no excluded directories defined)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I patched this function to handle {X,Y} and {X,Y,Z} tuples .
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; did i miss something ?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;No, you didn't - thanks a bunch, applied and pushed.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;/klacke
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;= = = = = = = = = ========= = = = = = = = = = =
&lt;br&gt;&amp;gt;&amp;gt;			
&lt;br&gt;&amp;gt;&amp;gt;wde
&lt;br&gt;&amp;gt;&amp;gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26863206&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wde@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;20/12/2009
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;&amp;gt;&amp;gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;&amp;gt;&amp;gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;&amp;gt;&amp;gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&amp;gt;&amp;gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;_______________________________________________
&lt;br&gt;&amp;gt;&amp;gt;Erlyaws-list mailing list
&lt;br&gt;&amp;gt;&amp;gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26863206&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;= = = = = = = = = ========= = = = = = = = = = =
&lt;br&gt;&amp;gt;			
&lt;br&gt;&amp;gt;wde
&lt;br&gt;&amp;gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26863206&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wde@...&lt;/a&gt;
&lt;br&gt;&amp;gt;20/12/2009
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;&amp;gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;&amp;gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;&amp;gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&amp;gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;gt;_______________________________________________
&lt;br&gt;&amp;gt;Erlyaws-list mailing list
&lt;br&gt;&amp;gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26863206&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;= = = = = = = = = ========= = = = = = = = = = =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;wde
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26863206&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wde@...&lt;/a&gt;
&lt;br&gt;20/12/2009
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26863206&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;yaws_server.patch&lt;/strong&gt; (694 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26863206/0/yaws_server.patch&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/exclude-paths-from-appmod-tp26850779p26863206.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26862699</id>
	<title>Re: exclude paths from appmod</title>
	<published>2009-12-20T03:44:03Z</published>
	<updated>2009-12-20T03:44:03Z</updated>
	<author>
		<name>wde</name>
	</author>
	<content type="html">It's not really a problem, but if I understand the code of yaws_server :
&lt;br&gt;&lt;br&gt;Yaws calls &amp;nbsp;try_index_file and do an I/O on disk and I don't want this 
&lt;br&gt;&lt;br&gt;thank you for your help
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;======= le 20/12/2009, 12:31:50 vous écriviez: =======
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;if I define an appmod for &amp;quot;/&amp;quot; with excluded paths, how to handle a request on &amp;quot;/&amp;quot; ? 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Yaws seems to automatically transform &amp;nbsp;the request to &amp;quot;/index.html&amp;quot;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Is that correct ? I have to handle a &amp;quot;special case&amp;quot; in my appmod for &amp;quot;index.html&amp;quot; requests ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;thank you
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;======= le 18/12/2009, 23:56:29 vous écriviez: =======
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;wde wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; The ability to exclude paths from a root appmod was introduce in the last release 1.86.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; but verify_upgrade_args always wait a tuple {X,Y} (when no excluded directories defined)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I patched this function to handle {X,Y} and {X,Y,Z} tuples .
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; did i miss something ?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;No, you didn't - thanks a bunch, applied and pushed.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;/klacke
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;= = = = = = = = = ========= = = = = = = = = = =
&lt;br&gt;&amp;gt;			
&lt;br&gt;&amp;gt;wde
&lt;br&gt;&amp;gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26862699&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wde@...&lt;/a&gt;
&lt;br&gt;&amp;gt;20/12/2009
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;&amp;gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;&amp;gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;&amp;gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&amp;gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;gt;_______________________________________________
&lt;br&gt;&amp;gt;Erlyaws-list mailing list
&lt;br&gt;&amp;gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26862699&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;/div&gt;&lt;br&gt;= = = = = = = = = ========= = = = = = = = = = =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;wde
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26862699&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wde@...&lt;/a&gt;
&lt;br&gt;20/12/2009
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26862699&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/exclude-paths-from-appmod-tp26850779p26862699.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26862635</id>
	<title>Re: exclude paths from appmod</title>
	<published>2009-12-20T03:31:50Z</published>
	<updated>2009-12-20T03:31:50Z</updated>
	<author>
		<name>wde</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;if I define an appmod for &amp;quot;/&amp;quot; with excluded paths, how to handle a request on &amp;quot;/&amp;quot; ? 
&lt;br&gt;&lt;br&gt;Yaws seems to automatically transform &amp;nbsp;the request to &amp;quot;/index.html&amp;quot;.
&lt;br&gt;&lt;br&gt;Is that correct ? I have to handle a &amp;quot;special case&amp;quot; in my appmod for &amp;quot;index.html&amp;quot; requests ?
&lt;br&gt;&lt;br&gt;&lt;br&gt;thank you
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;======= le 18/12/2009, 23:56:29 vous écriviez: =======
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;wde wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; The ability to exclude paths from a root appmod was introduce in the last release 1.86.
&lt;br&gt;&amp;gt;&amp;gt; but verify_upgrade_args always wait a tuple {X,Y} (when no excluded directories defined)
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I patched this function to handle {X,Y} and {X,Y,Z} tuples .
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; did i miss something ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;No, you didn't - thanks a bunch, applied and pushed.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;/klacke
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;= = = = = = = = = ========= = = = = = = = = = =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;wde
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26862635&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wde@...&lt;/a&gt;
&lt;br&gt;20/12/2009
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26862635&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/exclude-paths-from-appmod-tp26850779p26862635.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26851188</id>
	<title>Re: Yaws and HTML5 Websocket</title>
	<published>2009-12-18T15:33:13Z</published>
	<updated>2009-12-18T15:33:13Z</updated>
	<author>
		<name>Davide Marquês</name>
	</author>
	<content type="html">Missing reference: &lt;a href=&quot;http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-66#section-7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-66#section-7&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/12/18 Davide Marquês &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26851188&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nesrait@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Hi again,&lt;br&gt;&lt;br&gt;lol... first Joe, now klacke! It&amp;#39;s spreading! :)&lt;br&gt;&lt;br&gt;In the meanwhile there is a little detail about security. :\&lt;br&gt;
Currently the &amp;quot;web socket server&amp;quot; is merrily echoing back whatever Origin someone might throw at it, so it allows connections from all over the place.&lt;br&gt;
&lt;br&gt;After reading the Origin header (its values look something like &amp;quot;http[s]://servername[:non-default-port-for-url-scheme]&amp;quot;) we should compare the Origin against the ServerName and/or a list of AllowedOrigins.&lt;br&gt;

Any takers for the task at hand? :)&lt;br&gt;&lt;br&gt;Weekend starting... now! :)&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;:Davide&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26851188&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Yaws-and-HTML5-Websocket-tp26834959p26851188.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26851168</id>
	<title>Re: Yaws and HTML5 Websocket</title>
	<published>2009-12-18T15:29:38Z</published>
	<updated>2009-12-18T15:29:38Z</updated>
	<author>
		<name>Davide Marquês</name>
	</author>
	<content type="html">Hi again,&lt;br&gt;&lt;br&gt;lol... first Joe, now klacke! It&amp;#39;s spreading! :)&lt;br&gt;&lt;br&gt;In the meanwhile there is a little detail about security. :\&lt;br&gt;Currently the &amp;quot;web socket server&amp;quot; is merrily echoing back whatever Origin someone might throw at it, so it allows connections from all over the place.&lt;br&gt;
&lt;br&gt;After reading the Origin header (its values look something like &amp;quot;http[s]://servername[:non-default-port-for-url-scheme]&amp;quot;) we should compare the Origin against the ServerName and/or a list of AllowedOrigins.&lt;br&gt;
Any takers for the task at hand? :)&lt;br&gt;&lt;br&gt;Weekend starting... now! :)&lt;br&gt;:Davide&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26851168&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Yaws-and-HTML5-Websocket-tp26834959p26851168.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26850883</id>
	<title>yaws_vdir module</title>
	<published>2009-12-18T14:58:05Z</published>
	<updated>2009-12-18T14:58:05Z</updated>
	<author>
		<name>wde</name>
	</author>
	<content type="html">Hi again,
&lt;br&gt;&lt;br&gt;I use virtual directories since &amp;nbsp;yaws 1.77 by using the the arg_rewrite function from the old yaws_vdir module.
&lt;br&gt;&lt;br&gt;This module is no more provided in the yaws releases. And the vdir example in documentation always use it.
&lt;br&gt;&lt;br&gt;Again, I missing something ?
&lt;br&gt;&lt;br&gt;&lt;br&gt;thank you 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26850883&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/yaws_vdir-module-tp26850883p26850883.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26850870</id>
	<title>Re: exclude paths from appmod</title>
	<published>2009-12-18T14:56:29Z</published>
	<updated>2009-12-18T14:56:29Z</updated>
	<author>
		<name>Claes Wikstrom</name>
	</author>
	<content type="html">wde wrote:
&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The ability to exclude paths from a root appmod was introduce in the last release 1.86.
&lt;br&gt;&amp;gt; but verify_upgrade_args always wait a tuple {X,Y} (when no excluded directories defined)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I patched this function to handle {X,Y} and {X,Y,Z} tuples .
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; did i miss something ?
&lt;br&gt;&lt;br&gt;No, you didn't - thanks a bunch, applied and pushed.
&lt;br&gt;&lt;br&gt;/klacke
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26850870&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/exclude-paths-from-appmod-tp26850779p26850870.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26850779</id>
	<title>exclude paths from appmod</title>
	<published>2009-12-18T14:49:24Z</published>
	<updated>2009-12-18T14:49:24Z</updated>
	<author>
		<name>wde</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;The ability to exclude paths from a root appmod was introduce in the last release 1.86.
&lt;br&gt;&lt;br&gt;It works fine but when I play with embeded mode and try to fill myself the #sconf{} record, I got an error
&lt;br&gt;in yaws_config:verify_upgrade_args functions.
&lt;br&gt;&lt;br&gt;I fill the appmods field with something like that where the third element of the tuple contains excluded
&lt;br&gt;directories :
&lt;br&gt;&lt;br&gt;[{&amp;quot;/&amp;quot;,myapp,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[[&amp;quot;icons&amp;quot;],
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [&amp;quot;js&amp;quot;],
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [&amp;quot;top&amp;quot;,&amp;quot;static&amp;quot;],
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [&amp;quot;static&amp;quot;],
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [&amp;quot;bonjour&amp;quot;],
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [&amp;quot;bla&amp;quot;]]}],
&lt;br&gt;&lt;br&gt;&lt;br&gt;but verify_upgrade_args always wait a tuple {X,Y} (when no excluded directories defined)
&lt;br&gt;&lt;br&gt;I patched this function to handle {X,Y} and {X,Y,Z} tuples .
&lt;br&gt;&lt;br&gt;&lt;br&gt;did i miss something ?
&lt;br&gt;&lt;br&gt;&lt;br&gt;thank you for help
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;This SF.Net email is sponsored by the Verizon Developer Community
&lt;br&gt;Take advantage of Verizon's best-in-class app development support
&lt;br&gt;A streamlined, 14 day to market process makes app distribution fast and easy
&lt;br&gt;Join now and get one step closer to millions of Verizon customers
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/verizon-dev2dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/verizon-dev2dev&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;Erlyaws-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26850779&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Erlyaws-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/erlyaws-list&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;yaws_config.patch&lt;/strong&gt; (1K) &lt;a href=&quot;http://old.nabble.com/attachment/26850779/0/yaws_config.patch&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/exclude-paths-from-appmod-tp26850779p26850779.html" />
</entry>

</feed>
