.htaccess file problems

Discussion in 'Programming' started by pangea, Feb 10, 2007.

  1. #1
    Hi,

    I am writing a site using the MODx CMS. I am using the friendly Urls, and so need to use .htaccess files.

    It all works fine.

    But.

    The site I am uploading into the CMS has links relative to somewhere else on the server.

    ie: img src="454.jpg" on a server http://web address 1.com

    script installed at /modx on server http://web address 2.com

    I am trying to link the images that SHOULD be found in the /modx directory, but NOT its subdirectories to web address1 (which is on the same server).


    I am also trying to get links that go to .htm pages http://webaddress2.com to be directed to http://webaddress2.com/modx, where they can be picked up by the .htaccess file in the /modx folder. Is this possible?

    Thank you all who respond.
    Below is MODx .htaccess file, which is in /modx folder.




     
    pangea, Feb 10, 2007 IP