Hello,

On 10/30/2012 10:02 PM, Jorge wrote:
> In /var/www/www.etxea.org/htdocs/.htaccess I've got the following
> content ...
[..]
>   RewriteCond $1 !^(index\.php|images|robots\.txt|user_guide)
>   RewriteRule ^(.*)$ /index.php/$1 [L]
[..]
> <VirtualHost *>
>         RewriteCond $1 !^(index\.php|images|robots\.txt|user_guide)
>         RewriteRule ^(.*)$ /index.php/$1 [L]

Matches in VirtualHost context start with /, i.e. you have to use
!^/(index\.php|images|robots\.txt|user_guide)

See
http://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewriterule
(the box "What is matched?")

Cheers
Wolfgang


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50938336.3000...@karall-edv.at

Reply via email to