Re: How to apply apache directives to pyblosxom bog files?
Blake Winton <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
Chris G wrote: >> I suspect that the answer will depend on your setup. >> >> I have mine as a CGI and so my Apache things are in the .htaccess file >> in my public_html directory. > So if I have my pyblosxom files in /home/chris/webdev then I need to > put a .htaccess file (or use a <Directory>) that's in /home/chris/webdev? > > I thought I'd tried that but I'll try harder! :-) > > Even so how do I apply an AddCharset directive? What suffix do I use? > .py possibly? I've gone the PyBlosxom route, and added a file named "content_type.html" in my html flavour, containing the line: application/xml;charset=utf-8 and it all seems to work for me... Later, Blake. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/