LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-13-2008, 05:22 AM   #1
plk
Member
 
Registered: May 2007
Location: Krakow, Poland
Distribution: Dell Inspiron 6400 - Intel Core 2 Duo - Ubuntu 8.04
Posts: 57

Rep: Reputation: 15
Apache issue


Hi there,
I know my web page is in /var/www but ...

Is there any way to have it in home/user/public_html such as connecting to http://localhost/~user/index.htm would show the page?

Cheers

plk
 
Old 04-13-2008, 05:50 AM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
Sure.

Run the following command:
[CODE]a2enmod userdir[CODE]

By default the "live directory" will be $HOME/public_html. Any document placed in here will be accessible at http://localhost/~username/

--Ian
 
Old 04-14-2008, 09:30 AM   #3
plk
Member
 
Registered: May 2007
Location: Krakow, Poland
Distribution: Dell Inspiron 6400 - Intel Core 2 Duo - Ubuntu 8.04
Posts: 57

Original Poster
Rep: Reputation: 15
That did the trick :-)
Thank you very much !

plk
 
  


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
apache issue kidswipe Linux - Server 8 07-09-2007 08:16 AM
Apache 2.2.3 issue. Galaxy_Stranger Linux - Server 4 09-12-2006 03:57 AM
Apache Issue Jukas Linux - Software 3 07-14-2005 01:33 PM
Is this an apache issue? opsraja Linux - Networking 1 03-02-2005 11:03 PM
apache issue... Robin01 Linux - Newbie 3 09-21-2003 06:12 AM


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

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