Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 12-03-2002, 12:46 AM   #1
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

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-04-2002, 12:17 AM   #2
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...

Old 12-06-2002, 12:46 PM   #3
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.


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

All times are GMT -5. The time now is 06:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration