Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th March 2009, 13:07
maestro maestro is offline
Junior Member
 
Join Date: Jun 2008
Location: Slovenija, Ljubljana
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Apache Directives: file download problem

Hi All!

I have problem with downloading specific file from web page.
How is configured :

1. Files are actualy reside on Windows XP and are shared (everyone can read)
2. On ISPConfig server this share is mounted with this string in fstab:
"//192.168.82.54/application /mnt/application cifs user=username,password=password,uid=48,gid=48,file _mode=0444 0 0"
3. In ISPManager for web page under Apache Directives I put this:
"Alias /application/ "/mnt/application/"
AddType application/octet-stream .nfg
<Directory "/mnt/application/">
Options -Indexes
AllowOverride Limit AuthConfig
Order deny,allow
</Directory>"

.htaccess and .htpasswd files are in that directory
When I try to download specific file "application.nfg" from that directory I get file but with 0 byte in size.
I have the same configuration on second linux server without ISPConfig installed and it works OK.
I also try to change uid and gid but with no luck.

Is there something that I missed, please help.
Reply With Quote
Sponsored Links
  #2  
Old 16th March 2009, 17:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,799
Thanks: 840
Thanked 5,613 Times in 4,424 Posts
 
Default

Please take a look at the error log of the site and the syslog of your server. I dont think that it has to do with ISPConfig as ISPConfig just writes a standard vhost entry and does not interact with the file download, mounting of drives etc.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
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
rewrite url not work apache2+mod_rewrite mohamedtah Installation/Configuration 1 31st January 2009 14:00
spamassasin/clamAV not working Daisy Installation/Configuration 32 15th February 2007 01:09
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 18:17
jamed up my table borders?? Boon-Dog-Danny Installation/Configuration 5 23rd September 2006 17:12
Problem with the installation of Dokeos (LMS) in ISPConfig jofranco General 4 28th April 2006 01:45


All times are GMT +2. The time now is 13:11.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.