Forum Moderators: phranque

Message Too Old, No Replies

Apache Help!

         

gibiman

7:48 am on Jul 17, 2006 (gmt 0)

10+ Year Member



I have a lot of trouble configuring my server to browse a remote mount which resides in /mnt/xfer .
i added to httpd.conf the following :

alias xfer/ mnt/xfer
<directory /mnt/xfer>
Options Indexes FancyIndexing
AuthLocal "bla"
AuthType Basic
AuthFile .....
</directory>
Authentication works fine .

BUT
My trouble is :
i can browse the directorys just fine , but when i click a file it starts a save to disk dialog but the file saved on the local computer is 0 bytes .

I have been spending several days now googling this problem . I couldn't even find the official forum for apache .

henry0

7:17 pm on Jul 17, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld!

You should post HERE [webmasterworld.com]

physics

2:08 am on Jul 18, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Did you try a symbolic directory link instead?
i.e.
cd /usr/local/apache/htdocs
ln -s /mnt/xfer xfer

Also try making the permissions on /mnt/xfer wide open at least as a test:
chmod 777 /mnt/xfer

You should of course re-secure/re-configure them after testing this.