By zvikico on
Hi,
I'm using Durpal 6.4 (upgrading soon) and I'm trying to set-up multisite configuration.
I got most of it work, however, I cannot locate my image files. My site content include images (with IMG tags). The question is, what should be the source of the IMGs?
It works if I use something like <img src="/sites/example.com/files/images/myimage1.png"/> , but I don't think that's the proper way of doing it.
I've seen the rewrite rule mentioned here and tried to add it to the .htaccess in my sites/example.com/files directory, but it didn't work.
What am I doing wrong?
Thanks,
Zviki
Comments
I cant see any reason why it
I cant see any reason why it should be wrong to store your images in /sites/example.com/files/images/, that is actually the way I would presume it is meant to be.
-----------------
Vindstille.net | Gravide studenter mer friske enn andre gravide?
It's a big deal or I'm missing something critical
I'm trying to edit a site locally before uploading the changes to my production site. Since Drupal takes the site from URL, my only option is to change the reference in my hosts file and direct it locally.
So am I supposed to switch my hosts file back and forth all day? The browser takes some time to process it, too. Looks like a bad solution to me.
I cannot rename the site folder to localhost because all the links will be broken.
I tried having a subdomain mapped locally (like local.example.com) - this works, however, drupal keeps bouncing to the home page which directs him to example.com which is not local.
Any good solution for that?
A workaround?
Seems to work by just changing the $base_url in the example.com settings to
I still think the long URLs are ugly, but this solution is OK for now.