You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Carl Hilton <ca...@bellsouth.net> on 2008/01/16 19:41:08 UTC

[users@httpd] mod_header

I am trying to use hte HEADER command in an .htaccess file, mainly so I can force downloads of specific file types.

I have compiled the mod_header into 2.2.26 as verified by apachectl -l command. However I keep getting the error :

"Invalid command 'Header', perhaps mispelled or defined by a module not included in the server..."

I am using .htaccess files because my web master does NOT have access to the httpd.conf file.

Thanks

Carl

RE: [users@httpd] mod_header

Posted by Axel-Stephane SMORGRAV <Ax...@europe.adp.com>.
That means that mod_header is not loaded, which implies that you will have to contact the system administrator.

What you mean about forcing the download of specific file types is not very clear to me however, and I do not see how you are going to solve that using the header directive. Maybe you better be a little more explicit about what you want to achieve so the community can get a chance to propose alternative solutions.

-ascs

________________________________

De : Carl Hilton [mailto:carlvh@bellsouth.net] 
Envoyé : mercredi 16 janvier 2008 19:41
À : users@httpd.apache.org
Objet : [users@httpd] mod_header


I am trying to use hte HEADER command in an .htaccess file, mainly so I can force downloads of specific file types.
 
I have compiled the mod_header into 2.2.26 as verified by apachectl -l command. However I keep getting the error :
 
"Invalid command 'Header', perhaps mispelled or defined by a module not included in the server..."
 
I am using .htaccess files because my web master does NOT have access to the httpd.conf file.
 
Thanks
 
Carl

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org