LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-09-2003, 12:25 PM   #1
josephswagner
Member
 
Registered: Mar 2002
Distribution: Redhat, OWL, Mandrake, Winblows
Posts: 45

Rep: Reputation: 15
Question Setup linux-apache server to access documents on NT server


I want to set up my Linux-Apache web-server to access files on a NT file server. Basically I want to use my web-server as a portal for users to access/edit/create/delete documents on the NT file server through their browser.

Are there any linux products that would help me accomplish this?
Any help would be a appreciated. Thanks.
 
Old 04-09-2003, 12:42 PM   #2
Edward78
Member
 
Registered: Jul 2002
Distribution: OpenSuSE 11
Posts: 441

Rep: Reputation: 30
Samba might do it.
 
Old 04-09-2003, 12:45 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
I'm not sure whay you dont want to let users access shared files on the NT box since that is how it was designed. From what you say I think you want to use samba to mount shares within the apache DocumentRoot.
 
Old 04-09-2003, 01:13 PM   #4
josephswagner
Member
 
Registered: Mar 2002
Distribution: Redhat, OWL, Mandrake, Winblows
Posts: 45

Original Poster
Rep: Reputation: 15
Okay this is what I want to do.
I have two servers.
One is a Apache web-server running on a linux box.
The other is a NT file server.
Now, when I am on the road I want to be able to still access and manage the files on my NT server but without having to copy all of the files to my web-server thus saving disk space and I would have all my files stored in a central location.

So the web-server would act as a go-between for the on-line users and the file server. Does this make sense?
 
Old 04-09-2003, 01:20 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Yes I can see your reasons now.

Like I said in post 2 "use samba to mount shares within the apache DocumentRoot."

Do you see where I am going?
 
Old 04-09-2003, 01:34 PM   #6
josephswagner
Member
 
Registered: Mar 2002
Distribution: Redhat, OWL, Mandrake, Winblows
Posts: 45

Original Poster
Rep: Reputation: 15
Yes I understand. That would work but I would need something a little more fancy. I would not be the only user accessing files and therefore I want file permissions to apply. So I need a way to authenticate users and to have the NT file permissions apply to the individual users.
 
Old 04-09-2003, 02:03 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
What sort of interface are you using on the web server side for creating documents?
 
Old 04-09-2003, 02:25 PM   #8
Wolven
Member
 
Registered: Jan 2003
Posts: 195

Rep: Reputation: 30
There are a lot of file manager programs for PHP that you might use to control the files, once they are mounted via samba.

I'll get you a few links if you like.
 
Old 04-09-2003, 02:35 PM   #9
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
The reason I was interested was that you may be able to use .htaccess files to protect the directories. This is how I have done it in the past. It just depends on the front end you are using. It doesn't matter how you protect the files at a system level - you will need to give the user that apache runs as full access anyway.
 
Old 04-09-2003, 03:06 PM   #10
josephswagner
Member
 
Registered: Mar 2002
Distribution: Redhat, OWL, Mandrake, Winblows
Posts: 45

Original Poster
Rep: Reputation: 15
Links to PHP file manager programs would be much appreciated.

david_ross what type of front end would you recommend?
I want things to be as secure as possible.
Thanks.
 
Old 04-09-2003, 03:17 PM   #11
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
I tend to write my own to suit my needs

I create a password protected script using .htaccess. Then use perl to interprate the username that the user login with. Then use that as the dirname - eg /home/httpd/users/USERNAME/ Then using httpd.conf I can map the /home/httpd/users/ directory to http://myhost/users/

The security depends on how good your scripts are!
 
Old 04-11-2003, 08:35 AM   #12
Wolven
Member
 
Registered: Jan 2003
Posts: 195

Rep: Reputation: 30
Zend has a list of commercial and GPLed file managers here.

http://www.zend.com/apps.php?CID=263


I've used

http://philex.sourceforge.net/


and


http://phpfm.zalon.dk/index.php

Before. Most of the ones I've used have really amazed me with their flexibility.
 
  


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
what linux distribution should I use to setup an Apache web server ( post #1) stteng Fedora 23 04-04-2005 12:27 AM
what linux distribution should I use to setup an Apache web server stteng Linux - Distributions 10 04-03-2005 07:04 PM
Setup the apache server ust Linux - Software 5 11-13-2003 05:32 AM
unable to view documents from my apache server wendallsan Linux - Software 2 09-27-2003 03:13 PM
Setup a linux server, DNS, WEB, FTP, and Mail Server Help watermelon_lee Linux - Networking 1 08-26-2003 03:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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