Hallo,
ich möchte meinen ganzen Server mit htaccess schützen. Jetzt habe ich schon stundenlang gelesen aber nichts kappiert.....
So nun mal klartext :
in die httpd.conf soll
AllowOverride AuthConfig
und
AllowOverride All
rein, so gelesen im Beitrag in der InternetProfessional 03/2005
Aber wo bitte ?
Ich habe keine datei httpd.conf sondern httpd.config
und das einzige was ich da finde sieht so aus:
/**
* @defgroup ConfigDirectives Allowed locations for configuration directives.
*
* The allowed locations for a configuration directive are the union of
* those indicated by each set bit in the req_override mask.
*
* @{
*/
#define OR_NONE 0 /**< *.conf is not available anywhere in this override */
#define OR_LIMIT 1 /**< *.conf inside <Directory> or <Location>
and .htaccess when AllowOverride Limit */
#define OR_OPTIONS 2 /**< *.conf anywhere
and .htaccess when AllowOverride Options */
#define OR_FILEINFO 4 /**< *.conf anywhere
and .htaccess when AllowOverride FileInfo */
#define OR_AUTHCFG 8 /**< *.conf inside <Directory> or <Location>
and .htaccess when AllowOverride AuthConfig */
#define OR_INDEXES 16 /**< *.conf anywhere
and .htaccess when AllowOverride Indexes */
#define OR_UNSET 32 /**< unset a directive (in Allow) */
#define ACCESS_CONF 64 /**< *.conf inside <Directory> or <Location> */
#define RSRC_CONF 128 /**< *.conf outside <Directory> or <Location> */
#define EXEC_ON_READ 256 /**< force directive to execute a command
which would modify the configuration (like including another
file, or IFModule */
/** this directive can be placed anywhere */
#define OR_ALL (OR_LIMIT|OR_OPTIONS|OR_FILEINFO|OR_AUTHCFG|OR_INDEXES)
/** @} */
Bei mir läuft der Apache 2.0.48 ; MySQL 4.0.18 ; PHP 5.0.0b3
Ich bin für Tipps wirklich dankbar.
mfg
fireblade04