creating an alias on a server
revdev at pdslabs.net
Tue Aug 9 13:47:14 EDT 2011
Thanks Bob. No apology needed! This is good clarification for me. Like Solomon
said: As iron sharpens iron, so one person sharpens another.
On 8/9/11 9:41 AM, Bob Sneidar wrote:
> Phil, pardon me if you know this, but sudo wants the password to the admin account you are presently using in the shell, not the root password itself. Also, make sure SSH is enabled on the server. Sorry if I am telling you things you already know.
> I have to believe there is a shell command for creating a symbolic link. Don't give up too soon.
> On Aug 8, 2011, at 10:34 PM, Phil Davis wrote:
>> Never mind. I have experimented with it enough now so I believe it's not workable even if it is possible (which I have not proven). I'll find another way.
>> On 8/8/11 6:59 PM, Phil Davis wrote:
>>> Hi all,
>>> I am building a server app with LC and would like it to create an alias (symbolic link) on the server, in a folder that is among those known to Apache on the server (don't know if that makes any difference). I tried LC 'create alias' and a shell(ln -s<source> <target>) without success. Then I added 'sudo' (with an echoed password) to the shell script, but the 'ln' output tells me I'm not using the correct password. Of course I'm using the only password I ever gave anything on the server.
>>> I'm not sure what to try next. Does anyone have any ideas?
>>> My tactical goal is to 'put' an existing web page from a CGI, where the page contains relative links to images etc that are actually in folders outside the reach of the web server. If I can automate the creation of a symbolic link in the folder where the CGI resides, I believe I can get there.
>>> My strategic goal is to serve various sets of web pages only to those who are authorized - whose sign-in info has been validated. Maybe there is a better tactic to get me there?
>>> Thanks for any ideas.
>> Phil Davis
>> PDS Labs
>> Professional Software Development
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
Professional Software Development
More information about the Use-livecode