Index: wp-app.php
===================================================================
--- wp-app.php	(revision 8259)
+++ wp-app.php	(working copy)
@@ -197,7 +197,7 @@
 
 		// check to see if AtomPub is enabled
 		if( !get_option( 'enable_app' ) )
-			$this->not_allowed( sprintf( __( 'AtomPub services are disabled on this blog.  An admin user can enable them at %s' ), admin_url('options-writing.php') ) );
+			$this->forbidden( sprintf( __( 'AtomPub services are disabled on this blog.  An admin user can enable them at %s' ), admin_url('options-writing.php') ) );
 
 		// dispatch
 		foreach($this->selectors as $regex => $funcs) {
@@ -939,6 +939,14 @@
 		exit;
 	}
 
+	function forbidden($reason='') {
+		log_app('Status','403: Forbidden');
+		header('Content-Type: text/plain');
+		status_header('403');
+		echo $reason;
+		exit;
+	}
+
 	function not_found() {
 		log_app('Status','404: Not Found');
 		header('Content-Type: text/plain');
