On 11/05/2010 05:08 AM, Eric Covener wrote:
On Thu, Nov 4, 2010 at 10:45 PM, Dennis Jacobfeuerborn
wrote:
ErrorDocument 404 /_disabled/index.html
RewriteEngine on
RewriteRule !/_disabled/ /_force_404_
The idea was to use the rewrite rule to rewrite any access to a non-existing
page and then h
On Thu, Nov 4, 2010 at 10:45 PM, Dennis Jacobfeuerborn
wrote:
> ErrorDocument 404 /_disabled/index.html
> RewriteEngine on
> RewriteRule !/_disabled/ /_force_404_
>
> The idea was to use the rewrite rule to rewrite any access to a non-existing
> page and then have the ErrorDocument directive catch
ErrorDocument 404 /_disabled/index.html
RewriteEngine on
RewriteRule !/_disabled/ /_force_404_
The idea was to use the rewrite rule to rewrite any access to a
non-existing page and then have the ErrorDocument directive catch that but
instead of a custom error page I only get the default message
Post the rewrite rule here.
Igor
On Nov 5, 2010 1:11 PM, "Dennis Jacobfeuerborn"
wrote:
Hi,
I'm trying to find a way to always generate a 404 error using htaccess when
a directory is accessed and with mod_autoindex enabled.
That is when I access http://server/directory/ I want to get a 404 erro
Hi,
I'm trying to find a way to always generate a 404 error using htaccess when
a directory is accessed and with mod_autoindex enabled.
That is when I access http://server/directory/ I want to get a 404 error
instead of an auto generated index.
I tried doing this with a RewriteRule but the aut