Configuring Apache to accept DW/Contr templates

Ask a Question related to Macromedia Contribute General Discussion, Design and Development.

  1. #1

    Default Configuring Apache to accept DW/Contr templates

    WHere can i find info on how to configure Apache to accept MIME type dwt for
    dreamweaver or contribute templates? are dw templates different than contribute
    templates?
    i've looked everywhere for the config instructs...
    thanks, c

    UMDchristian Guest

  2. Similar Questions and Discussions

    1. Skin not applied at design time for CompositeComponent child contr
      I am using Visual Studio 2008 and I have a very simple custom web server control class named TestControl. The class inherits from CompositeControl,...
    2. Manually Configuring Apache to Run .CFM pages
      I have pain stakenly gotting CF 7 installed on my Linux Box running apache. But non of my .cfm pages work correctly. apache is sending the pages to...
    3. Configuring Jpgraph on Windows 2000+Apache+PHP+MySql server
      Could someone walk me step by step on how to install and get JpGraph running on a Windows 2000+Apache+PHP+MySql server? -Thanks Jeff
    4. Accept HTTPS POST? How to do it with Apache on Linux?
      Hi All, We are having an issue at the moment with our Apache Server which has SSL installed in that it will not accept HTTPS POSTs from our...
    5. Help configuring Perl with Apache 2
      This is more of an Apache question than a Perl question, but I'll go for it here. I installed RedHat 9 (including Apache 2 and Perl) from CD. ...
  3. #2

    Default Re: Configuring Apache to accept DW/Contr templates

    I am not sure if there is any specific setting for configuring templates on the
    webserver. Not sure but have a look at the httpd.conf file of the apache
    webserver.

    DW and Contribute Templates are both one and the same. Templates can be
    available for a site if they are placed in a folder named "Templates" inside
    your site root.

    ex: [url]http://hostname.portnumber/siteroot/index.htm[/url]

    -> Site Root
    -> index.htm
    -> Templates (Directory)
    -> sampletemplate.dwt

    Thanks
    Arun

    amadas Guest

  4. #3

    Default Re: Configuring Apache to accept DW/Contr templates

    yes. you do have to configure apache where it asks for MIME types, according
    to the Contribute manual. Of course, it doesn't tell you how to do that. But it
    is required. Have you been able to use templates without any configuration to
    Apache?

    UMDchristian Guest

  5. #4

    Default Re: Configuring Apache to accept DW/Contr templates

    Hi,

    I installed apache 2.02 and i did not configure any specific settings other
    than changing the port number to 85. I placed my site under the webroot and
    created a folder named "Templates" under my site root. I have placed sample
    dreamweaver templates (ex: test.dwt) inside the Templates directory.

    I came back to contribute and created a website connection to the site. I
    clicked on File->New Page-> Clicked on "Refresh Templates" button seen on the
    bottom of New Page dialog and i can see my templates.

    Hope this helps. I dont think there is any configuration required. Can i
    know what platform are you trying this out on? What OS? What version of apache?
    Version of Contribute?

    Thanks
    Arun

    amadas Guest

  6. #5

    Default Re: Configuring Apache to accept DW/Contr templates

    hi back. I am using apache 2.0.52 on solaris. Contribute 3 with the latest
    update. so...3.1?

    trying to do what you did, clicking on refresh templates with a test template
    in there, it is saying no preview available. same when i highlight the Template
    folder.

    UMDchristian Guest

  7. #6

    Default Re: Configuring Apache to accept DW/Contr templates

    Hello UMDchristian,

    Does your site make use of .htaccess file ?

    Also make sure that the templates folder has required permissions .

    -Avinash
    > hi back. I am using apache 2.0.52 on solaris. Contribute 3 with the
    > latest update. so...3.1?
    >
    > trying to do what you did, clicking on refresh templates with a test
    > template in there, it is saying no preview available. same when i
    > highlight the Template folder.
    >

    Avinash Rao Guest

  8. #7

    Default Re: Configuring Apache to accept DW/Contr templates

    yes and yes. we have htaccess files everywhere, but we have yet to actively
    configure them. Anyway, I got the templates to work with a line in my config...

    off the top of my head, I think it was

    " text/html dwt "

    added into the mime types.

    So, the templates are working now. But is there anything I should know once I
    get them to work , or, now that I have gotten them to work?

    UMDchristian Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139