absolute or relative path

swanny

New member
Joined
Sep 3, 2011
Messages
6
Hello forum,

I'm new at making websites and have a dir.path problem? At least that's what I suspect because locally it does work.

I'm using iWeb icw Slideshowpro. Normally the site worked fine with MobileMe, but now I'm moving the site to Antagonist. Locally I can use relative or absolute paths and everyting works great. After uploading to Antagonist I have problems with a no show of the .swf file.

Can anybody tell me what the absolute or relative paths are? For example: I need to know the path for:
/domains/domain.com/subfolder/filename

I've tried:
- /domains/domain.com/subfolder/filename
- domains/domainname/subfolder/filename
- http://sitename/domains/domain.com/subfolder/filename
- domain.com/subfolder/filename
- /subfolder/filename

regards Lidy
 
Does subfolder relate to a subdomain? If so it may belong under public_html.

Jeff
 
Does subfolder relate to a subdomain? If so it may belong under public_html.

Jeff

Hello Einstein,
I only have 1 domain. The website is placed in the public_html. But the SlideShow Pro files cannot be placed in the same public_html because iWeb will overwrite files which aren't created by iWeb. I'm using a HTML snippet in iWeb to point to the Slideshow Pro files. Normally the SSP files are placed in the rootdir. This technique always worked fine in MobileMe. The only changes are the directory paths.

Lidy
 
Can anybody tell me what the absolute or relative paths are? For example: I need to know the path for:
/domains/domain.com/subfolder/filename

Try to add /home/YOURUSERNAME in front of it, like this:

Code:
/home/yourusername/domains/domain.com/subfolder/filename
 
Try to add /home/YOURUSERNAME in front of it, like this:

Code:
/home/yourusername/domains/domain.com/subfolder/filename

thanx for the idea.
the username is the accountname.....it doesn't work and... would that be save to put an accountname in a readable file?
 
Then try without /home and only:
Code:
/yourusername/domains/domain.com/subfolder/filename

Also try with and without use of slash at the beginning.

If it does not work, contact the developers of the script you are using and ask them.
 
Then try without /home and only:
Code:
/yourusername/domains/domain.com/subfolder/filename

Also try with and without use of slash at the beginning.

If it does not work, contact the developers of the script you are using and ask them.

Tried all the above and more. I feel like screaming! I really don't understand it. With MobileMe I had the same directory structure and the only thing I had to do was changing the paths of 3 files to http://web.me.com/subfolder/filename
The script cannot be wrong because it works fine locally and used to work in MobileMe online. If I make a mistake on purpose in the path locally, I get the same no show. I will send an email to SlideShow Pro as you suggested. But I think I just need to know the wright path or http address.
 
DirectAdmin by default builds subdomains in a directory with the same name as the subdomain, under public_html.

If you can't use this, then the easiest way to fix the problem is to create a brand new domain in the same user account, for the subdomain; in other words, create the subdomain as if it were a new domain.

Jeff
 
DirectAdmin by default builds subdomains in a directory with the same name as the subdomain, under public_html.

If you can't use this, then the easiest way to fix the problem is to create a brand new domain in the same user account, for the subdomain; in other words, create the subdomain as if it were a new domain.

Jeff

Sorry Jeff, this is to complicated for me. When I say subfolder I don't mean subdomain. All I need is to know the correct path or http address for:
/domains/domain.com/subfolder(on the same level as public_html)/filename

Thanx for your thoughts.
 
Does subfolder relate to a subdomain? If so it may belong under public_html.

Jeff

I've placed everything under public_html for now and everything works, but now I have to always check if iWeb overwrote any files. I hope there will be a possibillity to place my slideshow folder on the same level as the public_html folder in the future.

thankx for your tips Jeff!
 
You can, manually, by reconfiguring the apache configuration, and possibly changing ownership and permissions of directories and files.

It's very insecure, and therefore not available by default.

You're on your own in implementing it; I've never bothered because of it's insecurity, and the lack of need.

You can always chattr files immutable if you don't want them overwritten; see:
Code:
$ man chattr
Jeff
 
Back
Top