Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

How to suppress Index.htm in root-Directory

Hi,

I use 2 template families (HTML & Print) and within each I have an Index.html as a starting point. CD 2 generates 2 directories for me and an additional "index.html" in the root directory:

index.html
HTML (dir)
Print (dir)

The content of CDs index.html is:
"CityDesk published the following variations of this site in subdirectories:

\HTML
\Print


Click on any link to view it."

--> I would like to use an own index.html instead of the one generated by CD.

Where can I turn CD off to generate that additional index.html or where can I enter the content for that index.html file?

Any help appreciated

Volker

Volker Halstenbach
Friday, May 30, 2003

Volker - the short answer is you can't.

The long answer is you can do what I do.

Instead of 1 publish location using two template famlies, use 2 publish location with 1 template family each.

Location 1 - publish to web server /html directory
Location 2 - publish to web server /print directory

Actually mine is lVolker - the short answer is you can't.

The long answer is you can do what I do.

Instead of 1 publish location using two template famlies, use 2 publish location with 1 template family each.

Location 1 - publish to web server /html directory
Location 2 - publish to web server /print directory

Then it won't overwrite an index.htm file in the / directory.

What I actually do is sleightly different - I publish the html version to the / directory and the print version to the /print directory.

www.MarkTAW.com
Friday, May 30, 2003

sorry for that weird double post.

www.MarkTAW.com
Friday, May 30, 2003

Thanks for that immediate answer.

Meanwhile I managed to solve my problem another way:

I just set the file properties on my homepage / web server to "read only" for the index.html. Thus, CD can't override that file (and doesn't).

Hope, this might help someone else...

Volker Halstenbach
Friday, May 30, 2003

*  Recent Topics

*  Fog Creek Home