Well I fix it setting RewriteBase to / not to /webacula. Anyway thanks for your time Ing. Reynier Pérez Mira Dirección Técnica IP > -----Original Message----- > From: Justin Pasher [mailto:justinp@xxxxxxxxxxxxxxxxxxx] > Sent: Saturday, November 15, 2008 2:47 PM > To: users@xxxxxxxxxxxxxxxx > Subject: RE: Problems with .htaccess file > > > -----Original Message----- > > From: Reynier Perez Mira [mailto:rperezm@xxxxxx] > > Sent: Saturday, November 15, 2008 9:30 AM > > To: users@xxxxxxxxxxxxxxxx > > Subject: RE: Problems with .htaccess file > > > > Hi, sorry for this late but I was busy with some other things. Now answer > > every one of yours questions: > > > > > What do you have DocumentRoot set to for this VirtualHost? > > /var/www/webacula/html > > > > > In what > > > directory is the .htaccess file located? > > /var/www/webacula/html/.htaccess > > > > > In what directory is the > > > index.php file for webacula located? > > /var/www/webacula/html/index.php > > > > > Unless I'm misreading the logs (which is quite possible), your > > > DocumentRoot appears to be /var/www/webacula/html and your .htaccess > > > file appears to be in that same directory...? > > > > You doesn't misreading nothing and you're right both are in the same > > directory > > Ahhh. There is the problem. You are setting the RewriteBase to /webacula > from within /var/www/webacula/html (DocumentRoot), but that's not actually > your RewriteBase (relative to the .htaccess file). You actually don't need a > RewriteBase, because the files are not under > /var/www/webacula/html/webacula. Use these rewrite rules: > > Inside /var/www/webacula/html/.htaccess: > > RewriteCond %{REQUEST_URI} !^/index\.php$ > RewriteRule !\.(js|ico|gif|jpg|png|css)$ /index.php > > > -- > Justin Pasher > > > --------------------------------------------------------------------- > 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