Click to See Complete Forum and Search --> : Symbolic Links


html20009876
10-23-2005, 03:02 PM
Symbolic Links,
I have a host from my friend, permission of the www directory in his host is
lrwxrwxrwx,
I search from google and find that it is "Symbolic Links"

Question:
is the "www" a real directory or something else?

I can upload files to the "www"
I think a real directory must staart with d, such as drwx------.

thanks

Ultimater
11-01-2005, 12:59 PM
"www" is a primary domain.
e.g. "javascript" of http://javascript.internet.com is a sub-domain of the server "internet.com" and is managed via the same server as http://www.internet.com but from a different directory.
e.g. "www" of http://www.internet.com can be thought of as a sub-domain of the server "internet.com" in addition to being the default domain that a person goes to when they type in the addressbar "http://internet.com"

The name of the directory used for the "www" domain varies from server to server. On one of my servers the name of the directory is "mainwebsite_html" (however the public still access it via the "www" domain). And on that server, my "cgi-bin" folder actually has the name "mainwebsite_cgi". Some servers allow you to put your CGI and PL files in any directory you'd like similar to HTML files. The "cgi-bin" directery retains its name in sub-domains and it isn't called anything like "subdomain_cgi", at least on my server.

Jeff Mott
11-02-2005, 09:03 PM
In regards to the l, it means (as far as I can tell) that the file can be locked during access. The l you found through google refers to the -l options.

http://bama.ua.edu/cgi-bin/man-cgi?ls+1

Edit
Re-reading the manpage makes me believe that you were initially correct; the "l" where a "d" would be does in fact indicate a symbolic link.