SHARE
Facebook X Pinterest WhatsApp

Take23: Using AxKit To Build Static Sites

Jul 20, 2010
ServerWatch content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More



One thing that is rarely covered by the many excellent mod_perl modules out there is how do you build a static
web site that will allow you to separate content from presentation and easily change the layout of your site at any
time in the future. The popular mod_perl modules out there (such as Mason, Embperl, and Apache::ASP) focus
mainly on dynamic content creation. However AxKit has very strong support for applying the separation of
content from presentation to static sites.

“… Now we want to render this as HTML. First we must tell AxKit how to do that. So we need to add in some
configuration directives to our httpd.conf (for Take23 I use regular .htaccess files for this, but some people don’t
like those for performance reasons – your mileage may vary). Here’s what we need, first we need to setup a
stylesheet mime type to processor mapping:”

One thing that is rarely covered by the many excellent mod_perl modules out there is how do you build a static
web site that will allow you to separate content from presentation and easily change the layout of your site at any
time in the future. The popular mod_perl modules out there (such as Mason, Embperl, and Apache::ASP) focus
mainly on dynamic content creation. However AxKit has very strong support for applying the separation of
content from presentation to static sites.

Recommended for you...

What Is a Container? Understanding Containerization
What Is a Print Server? | How It Works and What It Does
Nisar Ahmad
Dec 8, 2023
What Is a Network Policy Server (NPS)? | Essential Guide
Virtual Servers vs. Physical Servers: Comparison and Use Cases
Ray Fernandez
Nov 14, 2023
ServerWatch Logo

ServerWatch is a top resource on servers. Explore the latest news, reviews and guides for server administrators now.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.