This is a discussion on Is it possible to 'include' files in .htaccess within the Apache Web Server forums, part of the Web Server and Related Forums category; Is it possible to include external files, dynamically, into .htaccess? For example, rather than modifying .htaccess to add/delete IP'...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Is it possible to include external files, dynamically, into .htaccess? For
example, rather than modifying .htaccess to add/delete IP's that have been blocked/unblocked, does .htaccess allow for a directive to include and external file that may be dynamically updated instead. Thanks. |
|
|||
|
*** gf escribió/wrote (Thu, 07 Oct 2004 21:38:23 GMT):
> Is it possible to include external files, dynamically, into .htaccess? For > example, rather than modifying .htaccess to add/delete IP's that have been > blocked/unblocked, does .htaccess allow for a directive to include and > external file that may be dynamically updated instead. Thanks. http://httpd.apache.org/docs-2.0/mod/core.html#include Include Directive Description: Includes other configuration files from within the server configuration files Syntax: Include file-path|directory-path Context: server config, virtual host, directory It seems you cannot. -- -+ Álvaro G. Vicario - Burgos, Spain +- http://www.demogracia.com (la web de humor barnizada para la intemperie) ++ Las dudas informáticas recibidas por correo irán directas a la papelera -+ I'm not a free help desk, please don't e-mail me your questions -- |
|
|||
|
Actually I found out you can!
http://ravenphpscripts.com/article-566--0-0.html --- "Alvaro G. Vicario" <kAlvaroNOSPAMTHANKS@terra.es> wrote in message news:kz9ltymzs00n$.139rmdkdwkd1q$.dlg@40tude.net.. . > *** gf escribió/wrote (Thu, 07 Oct 2004 21:38:23 GMT): > >> Is it possible to include external files, dynamically, into .htaccess? >> For >> example, rather than modifying .htaccess to add/delete IP's that have >> been >> blocked/unblocked, does .htaccess allow for a directive to include and >> external file that may be dynamically updated instead. Thanks. > > http://httpd.apache.org/docs-2.0/mod/core.html#include > > Include Directive > Description: Includes other configuration files from within the server > configuration files > Syntax: Include file-path|directory-path > Context: server config, virtual host, directory > > It seems you cannot. > > > -- > -+ Álvaro G. Vicario - Burgos, Spain > +- http://www.demogracia.com (la web de humor barnizada para la > intemperie) > ++ Las dudas informáticas recibidas por correo irán directas a la papelera > -+ I'm not a free help desk, please don't e-mail me your questions > -- |