Skip navigation
LSTCWebmaster
Currently Being Moderated

Dreamweaver .htaccess prepend

Jul 16, 2010 8:02 AM

In my .htaccess file, I'm using such things as the following:
php_value    include_path            ".:/usr/local/php-5.2.6-1/share/pear:/nfs/c03/h05/mnt/foo/domains/bar /html"
php_value    doc_root                "/nfs/c03/h05/mnt/foo/domains/bar/html"
php_value    open_basedir            "/nfs/c03/h05/mnt/foo/"

php_value    auto_prepend_file        "modules/template/prepend.php"

 

How can I get Dreamweaver to read the .htaccess file so that it can find all the related files properly?  For example, most of my site's PHP files include modules/template/header.php but because Dreamweaver isn't detecting the include_path, it can't find the header file.  As a result of that, the CSS files are automatically loaded.

 

Thanks,

LSTC Webmaster

 
Replies
  • Currently Being Moderated
    Jul 16, 2010 12:38 PM   in reply to LSTCWebmaster

    LSTCWebmaster wrote:

     

    How can I get Dreamweaver to read the .htaccess file so that it can find all the related files properly?

    You can't.

     

    Dreamweaver CS5 will use your .htaccess file in Live View, but that's no use to you in discovering related files for editing. However, you can set up Site-Specific Code Hints in DW CS5, which provides code introspection and code hints for files that are not necessarily directly linked to the current page. Also DW CS5 will discover dynamically related files.

     

    None of this works in versions earlier than CS5.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points