Thanks. Been looking for a solution to this for awhile.

BTW, here's the Nginx solution: 
https://codeinthehole.com/tips/django-nginx-wsgi-and-encoded-slashes/

On Sunday, May 18, 2014 at 3:18:09 PM UTC-4, Arjuna wrote:
>
> Hi Xavier,
>
> I solved the problem at least for my set up by simply adding one line to 
> my vhost file:
>
> <VirtualHost *:80>
> ServerName domain.tld
> *AllowEncodedSlashes on*
>
> <Proxy *>
> ......
> </Proxy>
> </VirtualHost>
>
> It seems that not the special characters like $ had to be escaped but the 
> slashes. 
>
> Hope this helps ...
> -aj
>
>
> On Saturday, May 17, 2014 11:04:41 AM UTC+2, Xavier wrote:
>>
>> Hi,
>>
>> I experienced the same issue when trying to use Apache as a proxy on a 
>> Debian host.
>>
>> One can experience the difference when trying to edit 
>> <http://tw5.alteriel.net/#%24%3A%2FDefaultTiddlers:%24%3A%2FDefaultTiddlers%20HelloThere>
>> $:/DefaultTiddlers or HelloThere 
>> <http://tw5.alteriel.net/#%24%3A%2FDefaultTiddlers:%24%3A%2FDefaultTiddlers%20HelloThere>.
>>  
>> I don't know yet how to tell Apache that editing $:/DefaultTiddlers is 
>> fine. 
>>
>> Here is my VirtualHost configuration to mask the node server on port 9559
>>   : 
>>
>> xavier@piano:/etc/apache2/sites-available$ cat 025-tw5-beta
>> # A copy of latest tw5.com edition is running on node.js, port 9559
>> # Note to self: mod_proxy_http is mandatory (in addition to mod_proxy)
>>
>> NameVirtualHost *:80
>> <VirtualHost *:80>
>>   ServerName tw5.alteriel.net
>>   <Proxy *>
>>     Order Deny,Allow
>>     Allow from all
>>   </Proxy>
>>   ProxyPreserveHost Off # défaut
>>   ProxyPass / http://127.0.0.1:9559/
>> </VirtualHost>
>> xavier@piano:/etc/apache2/sites-available$ 
>>
>> Best,
>> Xavier.
>>
>> -- Xavier Cazin
>>
>>
>> On Sat, May 17, 2014 at 10:22 AM, Arjuna <atuk...@gmail.com> wrote:
>>
>>> Hi Jeremy,
>>>
>>> indeed I use proxypass (apache/mod_proxy) to forward traffic between a 
>>> locally hosted tiddly (nodejs) server and the internet. My setup is a 
>>> Synology NAS using apache webserver, several different webpages,managed 
>>> through vhost behind a nat with port 80 open. In this setup proxypass 
>>> seemed the fast and easy way to get through the nat bidirectionally. I will 
>>> investigate a bit into that module.
>>>
>>> Thanks for your hint.
>>> -aj
>>>
>>>
>>> On Saturday, May 17, 2014 1:26:07 AM UTC+2, Jeremy Ruston wrote:
>>>
>>>> Hi Arjuna
>>>>
>>>> Can you describe your configuration? It sounds like there may be a 
>>>> proxy between the browser and the server that is objecting to the encoded 
>>>> slash in the URL (the characters %2F).
>>>>
>>>> Best wishes
>>>>
>>>> Jeremy
>>>>
>>>>
>>>>
>>>>
>>>> On Fri, May 16, 2014 at 9:15 PM, Arjuna <atuk...@gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> when trying to edit any tiddlers with the prefix $:/... I got the 
>>>>> following error:
>>>>>
>>>>> *syncer-browser - 00:01:05 17 5 2014 *
>>>>>
>>>>> Sync error while processing '$:/.......': XMLHttpRequest error code: 
>>>>> 404
>>>>>
>>>>> The developer console logs:
>>>>>
>>>>> PUT %24%3A%2FSiteSubtitle (http://host/recipes/default/
>>>>> tiddlers/%24%3A%2FSiteSubtitle)   404 Not Found   domain   0B 
>>>>>
>>>>> However, editing any other Tiddler works fine.
>>>>>
>>>>> -aj
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>> You received this message because you are subscribed to the Google 
>>>>> Groups "TiddlyWiki" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>> an email to tiddlywiki+...@googlegroups.com.
>>>>> To post to this group, send email to tiddl...@googlegroups.com.
>>>>>
>>>>> Visit this group at http://groups.google.com/group/tiddlywiki.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>>
>>>> -- 
>>>> Jeremy Ruston
>>>> mailto:jeremy...@gmail.com
>>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to tiddlywiki+...@googlegroups.com.
>>> To post to this group, send email to tiddl...@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/tiddlywiki.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5313a904-3553-4387-ae1a-5628bb79d62d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to