LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 01-12-2005, 11:33 AM   #1
chidomen
LQ Newbie
 
Registered: Jan 2005
Location: Juarez, Mex
Distribution: Red Hat
Posts: 18

Rep: Reputation: 0
Cool help in /var/www/html/!!


Hi
I know that the web files need to be in /var/www/html/ but, I want to upload the file to /home/htdocs, how can I make a link, so that when I upload it to /home/htdocs, can appears on the internet, it guees I could make a link to the folder, but if someone has a better wey it would be great!
 
Old 01-12-2005, 12:26 PM   #2
cadkins
Member
 
Registered: Mar 2004
Location: <----- there
Distribution: Mandrake 9.0 - 9.2, Slackware 9.1 - 10
Posts: 98

Rep: Reputation: 15
have a look at your http.conf file. Should be in /et/apache
There is a line there that says "Document Root : /var/www/html"
It says that you can also use symbolic links, so it seems that you can edit that line and should be good to go.
 
Old 01-12-2005, 12:38 PM   #3
chidomen
LQ Newbie
 
Registered: Jan 2005
Location: Juarez, Mex
Distribution: Red Hat
Posts: 18

Original Poster
Rep: Reputation: 0
ok, how can I make a symbolic link?
 
Old 01-12-2005, 12:44 PM   #4
cadkins
Member
 
Registered: Mar 2004
Location: <----- there
Distribution: Mandrake 9.0 - 9.2, Slackware 9.1 - 10
Posts: 98

Rep: Reputation: 15
google it
 
Old 01-13-2005, 11:02 AM   #5
hywaydave
Member
 
Registered: Dec 2004
Location: Omaha, NE
Distribution: RH9
Posts: 31

Rep: Reputation: 15
ln -s <existing file> <symbolic link to be created>
 
  


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
user/group permissions for /var/www/html/ illtbagu Linux - Software 6 11-12-2003 05:29 AM
Can't save files to /var/www/html/ Panopticon Linux - Newbie 14 09-12-2003 02:03 AM
should var/www/html be accessible to root only? linuxfond Linux - Newbie 1 09-06-2003 02:00 PM
ownership of /var/www/html haobaba1 Linux - Security 1 08-04-2003 02:58 PM
chmod of /var/www/html alTereD Linux - Security 1 12-16-2002 02:43 PM


All times are GMT -5. The time now is 01:00 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration