Custom Login Page (additional extensions)

Dravu

Verified User
Joined
Sep 9, 2007
Messages
294
I'm interested in making another plugin for DirectAdmin that requires executing PHP on the login page. It would be nice if the custom login page could have more extensions than just .html (.php in my case). Or at least be able to execute other programming languages (such as the case with the plugins).
 
Why cant it? Add .html as a php extension in your apache config.
 
I tried using the token system and it errored out saying it required having the user variable set to run any PHP. I also tried a .htaccess file for the hell of trying and it of course didn't work seeing as how DirectAdmin doesn't use Apache to serve the files. Thanks for the help though.
 
You may want to build your own login page; there are instructions in these forums as to how to login to DirectAdmin through your own login page.

Jeff
 
You may want to build your own login page; there are instructions in these forums as to how to login to DirectAdmin through your own login page.

Jeff
I wouldn't have a problem with that if this were going to only be for me, but I was needing this to try and make a plugin for the public, to allow resellers their own custom login page. :)
 
Back
Top