summaryrefslogtreecommitdiff
path: root/www/lighttpd/files/README.mysqlauth
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2016-10-21 09:01:19 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2016-10-21 09:01:19 +0000
commitae8f325c44b5160be4cf55a7f3fa161a44a71fb1 (patch)
treefcc8da7d50869d0e6969ce0135b1a04b2bd04527 /www/lighttpd/files/README.mysqlauth
parentmath/cadabra2: update 2.0.816 -> 2.0.930 (diff)
- Update lighttpd to 1.4.42 [1]
- Convert WEBDAV option to option helpers [1] - Remove MYSQLAUTH option, upstream integrated their own solution in MYSQL support [1] - Add GEOIP option to main port [1] - Fix sorting in pkg-plist [1] - Remove lighttpd-mod_geoip port, it's beeen integrated in the main port [2] PR: 213568 [1], 213569 [2] Sumitted by: Piotr Kubaj <pkubaj@anongoth.pl> (maintainer)
Notes
Notes: svn path=/head/; revision=424396
Diffstat (limited to 'www/lighttpd/files/README.mysqlauth')
-rw-r--r--www/lighttpd/files/README.mysqlauth45
1 files changed, 0 insertions, 45 deletions
diff --git a/www/lighttpd/files/README.mysqlauth b/www/lighttpd/files/README.mysqlauth
deleted file mode 100644
index 322b40422fd9..000000000000
--- a/www/lighttpd/files/README.mysqlauth
+++ /dev/null
@@ -1,45 +0,0 @@
-References:
-http://redmine.lighttpd.net/issues/752
-http://redmine.lighttpd.net/attachments/1012/03_all_lighttpd-1.4.23-mysql_auth.diff
-http://redmine.lighttpd.net/attachments/download/1012/03_all_lighttpd-1.4.23-mysql_auth.diff
-
-This patch allows lighttpd to authenticate users against mySQL DBbr
-NOTE: Only basic auth is implemented. Passwords are stored as MD5 hash in DB
-
-make mysql db and user (read mySQL doc's if you don't know how)
-import lighttpd-1.4.11-mysql_auth.sql
-
-open lighttpd.conf and add
-(be sure that you comment out any other auth - according to lighttpd docs)
-
-auth.backend = "mysql"
-auth.backend.mysql.host = "localhost"
-auth.backend.mysql.user = "db_user"
-auth.backend.mysql.pass = "db_pass"
-auth.backend.mysql.db = "db_name"
-auth.backend.mysql.port = "0" # (for default port 0, always needed)
-auth.backend.mysql.socket = "" # (for default leave blank, always needed)
-auth.backend.mysql.users_table = "users_table"
-auth.backend.mysql.col_user = "col_name_username"
-auth.backend.mysql.col_pass = "col_name_password" # (md5 hash of password)
-auth.backend.mysql.col_realm = "col_realm_name"
-
-configure lighttpd to use it (same as every other auth)
-
-auth.require = ( "/some_path" =>
- (
- "method" => "basic",
- "realm" => "some_realm",
- "require" => "some_user",
- )
-)
-
-start lighttpd
-
-P.S. patch include more complicated setup with separate table for domains.
-If you are interested please contact with me to obtain more information.
-
-Bugs, Patches and Suggestions
-Send me E-Mail: drJeckyll@Jeckyll.net
-
--- drJeckyll