Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
send same file always
Name: David Date: December 3, 2003 at 15:00:57 Pacific OS: Linux CPU/Ram: 256/900mhz
Comment:
I have a webserver running on my linux box. I have a text file in the / directory of the server called readme.txt. I want it setup so that no matter what directory the user is in, if they reques the file readme.txt it will send the readme.txt from the server root.
So say they request mywebsite.com/somefolder/anotherfolder/readme.txt it will send the file mywebsite.com/readme.txt
Name: 3Dave Date: December 4, 2003 at 06:02:23 Pacific
Reply:
Dependingg on how many folders you have, you could just create a symbolic link in each one pointing to the file in root.
0
Response Number 2
Name: drake Date: December 4, 2003 at 11:32:41 Pacific
Reply:
simple add the entry to the users .profile
(note the perios before profile) this is a hidden file in users folders that is checked at logon for commands simply load a script into memory when they logon tell it to check for any change of directory and when it occurs to check the new dir for file existance if not there load from root..... you do this by telling it to use the working dir etc...
Summary: when sending a file to my linux box from xp i get the error connection refused. when i look at the output from ircp on the linux comp it says segmentation fault. i have the same problem when using ir...
Summary: Good Morning,.. I have always seen read me's with print outs of their commands to guide you through,. now my question is how would you do this. ls -a > to file ls -al > to end of the same file Help ...
Summary: Hi, Was wondering how a person could send a large file to another person, like say 2 or 3 hundred megabytes. Would you use ftp or what. I want to send a large mpeg file and a large iso file. Could som...