LinuxQuestions.org
Help answer threads with 0 replies.
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-05-2011, 05:47 PM   #1
portia
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 112

Rep: Reputation: 20
Lamp in slackware


I followed this tutorial (http://vcn.bc.ca/~dugan/setting-up-slackware.html) to get apache running (using public_html from my home directory).
Apache works fine, but whatever I do it just ignores my home directory. It takes files from /var/www/htdocs/. Yes, I have restarted rc.httpd and still nothing.
 
Old 05-05-2011, 06:15 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
You need to configure Apache to allow browsing user home directories.

The httpd.conf setting is "UserDir":

http://httpd.apache.org/docs/2.0/howto/public_html.html

Verify your configuration settings (httpd.conf, etc) are OK, verify that at least one user has a web directory (e.g. "~someuser/public_html/"), put a sample "index.html" in the directory, restart Apache ... and see what happens!

'Hope that helps .. PSM

Last edited by paulsm4; 05-05-2011 at 06:21 PM.
 
Old 05-06-2011, 11:52 AM   #3
portia
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 112

Original Poster
Rep: Reputation: 20
Quote:
Originally Posted by paulsm4 View Post
You need to configure Apache to allow browsing user home directories.

The httpd.conf setting is "UserDir":

http://httpd.apache.org/docs/2.0/howto/public_html.html

Verify your configuration settings (httpd.conf, etc) are OK, verify that at least one user has a web directory (e.g. "~someuser/public_html/"), put a sample "index.html" in the directory, restart Apache ... and see what happens!

'Hope that helps .. PSM
Thanks. The link helped. I set everything up in a correct way, but what the tutorial I was following didn't mention was that to access it you specify http://localhost/~username.
I kept trying it with http://localhost

thanks
 
Old 05-06-2011, 12:05 PM   #4
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Glad you got it working:
Quote:
I set everything up in a correct way, but what the tutorial I was following didn't mention was that to access it you specify http://localhost/~username.
Ironic, considering the tutorial itself was posted in the author's UserDir :
http://vcn.bc.ca/~dugan/
 
  


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
LXer: How to install LAMP in Slackware 13.0 LXer Syndicated Linux News 0 09-30-2009 01:11 PM
Getting LAMP working with Slackware 11 duryodhan Slackware 8 02-11-2007 04:18 PM
Slackware LAMP guide Meabert Linux - Software 1 12-12-2005 02:11 AM
help with slackware lamp plz? slinky2004 Linux - General 6 06-07-2005 07:13 PM
LAMP on Slackware;Use pkgtool or compile? Swift&Smart Slackware 2 03-20-2005 10:45 AM

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

All times are GMT -5. The time now is 08:22 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