LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apache serving off of fat32 drive (https://www.linuxquestions.org/questions/linux-software-2/apache-serving-off-of-fat32-drive-37146/)

evilRhino 12-02-2002 11:46 PM

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.:mad:

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? :confused:

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!

rootboy 12-03-2002 11:17 PM

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

evilRhino 12-06-2002 11:46 AM

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.


All times are GMT -5. The time now is 07:40 AM.