简体   繁体   中英

How to change default apache login/password pop-up box to custom using js/html/php?

i would like to know is it possible to change apache default login box to custom visualized/modified using javascript/html/php ? Thanks!

You can create a custom form using mod_auth_form as long as you have access to add the modules necessary. Basically you would design the form, then setup the parameters.

Most people will usually create a custom form handled by a language like PHP where they will check a database for a login match then pass logged-in variables to the users via sessions. This method would allow more control because you can actually set access levels. Whereas with mod_auth* you're either in or not.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM