Skip navigation

Django on MAMP Part2 compiling mod_wsgi

April 20th, 2008

As a follow on from Django on OS X - getting started here’s what happened after I took Stuart’s advice, installed Xcode and atempted to add mod_wsgi to apache.  Before I start let’s just clarify that I’m using MAMP Pro 1.7 on my MacBook Pro running OS X 10.4.  This provides me with Apache/2.0.59 (Unix) PHP/5.2.3 DAV/2.  Read the rest of this entry »

TYPO3 SEO removing comments

April 8th, 2008

As I’m somewhat picky about the code produced on my sites I was really keen to remove the comments describing each TYPO3 content element. This is the sort of thing I mean:

<!--  CONTENT ELEMENT, uid:122/textpic [begin] -->
<a id="c122"></a>
<!--  Header: [begin] -->
<div class="csc-header csc-header-n1">
<h2 class="csc-firstHeader">
Time-served Designer & Webmaster available for challenging permanent positions and short-term contracts.
</h2>
</div>
<!--  Header: [end] -->
<!--  Image block: [begin] -->
<div class="csc-textpic-text">
<!--  Text: [begin] -->...

Read the rest of this entry »

TYPO3 custom meta tags

April 7th, 2008

Increasingly I find myself having to add custom meta data in order to validate my ownership of a site.  Both Yahoo and Google offer webmaster tools with the option of either adding a static html page or including custom meta tags.
Although its easy enough to quickly upload an html file most of my sites would require explicit tweaks to the .htaccess file to allow the plain html to be served.  Without the exception being added the request is caught by the application and a 404 is thrown.

Adding a custom meta tag is therefore the path of least resistance and with a TYPO3 site running TemplaVoila you have two options: Read the rest of this entry »