Re: [AOLSERVER] Symbolic links and directoryfile

2001-08-20 Thread Scott Goodwin

As far as I know, all requested URLs must be referenced via the pageroot.
If you create a URL or a filesystem softlink that has an absolute path
like /home/scott/myweb/file, and pageroot is set to /myweb, the server
won't follow the link. I've made that mistake before both in Apache and
AOLserver. It's the proper behavior. If someone does get that to work, I'd
say it's a bug that needs to be fixed.

That doesn't mean, however, that AOLserver itself cannot see or use files
referenced via the absolute path, just that it cannot server files via HTTP
outside of the pageroot. For example, you can point to an SSL cert via
nsopenssl in the nsd.tcl file via an absolute filesystem path. If pageroot
and the filesystem's root are the same, then it doesnt' matter, but you'd
not want to do this. In the case of a chrooted server, the absolute path
will still not work if your chroot top level dir is different from your
pageroot setting.

Hope this muddies the waters.

/s.



 Is this enforced in AS 3.x?  Your note says the web server cannot
follow...,
 which is only true if it is chrooted or there is some server code checking
 links (I think).

 Jim

 
  Hi Ellen,
 
  every web server has what's called a pageroot, the directory in the
  filesystem where the web pages are served from. If the web server is
  going to be able to follow a soft link, that softlink must be a relative
  softlink rather than a fully-qualified path. Basically, you don't want
  your web server to be able to access any files outside of it web space
  (i.e. pageroot).
 
  This is ok:
 
ln -s dir/subdir softlink
 
  This is ok:
 
ls -s ../dir/subdir softlink
 
  This is NOT ok:
 
ln -s /home/scott/dir/subdir softlink
 
 
  In the last case, the web server cannot follow the path because it
  begins outside of its pageroot, UNLESS your pageroot *is* set to /home.
 
  Let me know if you're still having problems with this,
 
 
  /s.
 
  -Original Message-
  From: AOLserver Discussion [mailto:[EMAIL PROTECTED]] On Behalf
  Of Ellen Spertus
  Sent: Sunday, August 19, 2001 9:44 PM
  To: [EMAIL PROTECTED]
  Subject: Re: [AOLSERVER] Symbolic links and directoryfile
 
 
  Thanks for the reply.
 
  Maybe you linked to a relative path
  incorrectly, or you linked to the absolute path rather than the path
  relative to the pageroot.
 
  I did link to an absolute path (/home/mailman/blahblah), which is not
  under pageroot.  Is that not allowed?
 
  Ellen
 





[AOLSERVER] Opening of pls file

2001-08-20 Thread Prakash Sinha

Does anyone know here how to open a pls file?
I am trying pls.open $db /$dir/$db, but it says wrong command name pls.open

Thanx
P



[AOLSERVER] Question about the America Online Inc.

2001-08-20 Thread Mike Catlet

I have notice that when you click on the address book when checking an
email on the Inter/intranet, you will see the address book but when you
switch to a differant account it still shows the same address book to the
same account.

Pictures,

why doesnt the pictures show up on the emails when u check your email on a
web base internet service provider.

AOL Phoenix location.



Re: [AOLSERVER] Question about the America Online Inc.

2001-08-20 Thread Scott S. Goodwin

Hi Mike,

You posted to the wrong group. This discussion forum is centered around
AOLserver, which is an open-source web server.

Try going back to aol.com and looking for help there.

/s.

-Original Message-
From: AOLserver Discussion [mailto:[EMAIL PROTECTED]] On Behalf
Of Mike Catlet
Sent: Monday, August 20, 2001 7:03 PM
To: [EMAIL PROTECTED]
Subject: [AOLSERVER] Question about the America Online Inc.


I have notice that when you click on the address book when checking an
email on the Inter/intranet, you will see the address book but when you
switch to a differant account it still shows the same address book to
the same account.

Pictures,

why doesnt the pictures show up on the emails when u check your email on
a web base internet service provider.

AOL Phoenix location.



[AOLSERVER] Which postgres driver should I use?

2001-08-20 Thread Danny Yoo

Hello everyone,

I'm starting to learn more about aolserver, and found out there are two
postgres drivers, one from the main aolserver site at:

http://aolserver.com/archive/modules/nspostgres3_0.tar.gz

and another on the openacs site:

http://openacs.org/software.adp

I'm probably going to be running an OpenACS site, so which one would be
more appropriate?

Also, I think I've found a bug in the nspostgres module that causes an
ugly segfault.  I'll try to isolate this in a bit if no one has seen this
yet.

Thanks for your help!



Re: [AOLSERVER] Which postgres driver should I use?

2001-08-20 Thread Scott S. Goodwin

I just found out today from Lamar Owen that the postgres 2.0 driver at
OpenACS is the latest and greatest. The nspostgres 3.0 at aolserver.com
is *not* the latest.

It really should be called nspostgres and should be hosted at
SourceForge if possible (my opinion). Also, both should be looked at and
appropriate stuff (if any) merged into one version.


Anyone have any thoughts or comments on this?


/s.

-Original Message-
From: AOLserver Discussion [mailto:[EMAIL PROTECTED]] On Behalf
Of Danny Yoo
Sent: Monday, August 20, 2001 7:34 PM
To: [EMAIL PROTECTED]
Subject: [AOLSERVER] Which postgres driver should I use?


Hello everyone,

I'm starting to learn more about aolserver, and found out there are two
postgres drivers, one from the main aolserver site at:

http://aolserver.com/archive/modules/nspostgres3_0.tar.gz

and another on the openacs site:

http://openacs.org/software.adp

I'm probably going to be running an OpenACS site, so which one would be
more appropriate?

Also, I think I've found a bug in the nspostgres module that causes an
ugly segfault.  I'll try to isolate this in a bit if no one has seen
this yet.

Thanks for your help!



Re: [AOLSERVER] Which postgres driver should I use?

2001-08-20 Thread Scott S. Goodwin

From what I can tell, there's no reason not to do what you suggest. But
I couldn't find the nspostgres module in CVS at SourceForge, so it'll
have to be created. The nspostgres 2.0 module can be downloaded as a tar
file though.

But there may be reasons why it's not being hosted there that someone
can shed light on.

/s.

-Original Message-
From: AOLserver Discussion [mailto:[EMAIL PROTECTED]] On Behalf
Of Dossy
Sent: Monday, August 20, 2001 9:39 PM
To: [EMAIL PROTECTED]
Subject: Re: [AOLSERVER] Which postgres driver should I use?


On 2001.08.20, Scott S. Goodwin [EMAIL PROTECTED] wrote:
 I just found out today from Lamar Owen that the postgres 2.0 driver at

 OpenACS is the latest and greatest. The nspostgres 3.0 at
 aolserver.com is *not* the latest.

 It really should be called nspostgres and should be hosted at
 SourceForge if possible (my opinion). Also, both should be looked at
 and appropriate stuff (if any) merged into one version.


 Anyone have any thoughts or comments on this?

What is stopping us from just using the postgres driver at openacs.org
as a drop-in replacement for what's in CVS as nspostgres?

In other words, can I just bring nspostgres up to date by replacing it
with postgres 2.0 in CVS?  Is there a reason this hasn't been done?

-- Dossy

--
Dossy Shiobara   mail: [EMAIL PROTECTED]
Panoptic Computer Network web: http://www.panoptic.com/