RE: Problems with .htaccess file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 PM
To: users@xxxxxxxxxxxxxxxx
Subject: RE:  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: 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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux