Ciao a tutti, ho un piccolo problema con .htaccess...
Premetto che tutto il sito funziona e va abbastanza bene. Quello che non va (e l'ho visto tramite FireBug) è il caricamento di alcuni .css che appartengono al modulo ubercart.
ho fatto dei test:
--caricando i due link qui sotto funziona in entrambi i modi
http://forex.isbeng.com/modules/cck_download_dropdown/cck_download_dropd...
http://forex.isbeng.com/forexdrupal/modules/cck_download_dropdown/cck_do...
--per ubercart invece il primo link da Page Not Found, il secondo funziona
http://forex.isbeng.com/modules/ubercart/uc_file/uc_file.css
http://forex.isbeng.com/forexdrupal/modules/ubercart/uc_file/uc_file.css
di seguito incollo il mio .htaccess
--questo è quello nella root del webserver
RewriteEngine On
RewriteCond %{HTTP_HOST} ^forex.isbeng.com
RewriteCond %{REQUEST_URI} !forexdrupal/
RewriteRule ^(.*)$ /forexdrupal/$1 [L,QSA]
--questo è dentro la cartella forexdrupal
# Protect files and directories from prying eyes.
<FilesMatch "\.(engine|inc|info|install|module|profile|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template)$">
Order allow,deny
</FilesMatch>
# Don't show directory listings for URLs which map to a directory.
Options -Indexes
# Follow symbolic links in this directory.
Options +FollowSymLinks
# Customized error messages.
ErrorDocument 404 /index.php
# This overrides the Drupal 404 handler for files that should never be handled by Drupal
<FilesMatch "\.(gif|jpe?g|png|s?html|css|js|cgi)$">
ErrorDocument 404 /vuoto.txt
</FilesMatch>
# Set the default handler.
DirectoryIndex index.php
# Various rewrite rules.
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /forexdrupal
#RewriteBase /
# For public wrapping
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule files/(.*)$ modules/filerequest/throttle.php?file=$1 [L]
# Rewrite current-style URLs of the form 'index.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !\.(gif|jpe?g|s?html|css|js|cgi)$
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>