XFileSharing Pro - How to install/enable apache mod_headers in CentOS

Message
Author
locochris05
Posts: 11
Joined: Oct 31, 2012 3:41 am

How to install/enable apache mod_headers in CentOS

#1 Postby locochris05 » Apr 28, 2013 9:31 pm

Anyone know the command line in SSH to enable mod_headers in CentOS?

After successfully installing a file server, when a user is trying to download an MP3, the script does not force the file to be downloaded. It's fine in other file servers except the new one and Im thinking i need to enable mod_headers.

Thanks in advance

locochris05
Posts: 11
Joined: Oct 31, 2012 3:41 am

#2 Postby locochris05 » Apr 29, 2013 12:01 am

Solved

I did a re-install of CentOS 64-bit

then execute "yum install httpd"

then "yum install mod_perl"

then all the modules required in the Install.txt file that comes with the script

then in the httpd.conf i changed this:

# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None

To AllowOverride All

and now all Mp3 downloads are forced to "Saved as" like it should :)

Steve9e8
Posts: 81
Joined: Jun 19, 2014 11:27 am

#3 Postby Steve9e8 » Mar 19, 2015 8:34 am

locochris05 wrote: then in the httpd.conf i changed this:

# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None

To AllowOverride All
Hello

I wonder what are the commands you write to apply " AllowOverride All " ?
and does ( AllowOverride All ) means enabling httpd ?

I need to enable httpd on my server and I tried with many supposed solution but all failed !