RE: Problems with .htaccess file

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

 



> -----Original Message-----
> From: Hollie Hollis [mailto:Hollie_Hollis@xxxxxxxxxxxxxx]
> Sent: Thursday, November 13, 2008 3:02 PM
> To: users@xxxxxxxxxxxxxxxx
> Subject: RE:  Problems with .htaccess file
> 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

Nothing. This is how my .htaccess file looks like:

php_flag magic_quotes_gpc off
php_flag register_globals off
RewriteEngine On

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

I restart my web server after made the changes you suggest me and the error still appearing.

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



[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