View Single Post
  #2 (permalink)  
Old 05-19-2008, 10:59 PM
vigilnt vigilnt is offline
Junior Member
 
Join Date: May 2008
Posts: 2
Default

Well for anyone interested, i found the solution.

You have to add the line:

Code:
RewriteBase /aliasname
to the .htaccess file.

Where "aliasname" is the name you gave to the Apache alias, like if you have this:

Code:
Alias /cartazleiria/ "d:/workspace/cartazleiria/public/" 

<Directory "d:/workspace/cartazleiria/public/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order allow,deny
    Allow from all
</Directory>
the .htaccess file will be:

Code:
RewriteEngine on
RewriteBase /cartazleiria
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php
Reply With Quote