Because this is in a .htaccess file rather than in the main apache
configuration file you need to remove the leading slash from your rule since
it's looks at the rule from within the directory in which the .htaccess file
is located.

RewriteCond %{REQUEST_URI} !^index\.php$ RewriteRule
!\.(js|ico|gif|jpg|png|css)$ index.php

-----Original Message-----
From: Reynier Perez Mira [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 13, 2008 1:59 PM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] Problems with .htaccess file

> You will have to add the RewriteLogLevel and RewriteLog directives (they
> do not appear in a default apache config). They can be set within the
> global apache config or the VirtualHost directive. The purpose of the
> logs is not to eliminate the error, but to try to see how the URLs are
> being rewritten. Add the directives, try to access the page, then look
> at the log file (specified by RewriteLog) to see exactly how apache is
> trying to rewrite it.

Ok, because the result of the command: > cat /var/log/apache2/bacula-rw.log
is extremely long I write them in pastebin.com. This is the URL:
http://pastebin.com/m3f10dfde 

What's wrong then? I did not understand nothing
Regards,
Ing. Reynier Pérez Mira
Dirección Técnica IP 

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to