Re: Witango-Talk: Fun with Paths

2004-09-01 Thread Wayne Irvine
Roland Dumas at [EMAIL PROTECTED] wrote:

 @webroot is useful for reading and writing files, but if you want to
 do includes, just use a root relative URL.
 @include file=/includes/myfile.txt

@WEBROOT gives me the /application... So I assume you don't specify a
volume name like in OS9.

I'll give it a go.

Thanks

Wayne

  Byte Services Pty Ltd
   http://www.byteserve.com.au/
  [EMAIL PROTECTED]
   Ph 02 9960 6099   Mob 0409 960 609   Fax 02 9960 6088


TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


Re: Witango-Talk: Fun with Paths

2004-09-01 Thread Dale Graham
Actually @webroot> gives you the absolute path to the root of your webserver, like so:

/Volumes/Webserving/WebServer/Documents

This is my OS X location --> I use Apache, and have changed where Apache can find the Web server's files.

On Sep 1, 2004, at 5:28 AM, Wayne Irvine wrote:

Roland Dumas at [EMAIL PROTECTED] wrote:

@webroot> is useful for reading and writing files, but if you want to
do includes, just use a root relative URL.
@include file=/includes/myfile.txt>

@WEBROOT> gives me the /application... So I assume you don't specify a
volume name like in OS9.

I'll give it a go.

Thanks

Wayne

Byte Services Pty Ltd
http://www.byteserve.com.au/
[EMAIL PROTECTED]
Ph 02 9960 6099   Mob 0409 960 609   Fax 02 9960 6088


TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf



Re: Witango-Talk: Fun with Paths

2004-09-01 Thread Roland Dumas
On Sep 1, 2004, at 3:21 AM, Dale Graham wrote:
Actually @webroot gives you the absolute path to the root of your 
webserver, like so:

it gives you the path to the root of your virtual host

TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


Re: Witango-Talk: Fun with Paths

2004-09-01 Thread Wayne Irvine
Roland Dumas at [EMAIL PROTECTED] wrote:

 oh, file action. Your first post was about includes

Second line from my first post:

'My latest issue is with Paths in File actions.'

 Simplest is to use @webroot which deposits you at the root of your
 virtual host
 Next simplest is to create a global variable to land you in just the
 place you need to be.

I'll do some experimenting. Originally I was including the Volume name and
the file action was refusing it. I'll try '/Applications/...' today.

Thanks for your help.

Wayne

  Byte Services Pty Ltd
   http://www.byteserve.com.au/
  [EMAIL PROTECTED]
   Ph 02 9960 6099   Mob 0409 960 609   Fax 02 9960 6088


TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


Re: Witango-Talk: Fun with Paths

2004-09-01 Thread Steve Smith
I believe that you need to look at your permissions and it is the Witango user(? the proper term escapes me) that must have the correct permissions to write to the directory in question.

Hope this helps,

Steve Smith

Oakbridge Information Solutions
Office: (519) 624-4388
GTA:(416) 606-3885
Fax:(519) 624-3353
Cell:   (416) 606-3885
Email:  [EMAIL PROTECTED]
Web:http://www.oakbridge.ca

Visit us at the Chamber of Commerce Regional Business Trade Show
4:00 p.m. - 8:00 p.m. Tuesday September 14th, 2004 at Bingemans 
(http://www.bingemans.com/info/location.html)
We'll be in Booth 115 in the Main Ballroom

On Wednesday, September 1, 2004, at 06:22 PM, Wayne Irvine wrote:

Roland Dumas at [EMAIL PROTECTED] wrote:

oh, file action. Your first post was about includes

Second line from my first post:

'My latest issue is with Paths in File actions.'

Simplest is to use @webroot> which deposits you at the root of your
virtual host
Next simplest is to create a global variable to land you in just the
place you need to be.

I'll do some experimenting. Originally I was including the Volume name and
the file action was refusing it. I'll try '/Applications/...' today.

Thanks for your help.

Wayne

Byte Services Pty Ltd
http://www.byteserve.com.au/
[EMAIL PROTECTED]
Ph 02 9960 6099   Mob 0409 960 609   Fax 02 9960 6088


TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf