another mod_rewrite question for the experts

Discussion in 'Apache' started by itssangy, Dec 15, 2007.

  1. #1
    Hello there

    I have a template system running on domainA.com.
    all the images and css and javascripts are on that domain.

    my other domains: domainB, C, D F .. etc are on the same server, so i'm including the template on domainA using php include

    however, in order to include the css and javascript and images, i would have to link it to: http://domainA.com/css/ ..

    Is there a way to make it so that i can use
    http://domainB.com/css
    http://domainC.com/css

    and have that link/refer back to the path on domainA.com?


    Thank you for reading

    :eek:
     
    itssangy, Dec 15, 2007 IP
  2. joebert

    joebert Well-Known Member

    Messages:
    2,150
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    145
    #2
    joebert, Dec 15, 2007 IP