Le 28 déc. 07 à 13:46, ed209 a écrit :
> But I then removed the front controller script "index.php"
> and added the "cool URL" .htaccess file to www.
>
> The problem is that if I go to www.mysite.com/media I don't get the
> media module, I get the list of content of the /www/media symlinked
> directory. Is there a solution to this?
This pb comes with the .htaccess file that has 2 conditions to
rewrite the url. It checks whether the FILENAME is a file or a
directory. If this is the case, the rewrite rule doesn't happen.
Try to replace:
RewriteCond %{REQUEST_FILENAME} !-d
By:
RewriteCond %{REQUEST_FILENAME} !-d [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
In www/.htaccess
The "-l" flag will check also for the FILENAME to be a symlink.
But I wonder if this will work on windows where the moduleName/www
directory is copied instead of being symlinked. Anyone on windows
could check?
Cheers,
--
Julien
+++
I am not here, away for holidays from 1st January 2008 until 14th January 2008.
After that I will answer all emails for sure.