Hello all,
I have the following scenario...
domain.com with .htaccess file in root and 2 folders:
/.htaccess
/portal/
/support/
- I would like to type www.domain.com
and open directly www.domain.com/portal/
RewriteRule /$ /portal/ [R]
not working, does anyone know why?
- When click the link www.domain.com/portal/support/index.php?a=1
would like to rewrite to www.domain.com/support/index.php?a=1
RewriteCond %{QUERY_STRING} foo=(.)
RewriteRule /portal/support/index.php?(.) /support/index.php?%1
not working...
~note
i am getting this error:
[Wed Dec 30 01:37:31 2009] [error] [client 127.0.0.1] client denied by server configuration: C:/www/~domain/.htaccess
<VirtualHost *:80>
(...)
<Directory "C:/www/~domain/">
AllowOverride All
Options Indexes FollowSymLinks ExecCGI
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
may be it is too late now, but i'm blocked with this...
thank you!