LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > [solved] Symlinking directories

Reply
 
Thread Tools Display Modes
  #1  
Old 09-10-2011, 11:09 AM
Banana Lord. Banana Lord. is offline
Member
 
Join Date: Mar 2011
Posts: 43
Default [solved] Symlinking directories

I want to sync the contents of /home/banana/srcds/orangebox/garrysmod/cache/*.dua to /home/bananatree/html/redirect/cache/. I did symlink it, but it kept reporting a 404 file not found error - did I miss something?

Last edited by NiteWave; 09-11-2011 at 11:40 PM..
Reply With Quote
  #2  
Old 09-11-2011, 06:19 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
maybe permission issue.
check
#ls -ald /home/banana/srcds/orangebox/garrysmod/cache
#ls -ald /home/bananatree/html/redirect/cache
Reply With Quote
  #3  
Old 09-11-2011, 06:22 PM
Banana Lord. Banana Lord. is offline
Member
 
Join Date: Mar 2011
Posts: 43
Quote:
Originally Posted by NiteWave View Post
maybe permission issue.
check
#ls -ald /home/banana/srcds/orangebox/garrysmod/cache
#ls -ald /home/bananatree/html/redirect/cache
Reply With Quote
  #4  
Old 09-11-2011, 06:41 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
Quote:
I did symlink it
can you give an example how you did it?
Reply With Quote
  #5  
Old 09-11-2011, 06:41 PM
Banana Lord. Banana Lord. is offline
Member
 
Join Date: Mar 2011
Posts: 43
Quote:
Originally Posted by NiteWave View Post
can you give an example how you did it?
ln -s /home/banana/srcds/orangebox/garrysmod/cache/*.dua /home/bananatree/html/sdb/redirect/cache/
Reply With Quote
  #6  
Old 09-11-2011, 06:53 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
ok. how about the parent directories' permission?
#ls -ald /home/
#ls -ald /home/banana/
#ls -ald /home/banana/srcds/
#ls -ald /home/banana/srcds/orangebox/
#ls -ald /home/banana/srcds/orangebox/garrysmod/
Reply With Quote
  #7  
Old 09-11-2011, 07:10 PM
Banana Lord. Banana Lord. is offline
Member
 
Join Date: Mar 2011
Posts: 43
Quote:
Originally Posted by NiteWave View Post
ok. how about the parent directories' permission?
#ls -ald /home/
#ls -ald /home/banana/
#ls -ald /home/banana/srcds/
#ls -ald /home/banana/srcds/orangebox/
#ls -ald /home/banana/srcds/orangebox/garrysmod/
Reply With Quote
  #8  
Old 09-11-2011, 07:17 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
looks like permissions ok. what url return 404 error for example(you can omit the domain name)?
Reply With Quote
  #9  
Old 09-11-2011, 07:17 PM
Banana Lord. Banana Lord. is offline
Member
 
Join Date: Mar 2011
Posts: 43
Quote:
Originally Posted by NiteWave View Post
looks like permissions ok. what url return 404 error for example(you can omit the domain name)?
what do you mean? Do you want the full URL of where the file should be?
Reply With Quote
  #10  
Old 09-11-2011, 07:24 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
full URL is ok, if you think ok to paste here.
or just replace the domain name as domain.com etc.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:04 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.