LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-11-2006, 05:18 PM   #1
Durham
Member
 
Registered: Feb 2002
Distribution: Debian, Ubuntu, Clonezilla, Knoppix, Kubuntu
Posts: 46

Rep: Reputation: 16
How can I point a users public_html to a folder on a webserver outside the firewall?


How can I point a users public_html to a folder on a webserver outside the firewall or DMZ? What is the best way to solve this?
 
Old 05-12-2006, 02:52 AM   #2
BSchindler
Member
 
Registered: May 2006
Location: Los Angeles, CA USA
Distribution: RHAS3, RHAS4, RHEL4, RH6, RH7.2, FC2-7, Gentoo, DSL
Posts: 49

Rep: Reputation: 15
What exactly are you trying to do? Is the question really "How do I permit users' html pages to be accessed by internet users?"?

Are you using Apache? If so, look in httpd.conf for the "UserDir" directive and enable it.
 
Old 05-12-2006, 03:06 AM   #3
Durham
Member
 
Registered: Feb 2002
Distribution: Debian, Ubuntu, Clonezilla, Knoppix, Kubuntu
Posts: 46

Original Poster
Rep: Reputation: 16
OK, I'll try to explain what I mean...

I have a debian server behind the firewall, where the users have their home-folders.
On the firewalls DMZ I want to set up a LAMP webserver.

I want to give the users access to the webserver so that they can make their own homepages.
And I want public_html to show up in the users home-folder.
 
Old 05-12-2006, 10:44 PM   #4
BSchindler
Member
 
Registered: May 2006
Location: Los Angeles, CA USA
Distribution: RHAS3, RHAS4, RHEL4, RH6, RH7.2, FC2-7, Gentoo, DSL
Posts: 49

Rep: Reputation: 15
You are still not really clear. Does your network look like this?

<-----internet_connection----[Firewall]<---dmz--+->[Debian/LAMP Server]
|
[USERS]

Someone once said that a picture is worth 1000 words, I think they are right.

Anyway, would you please diagram your network?
 
Old 05-12-2006, 10:45 PM   #5
BSchindler
Member
 
Registered: May 2006
Location: Los Angeles, CA USA
Distribution: RHAS3, RHAS4, RHEL4, RH6, RH7.2, FC2-7, Gentoo, DSL
Posts: 49

Rep: Reputation: 15
Darnit, Picture is bad as posted.
[USERS] is attached to network at the "+" following dmz--+-
 
Old 05-13-2006, 04:36 AM   #6
Durham
Member
 
Registered: Feb 2002
Distribution: Debian, Ubuntu, Clonezilla, Knoppix, Kubuntu
Posts: 46

Original Poster
Rep: Reputation: 16
<-----internet_connection----[Firewall]<---dmz--+->[Debian/LAMP Server]
-----------------------------------------|
-----------------------------------------|
--------------------------------[LAN with USERS]


Servers on LAN is running Debian w/LDAP user database
As firewall I'm using IPCop, but will change to m0n0wall soon.
 
  


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
Different webserver folders for different users flibby Linux - Networking 2 01-18-2006 04:43 AM
Ads for users public_html on Apache 2 Oxagast Linux - Software 5 10-09-2005 07:27 PM
Where is the data folder for webserver? helpme0904 Linux - General 1 11-03-2004 09:49 AM
/Public_html Folder....what is it? ZingSter SUSE / openSUSE 3 10-21-2004 06:02 PM
Making it so users can ftp into there Public_html folder embalmedlenin Linux - General 4 12-13-2003 07:05 PM

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

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