LinuxQuestions.org
Visit Jeremy's Blog.
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 12-02-2002, 11:46 PM   #1
evilRhino
Member
 
Registered: Oct 2002
Distribution: Red Hat 7.3, 8.0
Posts: 33

Rep: Reputation: 15
Question Apache serving off of fat32 drive


I run a web server off my computer so friends of mine can easily get files from me (tv captures mostly). I store these files on a second hard drive that is fat32 format. This drive is mounted as '/mnt/media'. So I added the following to my httpd.conf file:

Alias /media/ "/mnt/media"

<Directory "/mnt/media">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

This is the same as I did for my win32 apache, except the obvious swap of "d:/" to "/mnt/media"

The problem is that once logging to http://{my ip}/media/ you can view the directory contents, but clicking on a file or directory results in a 'file not found' error.

I'm fairly certain this is because of permissions, but I know permissions on fat32 do no exist. Could this be solved by changing the mount command?

my /etc/fstab line for this drive is:
/dev/hdc1 /mnt/media vfat defaults,umask=000 0 0

I would be grateful to anyone who could help me out!
 
Old 12-03-2002, 11:17 PM   #2
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Re: Apache serving off of fat32 drive

Just a wild shot in the dark (and since I don't use apache, my only shot in the dark) but what does your fstab entry for "/mnt/media" look like?

Accessible to users I hope?

Other than that I'm clueless...


John
 
Old 12-06-2002, 11:46 AM   #3
evilRhino
Member
 
Registered: Oct 2002
Distribution: Red Hat 7.3, 8.0
Posts: 33

Original Poster
Rep: Reputation: 15
Re: Apache serving off of fat32 drive

my /etc/fstab line for this drive is:

/dev/hdc1 /mnt/media vfat defaults,umask=000 0 0

I understand that by setting a umask all the users would be able to get access, but I don't know if the option to lets people access the drive from the web... Although they do seem to be able to see the contents of the drive, just not access them.
 
  


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
Apache not serving pages bcf2 Linux - Software 1 11-22-2005 03:46 AM
Serving video streams with Apache jayhel Slackware 1 03-19-2005 07:33 PM
Troubles with Web Serving (Apache 2.0.50) peruvianllama Linux - Networking 2 11-09-2004 12:56 AM
apache not serving to wan illtbagu Linux - Software 0 12-20-2003 04:14 PM
Apache serving from unexpected DocumentRoot location Javadude Linux - Newbie 2 08-24-2003 07:51 AM

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

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