htaccess login over DirectAdmin

remon

New member
Joined
Jul 5, 2007
Messages
2
Is there a way to apply an htaccess login over DirectAdmin ?

So... when a user attempts to access http://domain.com:2222/, they're presented with a htaccess login prompt. Once they're authenticated, they'll be forwarded to the usual "DirectAdmin Login Page".

Thanks.
 
DirectAdmin doesn't use apache; it's got its own webserver built-in.

I'd write to support and ask them if they support .htaccess logins, but I doubt it.

Jeff
 
Hmm, k. Cheers.

Well, I'm not looking to have the DA logins in the htaccess, but instead just a static login in the htaccess for added security (to thwart any XSS, session vulnerabilities, etc.).

For the time being, I've just changed the port of DA.
 
Actually if you could do it at all, the DirectAdmin logins would be easy enough to implement as they're all system users.

The problem is that .htaccess is a file read by apache. Since DA runs on it's own port, and apache doesn't answer that port (2222 or other), you could only do this if DA supports the .htaccess file.

So my original comment still stands.

Jeff
 
Back
Top