>> jeremy co wrote:
>>> restrict virtual host to serve only files with the extensions html, jpg,
>>> and png. and also generate custom error msg if client request other type
>>> of files
On 08.05.09 19:52, Nick Kew wrote:
> Use to scope a restriction, and ErrorDocument.
> Davide Bianchi wrote:
>
Davide Bianchi wrote:
jeremy co wrote:
restrict virtual host to serve only files with the extensions html, jpg,
and png. and also generate custom error msg if client request other type
of files
Use to scope a restriction, and ErrorDocument.
I'd do something like:
RewriteCond %{REQUEST_
jeremy co wrote:
> restrict virtual host to serve only files with the extensions html, jpg,
> and png. and also generate custom error msg if client request other type
> of files
I'd do something like:
RewriteCond %{REQUEST_URI} !.*\.html$
RewriteCond %{REQUEST_URI} !.*\.jpg$
RewriteCond
Hi,
does anyone know how to do this scenario :
restrict virtual host to serve only files with the extensions html, jpg, and
png. and also generate custom error msg if client request other type of
files
Jeremy