Getting HTTP Authorization to work with PHP CGI mode
This tutorial is vBulletin.org and cPublisher.com copywrited. All rights reserved.
Please ask permission in this thread to copy the tutorial. If granted, post a link that points to this page. As you all know, using PHP-CGI is more secure then the ole Apache module flavour. However, with PHP-CGI you cannot use anymore real user authentification, based on a .htaccess/.htpasswd file. The fix is really easy (and secure), all you need is to have Apache mod_rewrite enabled. Create a .htaccess file, with the content: Code:
RewriteEngine On Then, in your PHP file, use: PHP Code:
For those who want to fix the apc.php file, find: PHP Code:
PHP Code:
|
All times are GMT. The time now is 09:34 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|