Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73163 - gorg can't treat files in /~username/
Summary: gorg can't treat files in /~username/
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-developer
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Xavier Neys (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-02 13:01 UTC by Masatomo Nakano (RETIRED)
Modified: 2004-12-07 08:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for user home directory (gorg_userhome.patch,2.04 KB, patch)
2004-12-02 13:02 UTC, Masatomo Nakano (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Masatomo Nakano (RETIRED) gentoo-dev 2004-12-02 13:01:05 UTC
Hi,

I'm using gorg in a couple of weeks. I love it. Thank you for good software.

But I noticed I can't use gorg in http://foo.com/~username/ style directory.
I've written a patch to fix it.
gorg with the patch works fine in my environment(Apache + FASTCGI) but I've not tested it in other environmen.t

I'm attaching the patch. Please apply it if possible.
Comment 1 Masatomo Nakano (RETIRED) gentoo-dev 2004-12-02 13:02:50 UTC
Created attachment 45166 [details, diff]
patch for user home directory
Comment 2 Xavier Neys (RETIRED) gentoo-dev 2004-12-07 07:46:59 UTC
Thanks a lot for your kind words and your patch.

It works nicely both from cgi and fcgi.
A minor change was required in www.rb (stand-alone web server).
FYI, I'll use the 'official' cgi.path_translated instead of accessing cgi.env_table which is supposed to be private in a stock cgi object.
Next revision will include your changes.
I'll release a new revision later (don't know when, yet) but you can keep on using your patched version, it just works ;-)

Could you spare some time to let me know where you use gorg and what for? For gentoo stuff as well? Just being curious ;-)

Many thanks to you.
Comment 3 Masatomo Nakano (RETIRED) gentoo-dev 2004-12-07 08:51:59 UTC
We are using gorg at http://www.gentoo.gr.jp/ now because we want to use 
apache2 and Axkit sometimes had problems. And I'm going to use it at 
http://www.gentoo.gr.jp/~nakano/ for testing some documents.
I think Gorg has more possiblities since many people need easy and simple XML server.

Anyway, we are very satisfied with Gorg :)

Thank you again for you.