LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-27-2008, 01:12 PM   #1
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Rep: Reputation: 30
apache2 suse10.3 redirect to home directory as / is full


Hi folks,
I have installed apache it is up and running.
I want to be able to store files & everything else in my home directory.

So this would be my home directory saving web folders in a folder called "web"
My home dir being "/home/nige/web"

Currently my folders and all are at /srv/www/htdocs/

Is it possible to symlink from one to the other.
Regards Nige.
 
Old 05-28-2008, 02:06 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
sudo ln -s /srv/www/htdocs /home/nige/web
sudo chmod 0777 /srv/www/htdocs

this should be possible
 
Old 05-28-2008, 02:31 AM   #3
grizly
Member
 
Registered: Nov 2006
Location: Melbourne Australia
Distribution: Centos, RHEL, Debian, Ubuntu, Mint
Posts: 128

Rep: Reputation: 16
Yeah, except then his addresses would be

http://server/web/file.htm

Surely you could just change the DocumentRoot directive in /etc/httpd/conf/httpd.conf

http://httpd.apache.org/docs/2.0/mod...l#documentroot

to DocumentRoot /home/nige/web

Then your addresses become:

http://server/file.htm

 
  


Reply



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
Apache2 .htaccess redirect problem raven Linux - Networking 0 08-06-2007 02:35 AM
Apache2 Network Share Redirect nuebKitsune Linux - Newbie 2 01-28-2007 05:59 PM
help on suse10 64bit apache2 barrythai Mandriva 1 09-05-2005 02:57 PM
Apache2 internal redirect? WopMaster8 Linux - Software 2 03-28-2005 01:25 AM
/home directory is full :S .xsession-errors carl0ski Linux - Distributions 5 12-20-2004 04:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:04 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
Open Source Consulting | Domain Registration