LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-19-2001, 01:08 PM   #1
zpyoung
LQ Newbie
 
Registered: May 2001
Posts: 7

Rep: Reputation: 0

I have setup a account and trying to run a homepage from that user account. I have setup the account in /home/zach/ and made a directory call public_html in zach. I have used the chmod 755 on the directory and 644 on the index.html file in the public_html directory. But I still can not see the page I have setup. I use http://192.168.1.1/~zach but get You are not authorized to view this page. Do i need to change the configuration file. I have upgrade from 6.2 to 7.0 and not changed anything
 
Old 05-19-2001, 01:53 PM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Question More details please!

What http server your running? Apache? Can you get to other areas of the server? Say just / ? What permissions do you have /home/zach? Trying setting it to 711. If you are using Apache then check your httpd.conf for the following lines:

<IfModule mod_userdir.c>
UserDir public_html
</IfModule>

this defines public_html as the directory to look in when you access a ~username URL. You might also wanna try accessing http://localhost/... but I don't believe this will make a difference.

Cheers!

Jamie...
 
Old 05-19-2001, 04:15 PM   #3
zpyoung
LQ Newbie
 
Registered: May 2001
Posts: 7

Original Poster
Rep: Reputation: 0
I have full access. I have a linux box that I'm setting up for my web page. The book I have says that I have Apache Server 1.3.12. And in my httpd.conf file I have

# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is received.
#
UserDir public_html
 
Old 05-19-2001, 04:16 PM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
I take it the file permissions were OK? I take it by full access you mean you can get to other bits of the server?
 
Old 05-19-2001, 04:24 PM   #5
zpyoung
LQ Newbie
 
Registered: May 2001
Posts: 7

Original Poster
Rep: Reputation: 0
reply

I have access to root and to other part of apache files. Do you think I need to change something config file?
 
  


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
the adverts on LQ homepage ylawayjdp LQ Suggestions & Feedback 1 03-24-2005 03:29 PM
nullsoft homepage feetyouwell Programming 1 01-05-2005 01:33 AM
LQ icon for my homepage resnak Linux - General 2 02-21-2004 09:54 PM
why is my homepage changing? ChasidishHarry General 5 12-14-2003 04:02 PM
Specs for homepage downinthemine Linux - Software 1 12-14-2003 10:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:32 PM.

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