Setting up a new ColdFusion server on Leopard - Part 2

Apache , ColdFusion , Mac Add comments

Leopard OSX

 

ARGH!!!! a so much time wasted... on what? One Apache virtualhost rewrite section :( Problem: enabling friendly URLs in wordpress Supposed Solution: cut and paste sample apache code from wordpress admin

RewriteBase /
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

Frustration: Multiple random frigged up errors that require pulling all my hair out, wasting a couple of hours, and reading countless useless articles on google Salvation: Doubting leopard server / Apache's ability to parse plain text in a simple and logical fashion, I manually typed every line of the sample code verbatim rather than copy/pasting any of it. and... it works like a charm... so to reiterate... ARGH!!!! Lessons learned: type your code, even though it may take longer it may be shorter in the long run! also, if you want to use rewrite within a virtualHost instead of a .htaccess, you need to be inside a <directory> to use the RewriteBase which will help keep your assets working correctly after a rewrite. Lastly use blogcfc instead of wordpress! (i would be if only blogcfc had this lush hemmingway theme :) )

0 responses to “Setting up a new ColdFusion server on Leopard - Part 2”

Leave a Reply





Powered by Mango Blog. Design and Icons by N.Design Studio