Check your commonhttpd.conf file, (/etc/httpd/conf/ ) but usually the
default allows you to follow symlinks (in the past) if not look for 

# Each directory to which Apache has access, can be configured with
respect# to which services and features are allowed and/or disabled in
that# directory (and its subdirectories). 
#
# First, we configure the "default" to be a very restrictive set of 
# permissions.  
#
# Also, for security, we disable indexes globally
#
<Directory />
    Options -Indexes FollowSymLinks
    AllowOverride None
</Directory>


and make it look like the above.  Then go to var/www/html and type ln -s
/absolute/path/to/my/directory directory  This will then be the same as
moving them physically there.  It's a hack........ but it works.

James


On Sat, 25 May 2002 15:24:08 -0600
Femme <[EMAIL PROTECTED]> wrote:

> On Fri, 24 May 2002 22:59:13 -0700
> James <[EMAIL PROTECTED]> wrote:
> 
> > Actually pretty easy.  cd to /var/www/html move any index.xxx files
> > to index.xxx.old then put the files you want to share in this
> > directory. voila when people go to http://your.ip.number they get a
> > list of files and can then http them down.(the old right click save
> > as routine) Quick and dirty.  The default action in apache et all is
> > that when the index files aren't there just give a list of what is.
> > 
> > James
> > 
> 
> 
> OK James you piqued my intellectual stupidity switch. I"m going to try
> this idea (however hare-brained I think it is :), and let the list
> know I guess.  Caveat: if i come screaming back here to the list with
> no hair left its all YOUR fault ;p
> 
> Question:  The drive all the info is on is a FAT32 30GB partition of a
> 60GB drive.  You said i should dump all teh files into a directory
> (/var/www/html) yet I know they won't fit in here because my Linux
> partition is only 10GB total. So...is there a way to point apache or
> something to that drives directory & tell it to serve files from where
> they are now?  That is:  My mp3 directory is on /hdb1/mp3.  Will
> apache be able to find/point to<?> that directory & just show users to
> that directory when they login?  Let them d/l their files, logoff.  As
> I cannot put all those mp3's on my linux partition thats the best idea
> I have. 
> 
> Any help? :)
> 
> Thx 
> Femme
> 
> 

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to