PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Apache2 Probleme mit SuSE 9.1



realtec
02.05.04, 14:00
Hallo, ich bekomme Apache 2 nicht eingestellt, das .htaccess dateien akzeptiert werden. Auf meinem SuSE 8.2 Server ging dies immer ohne Probleme...

Hoffe mir kann jmd. helfen, da ich Dank phpMyAdmin und ohne Schutz meinen Server nichts in Netz hängen kann :mad:

Hier ein Teil meiner httpd.conf


# forbid access to the entire filesystem by default
#<Directory />
# Options None
# AllowOverride None
# Order deny,allow
# Deny from all
#</Directory>



# Access Filesystem erlauben für /privat
<Location /privat>
Options Indexes
IndexOptions FancyIndexing ScanHTMLTitles SuppressColumnSorting FoldersFirst HTMLTable
AddDescription "Linux Standard-Werk" Linux-Kofler.pdf

</Location>

# Access Filesystem erlauben für /public
<Location /public>
Options Indexes
</Location>

#
<Directory /phpMyAdmin>
#Options All
AllowOverride AuthConfig
AuthName "Secret"
AuthType Basic
Satisfy any
require valid-user
</Directory>

BiugEE
02.05.04, 14:24
Hallo, ich bekomme Apache 2 nicht eingestellt, das .htaccess dateien akzeptiert werden. Auf meinem SuSE 8.2 Server ging dies immer ohne Probleme...

Hoffe mir kann jmd. helfen, da ich Dank phpMyAdmin und ohne Schutz meinen Server nichts in Netz hängen kann :mad:

Hier ein Teil meiner httpd.conf


# forbid access to the entire filesystem by default
#<Directory />
# Options None
# AllowOverride None
# Order deny,allow
# Deny from all
#</Directory>



# Access Filesystem erlauben für /privat
<Location /privat>
Options Indexes
IndexOptions FancyIndexing ScanHTMLTitles SuppressColumnSorting FoldersFirst HTMLTable
AddDescription "Linux Standard-Werk" Linux-Kofler.pdf

</Location>

# Access Filesystem erlauben für /public
<Location /public>
Options Indexes
</Location>

#
<Directory /phpMyAdmin>
#Options All
AllowOverride AuthConfig
AuthName "Secret"
AuthType Basic
Satisfy any
require valid-user
</Directory>


#editiere mal diese datei hier:
vi /etc/apache2/default-server.conf
#und schaue ob das hier bei steht:
AllowOverride All # wenn das nicht ist dann ist es klar.
Order deny,allow
Allow from all
########################################

#und jetzt.
vi /etc/apache2/httpd.conf
# use .htaccess files for overriding,
AccessFileName .htaccess
# and never show them
<Files ~ "^\.ht">
Order deny,allow
Deny from all
</Files>
# jetzt sollte es funktionieren.


meine .htaccess sieht so aus:

authType basic
authName MoreGroupware
authUserFile /etc/apache2/.htaccess_user.txt
authGroupFile /etc/apache2/.htaccess_group.txt
Order deny,allow
# deny from all
satisfy all
allow from all
require group home



gruß
biugee

realtec
02.05.04, 17:30
vielen dank....
jetzt klappt es!!!