Search Results

Search found 3 results on 1 pages for 'lauer'.

Page 1/1 | 1 

  • Apache expands REQUEST_FILENAME with filetype

    - by Lauer
    I have a .htaccess fil on a Apache22 server. RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)$ /index.php?p=$1 [L] The idea is when the request is /testpage it should be rewritten to /index.php?p=testpage. The problem is that apache does a write before my file, so the actually request is testpage.xml which actually does exists. Therefore, the first RewriteCond is newer true, and my rewrite rule is never applied on the /testpage request. There server should be a standard setup on a FreeBSD server. I know this work on other servers.

    Read the article

  • Singleton Issues in iOS http client

    - by Andrew Lauer Barinov
    I implemented an HTTP client is iOS that is meant to be a singleton. It is a subclass of AFNetworking's excellent AFHTTPClient My access method is pretty standard: + (LBHTTPClient*) sharedHTTPClient { static dispatch_once_t once = 0; static LBHTTPClient *sharedHTTPClient = nil; dispatch_once(&once, ^{ sharedHTTPClient = [[LBHTTPClient alloc] initHTTPClient]; }); return sharedHTTPClient; } // my init method - (id) initHTTPClient { self = [super initWithBaseURL:[NSURL URLWithString:kBaseURL]]; if (self) { // Sub class specific initializations } return self; } Super's init method is very long, and can be found here However the problem I experience is when the dispatch_once queue is run, the app locks and become unresponsive. When I step through code, I notice that it locks on dispatch_once and then remains frozen. Is this something to do with the main thread locking down? How come it stays locked like that? Also, none of the HTTP client methods fire. Stepping through the code some more, I find this line in dispatch/once.h is where the app locks down: DISPATCH_INLINE DISPATCH_ALWAYS_INLINE DISPATCH_NONNULL_ALL DISPATCH_NOTHROW void _dispatch_once(dispatch_once_t *predicate, dispatch_block_t block) { if (DISPATCH_EXPECT(*predicate, ~0l) != ~0l) { dispatch_once(predicate, block); // App locks here } }

    Read the article

  • Klar im Vorteil mit Oracle Enablement 2.0!

    - by A&C Redaktion
    Oracle Enablement 2.0 enthält Schulungsangebote, die Oracle Partner angepasst an Ihre jeweilige Arbeitssituation vor Ort oder online effizient nutzen können. All diese Angebote unterstützen Oracle Partner bei der Entwicklung und dem Ausbau Ihrer Vertriebsstärke sowie zur Vertiefung der Implementierungskenntnisse.Bleiben Sie als Oracle Partner immer am Ball und informieren Sie sich regelmäßig, wie Sie notwendiges Know-How für die OPN Spezialisierung und die zugehörigen Assessments im Unternehmen aufbauen können.Das Oracle Country Enablement Team hilft Oracle Partnern bei der Spezialisierungsausbildung und der individuellen Beratung. Aktuelle Informationen zu Training und Spezialisierung finden Sie auf unserem Enablement Blog, den Frank Lauer und Corry Weick Ihnen im Video kurz vorstellen.

    Read the article

1