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
XFileSharing Pro - How to install/enable apache mod_headers in CentOS
-
- Posts: 11
- Joined: Oct 31, 2012 3:41 am
-
- Posts: 11
- Joined: Oct 31, 2012 3:41 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
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
Hellolocochris05 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
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 !