Forum OpenACS Q&A: Static Page Templating with .html extension

I have a 3.x site that I'm migrating to 4.x, the 3.x site has many static pages, and all of the links are in the form of somepage.html. I want to wrap the default template around them, but it seems that templating only works if you leave the .html off so is there something I can set to make templating work without breaking all the links?
Collapse
Posted by Jade Rubick on
James, you could make a .vuh file that checks if the request is for an .html file, and then redirects to the file without the .html extention.

I think that would work.

Collapse
Posted by James Thornton on
I'm trying to trace through the templating and request processor code to find the place where templating is ignored when a file with an extension is specified.

Does anyone know where this is?

Collapse
Posted by Jade Rubick on
I believe it is Aolserver, not the templating code, but I could be wrong.
Collapse
Posted by James Thornton on
Jade - Why do you think it's AOLserver? -- If you enter the file with the extension, the page is served without the OpenACS template.