LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-12-2006, 11:22 AM   #1
mrgreaper
Member
 
Registered: May 2006
Posts: 167

Rep: Reputation: 15
webhosting question needs noob friendly reply


ok heres the deal i have my webserver set up so /srv/www/htdocs/ is the main folder then i have the folders inside that for example tr tf etc so i can goto 172.16.1.37/tr and it will display the website in tr you with me so far ? good glad someone is
ok i host a counterstrike server for my lan day and we have one guy that connects thru the net however the server trickles these files to him but valve to the recue introduce sv_downloadurl bless there little hearts this means if i made a cs folder in /srv/www/htdocs/ and set my external address plus the /cs/ bit then he would download at my full upload speed (since the rest of us are on lan thats not an issue) however this would require i copy my maps matterials models etc etc to the cs folder and take double the hd space so heres the question
drum roll
1) can i make a fake cs folder in htdocs that is actually a link to my cstrike folder? (/home/mrgreaper/srcds_1/cstrike/) sounds simple in idea but no idea in practice

sorry should mention its suse 10 linux and apache web host

Last edited by mrgreaper; 06-12-2006 at 11:24 AM.
 
Old 06-12-2006, 11:32 AM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
Do you just mean a symlink ?
Code:
cd /srv/www/htdocs/
ln -s /home/mrgreaper/srcds_1/cstrike/ cstrike/
Basically all that is happening is you cd into the webserver folder.
Then you are making a symbolic link to your cstrike folder to be located
within /srv/www/htdocs.

If you type :
Code:
file /srv/www/htdocs/cstrike
The response should be :
/srv/www/htdocs/cstrike: symbolic link to `/home/mrgreaper/srcds_1/cstrike/'

From what I understand this is what your asking for.
 
Old 06-12-2006, 11:46 AM   #3
mrgreaper
Member
 
Registered: May 2006
Posts: 167

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by DrOzz
Do you just mean a symlink ?
Code:
cd /srv/www/htdocs/
ln -s /home/mrgreaper/srcds_1/cstrike/ cstrike/
Basically all that is happening is you cd into the webserver folder.
Then you are making a symbolic link to your cstrike folder to be located
within /srv/www/htdocs.

If you type :
Code:
file /srv/www/htdocs/cstrike
The response should be :
/srv/www/htdocs/cstrike: symbolic link to `/home/mrgreaper/srcds_1/cstrike/'

From what I understand this is what your asking for.

its sort of worked if i go to 172.16.1.37/cstrike/cstrike/readme.txt it says 403 forbidden not 404 so i gues there thair and browsing through the folder directory shows it to be there to
thankyou for such a fast reply
i shall test it in a mo and see if its fully working then post the result



it worked a treat thankyou

Last edited by mrgreaper; 06-12-2006 at 12:02 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Any good noob friendly reads? AlphaSigmaOne Slackware 9 09-18-2005 06:10 PM
post reply & submit reply buttons annehoog LQ Suggestions & Feedback 10 01-05-2004 06:43 PM
Complete noob question from a noob noob_hampster Linux - Software 2 09-04-2003 12:03 AM
Which distro is noob-friendly + can run Wine(X) well? Korff Linux - Distributions 3 08-13-2003 08:39 PM
Apache and webhosting simple NEWBIE QUESTION zetsui Linux - Software 9 08-01-2003 04:48 PM


All times are GMT -5. The time now is 04:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration