Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 23rd February 2009, 08:32 AM
beatlestones Offline
Registered User
 
Join Date: Feb 2007
Posts: 9
Apache - Problems with alias of mounted FAT partition

Main bits in bold : )

Hi there,

I'm setting up a Fedora 10 home file server. As part of this I've set up an SSL-enabled website on apache so that I can access a selection of my files from work - I know I could just use SSH - but its easier for the rest of the family to be able to use a simple web-interface.

Anyways I've got this in my httpd.conf...

Code:
Alias /data "/media/"

<Directory "/media/">
  Options Indexes FollowSymLinks MultiViews
  AllowOverride None
  Order allow,deny
  Allow from all
</Directory>
...within media there is a directory called "data".

If I navigate to https://[mysite]/data without anything mounted I get a directory view showing a link for the 'data' directory (i.e. pointing to /media/data in real-terms).

The problem occurs when I mount my FAT partition into place (in fstab I'm using)
/dev/sda5 /media/data vfat rw,users 1 2
Although I've also tried
/dev/sda5 /media/data vfat defaults 0 0

As soon as the partition is mounted I can no longer see 'data' in the directory view (its as if it disappears as far as Apache is concerned) and I can't access any folders/files within the mounted partition, even though via SSH everything is fine and readable/writeable.

Any ideas?

Thanks in advance!
Reply With Quote
  #2  
Old 24th February 2009, 08:29 AM
beatlestones Offline
Registered User
 
Join Date: Feb 2007
Posts: 9
One and only bump attempt just incase my OP was ambiguous...

To re-word it...

I've aliased the directory /media/ on my machine...

When I mount my FAT part. into /media/data/ I can't see any of the mounted stuff from a web browser... including the ../data/ directory I'm mounting to...

If I update httpd.conf to Alias /myalias "/media/data/" (i.e. so the alias is directly to the directory where the mount is, I get 403 forbidden errors when going to http://mydomain.com/myalias

Any ideas - surely someone else has an alias to a mounted folder?
Reply With Quote
Reply

Tags
alias, apache, fat, mounted, partition, problems

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No Access to Alias dirs in Apache bk_InAZ Servers & Networking 5 30th October 2007 09:06 AM
Alias problem with Apache under FC6 but not under XP voidstar Servers & Networking 1 29th May 2007 09:36 AM
Mounting data partition Error: Partition already mounted or busy synergy201 Using Fedora 0 27th January 2007 11:52 AM
Apache Alias to Users Home Fials with 403 MickeyMouse Servers & Networking 2 5th July 2006 04:45 AM


Current GMT-time: 06:04 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat