Bluehost.com Web Hosting $6.95

Is it possible to 'include' files in .htaccess

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'...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-07-2004
gf
 
Posts: n/a
Default Is it possible to 'include' files in .htaccess

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.


  #2 (permalink)  
Old 10-07-2004
Alvaro G. Vicario
 
Posts: n/a
Default Re: Is it possible to 'include' files in .htaccess

*** 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
--
  #3 (permalink)  
Old 10-10-2004
gf
 
Posts: n/a
Default Re: Is it possible to 'include' files in .htaccess

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
> --



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 01:32 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0