|
Home > Archive > Apache Server configuration support > November 2006 > File linking problem -RHEL4AS Apache 2.0
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
File linking problem -RHEL4AS Apache 2.0
|
|
| Ted Summers 2006-11-23, 7:36 am |
| Preface this with I have never used Apache before.
The problem: I don't have a large amount of room in my /var filesystem.
I need space for files to be linked off the webpage. DocRoot is /var/www
I thought I would be able to mount an additional filesystem to
/var/www/html/files. So I created an 8GB vxfs filesystem on my JBOD, and
mounted it to the previously mentioned directory
Any files attempted to be downloaded from there appear to download but
show as 0 bytes on the receiving end.
If I unmount the filesystem and put a single file in that directory, it
downloads fine. What am I doing wrong?
I have also tried:
modifying httpd.conf with an additional
<Directory "/var/www/html/files/">
section with Options All and Options FollowSymLinks, as well as adding a
files subsection with filetypes too. No difference.
Tried Symbolic linking to the filesystem mounted elsewhere, and I also
tried the filesystem elsewhere as the full DocRoot with all the files
(whole www tree duplicated on it). If I change the DocRoot I get no page
at all....
I have RTFM of Apache 2.0 (localhost/manual), and searched the web -
tried suggestions from 2 different sites. But since I have never dealt
with this before, my 15 hours of time so far have brought me no success.
And since none of my efforts have paid off, I am assuming I am not
comprehending some aspect of how this whole animal works. I think part
of my problem is not knowing Apache terminology well enough to know if I
am even looking at the right things to change.
Any assistance would be appreciated....
Thanks,
Ted Summers
djtbs1@qwest.net
| |
| Renzo Zagni 2006-11-27, 1:32 am |
| Hi Ted
Could you copy+paste the config file or make it available ? Also , what
are your mount point options ?
Thanks
Renzo
Ted Summers wrote:
> Preface this with I have never used Apache before.
>
> The problem: I don't have a large amount of room in my /var filesystem.
> I need space for files to be linked off the webpage. DocRoot is /var/www
>
> I thought I would be able to mount an additional filesystem to
> /var/www/html/files. So I created an 8GB vxfs filesystem on my JBOD, and
> mounted it to the previously mentioned directory
>
> Any files attempted to be downloaded from there appear to download but
> show as 0 bytes on the receiving end.
>
> If I unmount the filesystem and put a single file in that directory, it
> downloads fine. What am I doing wrong?
>
> I have also tried:
> modifying httpd.conf with an additional
> <Directory "/var/www/html/files/">
> section with Options All and Options FollowSymLinks, as well as adding a
> files subsection with filetypes too. No difference.
>
> Tried Symbolic linking to the filesystem mounted elsewhere, and I also
> tried the filesystem elsewhere as the full DocRoot with all the files
> (whole www tree duplicated on it). If I change the DocRoot I get no page
> at all....
>
> I have RTFM of Apache 2.0 (localhost/manual), and searched the web -
> tried suggestions from 2 different sites. But since I have never dealt
> with this before, my 15 hours of time so far have brought me no success.
> And since none of my efforts have paid off, I am assuming I am not
> comprehending some aspect of how this whole animal works. I think part
> of my problem is not knowing Apache terminology well enough to know if I
> am even looking at the right things to change.
>
> Any assistance would be appreciated....
>
> Thanks,
> Ted Summers
> djtbs1@qwest.net
|
|
|
|
|