[sandbox] need Apache/.htaccess/rsync help

A bit off-topic, but I don't know who the maintainer of the boost-sandbox project on sourceforge.net is. I use this project to post updated documentation for my boost libraries. (For instance, see <http://boost-sandbox.sourceforge.net/libs/xpressive>.) Today, I tried to update Proto's docs using a script I wrote for this purpose eons ago: #!/bin/sh rsync --delete --rsh=ssh --recursive html/* eric_niebler,boost-sandbox@web.sourceforge.net:/home/groups/b/bo/boost-sandbox/htdocs/libs/proto/doc/html For ages, this has Just Worked, but for some reason, it has recently stopped working. I thought I'd check here before requesting support from SF.net. The behavior I'm now seeing is that I get 403 error for any page in Proto's docs. See: http://boost-sandbox.sourceforge.net/libs/proto/doc/html/index.html The error says: "3. Error notes: Server unable to read htaccess file, denying access to be safe" Wha'? Any help? FYI, here's sf.net's docs on rsync over ssh. From what I can tell, I'm doing everything right: http://sourceforge.net/apps/trac/sourceforge/wiki/Rsync%20over%20SSH#Project... -- Eric Niebler BoostPro Computing http://www.boostpro.com

AMDG Eric Niebler wrote:
A bit off-topic, but I don't know who the maintainer of the boost-sandbox project on sourceforge.net is. I use this project to post updated documentation for my boost libraries. (For instance, see <http://boost-sandbox.sourceforge.net/libs/xpressive>.)
Today, I tried to update Proto's docs using a script I wrote for this purpose eons ago:
#!/bin/sh
rsync --delete --rsh=ssh --recursive html/* eric_niebler,boost-sandbox@web.sourceforge.net:/home/groups/b/bo/boost-sandbox/htdocs/libs/proto/doc/html
For ages, this has Just Worked, but for some reason, it has recently stopped working. I thought I'd check here before requesting support from SF.net. The behavior I'm now seeing is that I get 403 error for any page in Proto's docs. See:
http://boost-sandbox.sourceforge.net/libs/proto/doc/html/index.html
The error says: "3. Error notes: Server unable to read htaccess file, denying access to be safe"
Wha'? Any help? FYI, here's sf.net's docs on rsync over ssh. From what I can tell, I'm doing everything right:
http://sourceforge.net/apps/trac/sourceforge/wiki/Rsync%20over%20SSH#Project...
The permissions on the html directory appear to be wrong: drwxrwx--- 8 140343 users 7168 Mar 16 02:38 html Most other directories appear to be drwxr-xr-x In Christ, Steven Watanabe

On 3/16/2010 2:41 PM, Steven Watanabe wrote:
Eric Niebler wrote:
http://boost-sandbox.sourceforge.net/libs/proto/doc/html/index.html
The error says: "3. Error notes: Server unable to read htaccess file, denying access to be safe"
The permissions on the html directory appear to be wrong:
drwxrwx--- 8 140343 users 7168 Mar 16 02:38 html
Most other directories appear to be drwxr-xr-x
Hrm, OK. Two more questions: (1) How did you determine this? I haven't figured out how to browse the directories there. (2) How do I fix it? -- Eric Niebler BoostPro Computing http://www.boostpro.com

AMDG Eric Niebler wrote:
On 3/16/2010 2:41 PM, Steven Watanabe wrote:
Eric Niebler wrote:
http://boost-sandbox.sourceforge.net/libs/proto/doc/html/index.html
The error says: "3. Error notes: Server unable to read htaccess file, denying access to be safe"
The permissions on the html directory appear to be wrong:
drwxrwx--- 8 140343 users 7168 Mar 16 02:38 html
Most other directories appear to be drwxr-xr-x
Hrm, OK. Two more questions:
(1) How did you determine this? I haven't figured out how to browse the directories there.
I used ssh following the directions at http://sourceforge.net/apps/trac/sourceforge/wiki/Shell%20service
(2) How do I fix it?
If you're the owner, you should be able to chmod it. You could also do this in the rsync command using the chmod option: -p --chmod=D755,F644 I think. In Christ, Steven Watanabe

On 3/17/2010 1:14 AM, Steven Watanabe wrote: <snip>
I used ssh following the directions at http://sourceforge.net/apps/trac/sourceforge/wiki/Shell%20service
Ah! SF took away shell access a while back and didn't know they re-enabled it. W00t!
(2) How do I fix it?
If you're the owner, you should be able to chmod it.
Yeah, this was easy to fix once I had remote shell access. Thx.
You could also do this in the rsync command using the chmod option:
-p --chmod=D755,F644
-p was the magic missing bit. Don't know about the chmod option -- rsync didn't like it. Thanks, proto's docs are back online. -- Eric Niebler BoostPro Computing http://www.boostpro.com
participants (2)
-
Eric Niebler
-
Steven Watanabe