LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-07-2004, 10:19 AM   #1
Dartelin
LQ Newbie
 
Registered: May 2004
Posts: 19

Rep: Reputation: Disabled
site forbidden on a 2nd partition


I have a problem with my apache server. My hard drive has three patritions: one for Win XP (ntfs), one both for windows and linux (FAT32) and a RiserFS part for Gentoo linux. What i want is to get my site on the FAT32 partition so that both apache in windows and linux has the same htdocs. When i try to put the site to the mounted FAT32 partition in Linux than the browser tells me that it is "forbidden". In windows i have the same error. What can i do to lose this error and make it work ?
 
Old 07-07-2004, 12:29 PM   #2
demian
Member
 
Registered: Apr 2001
Location: Bremen, Germany
Distribution: Debian
Posts: 303

Rep: Reputation: 30
I believe you get this error because a fat filesystem doesn't understand the concept of file permissions. Try and mount the partition with the uid that runs the webserver and make this user own the files (umask=0007) or if there's other stuff on the drive that users other than the webserver user need to access (or even write) to than you will have to make this partition world readable (writeable) - which, of course, is a _very_ bad thing to do on a webserver.
 
Old 07-07-2004, 02:31 PM   #3
Dartelin
LQ Newbie
 
Registered: May 2004
Posts: 19

Original Poster
Rep: Reputation: Disabled
Yes but i wrote that in Windows i have the same error. I dont know maybe i should use an other webserver ? Any suggestions ?
 
  


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
how to install RH 9 on 2nd partition olivierkbb Fedora 1 10-18-2005 11:45 AM
How do i mount a partition on a 2nd HD? Linux_Nooby Linux - Newbie 5 03-22-2005 05:41 PM
Can't get to 2nd partition in Mandrake 10.1 community SuperRunt Linux - Newbie 9 01-17-2005 05:58 PM
partition strattegy for XP on 1 HD and two linux on 2nd HD luizebs Linux - Software 2 12-28-2004 08:33 AM
Forbidden entry to a site unclejames Linux - General 2 03-19-2004 06:28 PM

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

All times are GMT -5. The time now is 11:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration