Protection for the Admin folder

Patrick Popelka Posted in Technical Support 3 years ago

Hallo

Ich möchte das beim Aufruf der Administratorseite, einen htaccess Schutz haben.

In welchen Unterordner muss ich die Datei .htaccess einbauen?

FG Patrick


Hello

I would like to have htaccess protection when calling the administrator page.

In which subfolder do I have to install the .htaccess file?

Greets Patrick

Replies
German Michael Zülsdorff Replied 3 years ago

Ossn is not based on a simple 1:1 mapping of a physical folder to a displayed page, page urls are virtually rendered on request from several different files and subdirectories.
In short: you need an url protection and not a folder protection
That's why you either have to add your authentification code to the main .htaccess file or add a rule to your apache configuration.
Some examples are shown in
https://stackoverflow.com/questions/14603568/password-protect-a-specific-url