Frank. Hollie Hollis wrote:
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:rperezm@xxxxxx] Sent: Thursday, November 13, 2008 1:59 PMTo: users@xxxxxxxxxxxxxxxx Subject: RE: Problems with .htaccess fileYou 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/m3f10dfdeWhat's wrong then? I did not understand nothing Regards, Ing. Reynier Pérez MiraDirecció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: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx