Jump to content

vitaly

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

vitaly's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Dear colleagues, I have the following directory structure: www.domain.com/projects/project1 www.domain.com/projects/project1/images www.domain.com/projects/project2 www.domain.com/projects/project2/images The problem is that inside HTML files image paths are specified using DocumentRoot /. This results in requests similar to: www.domain.com/images Obviously, this does not work, because images are located inside each project's own image folder: www.domain.com/projects/project1/images I would like to create a rule to solve this problem. I have tried the following: RewriteEngine on RewriteRule ^/$ /var/www/vhosts/pikkles.com/httpdocs/projects/fujichemical/astareal/beta/ [nc] However it does not seem to work. I have checked the paths and they are correct. What am I doing wrong? Thank you in advance. Vitaly
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.