as a follow up to my own post, i've discovered that the 'Alias' directive will do what i want, i put:
Alias /files /path/to/files at the end of my commonhttpd.conf, at first i commented out the <Directory> section i had written but i was refused access, when i uncommented that section out i was allowed in, from this i can deduce that the <Directory /path/to/files> bit is ok, so where is the problem? bascule On Monday 23 September 2002 12:02 am, you wrote: > On Sunday 22 September 2002 8:41 pm, you wrote: > i read this just as i was wondering how to serve some files from a > directory outside /var/www/html/ > > i have the following entries in my commonhttpd.conf: > <Directory /var/www/html> > Options -Indexes FollowSymLinks MultiViews > AllowOverride All > Order allow,deny > Allow from all > </Directory> > > <Directory /path/to/files> > Options Indexes FollowSymLinks > Order allow,deny > Allow from all > </Directory> > > also, there is a symlink in /var/www/html that points to /path/to/files, > i'm still missing something, as i get 'you don't have permission' errors, > am i right in thinkng that the 'followsymlinks' in the second <directory> > section does not refer to the the symlink to /path/to/files but to symlinks > 'within' there? i.e. it's superfluous here? > > does the '-' before 'Indexes' in the first section apply to all the options > or just 'Indexes'? > > the permissions of /path/to/files are 0755 so whatever user httpd runs as > should be able to see them yes? > > do i have to restart httpd in a special way, i'm just 'killall httpd' and > then 'httpd' ? > > bascule > -- "Yes, it's the right planet, all right, " he said again. "Right planet, wrong universe. "
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
