You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ryan Stille <rp...@willconsult.com> on 2003/09/26 18:54:17 UTC
[users@httpd] Which AllowOverride option gives Redirect capability?
I would like to allow users of my software to be able to set up Redirects dynamically. Through my software, they will be changing the .htaccess file in a directory with entries like:
Redirect /realestate http://www.theirsite.com/where/their/realestate/doc/is
I have been able to do this when I set the AllowOverride in the VirtualHost to All. But I don't want to leave it set to All, I just want whatever option I need in their to allow Redirects in the .htaccess file. I've looked through the AllowOverride documentation (http://httpd.apache.org/docs/mod/core.html#allowoverride) but it doesn't mention Redirect.
Also I might try to get some mod_rewrite directives working in the .htaccess file, too, but I don't know if that's possible...
Thanks for any help.
-Ryan
---------------------------------------------------------------------
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
Re: [users@httpd] Which AllowOverride option gives Redirect capability?
Posted by Joshua Slive <jo...@slive.ca>.
On Fri, 26 Sep 2003, Ryan Stille wrote:
> I would like to allow users of my software to be able to set up
> Redirects dynamically. Through my software, they will be changing the
> .htaccess file in a directory with entries like: Redirect /realestate
> http://www.theirsite.com/where/their/realestate/doc/is
>
> I have been able to do this when I set the AllowOverride in the
> VirtualHost to All. But I don't want to leave it set to All, I just
> want whatever option I need in their to allow Redirects in the .htaccess
> file. I've looked through the AllowOverride documentation
> (http://httpd.apache.org/docs/mod/core.html#allowoverride) but it
> doesn't mention Redirect.
Each directive in the docs lists an "Override" that tells you what
AllowOverride option is needed. For Redirect:
http://httpd.apache.org/docs-2.0/mod/mod_alias.html#redirect
this is "Fileinfo".
Joshua.
---------------------------------------------------------------------
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