.htaccess wird ignoriert
.htaccess wird ignoriert
hallo zusammen,
meine apache-konfig sieht auszugsweise so aus:
rewrite.conf
---
<VirtualHost *>
<Directory /home/web/errors/>
Options FollowSymlinks ExecCGI
</Directory>
Alias /errors/ "/home/web/errors/"
ErrorDocument 400 /errors/error.cgi?code=400& # Bad Request
ErrorDocument 401 /errors/error.cgi?code=401& # Authorization Required
ErrorDocument 403 /errors/error.cgi?code=403& # Forbidden
ErrorDocument 404 /errors/error.cgi?code=404& # Not Found
ErrorDocument 500 /errors/error.cgi?code=500& # Internal Server Error
ErrorDocument 501 /errors/error.cgi?code=501& # Not Implemented
UseCanonicalName Off
<Directory /home/web/allocation/>
Options FollowSymLinks IncludesNoExec ExecCGI
</Directory>
RewriteEngine On
RewriteMap lowercase int:tolower
RewriteCond %{REQUEST_URI} !^/icons/
RewriteCond %{REQUEST_URI} !^/errors
#RewriteCond %{REQUEST_URI} !^/cgi-bin
RewriteRule ^(.+) ${lowercase:%{SERVER_NAME}}$1 [C]
RewriteRule ^(www.)*([^/]*)/(.*)$ /home/web/allocation/$2/$3
<Directory /srv/www/htdocs/>
Options FollowSymlinks ExecCGI Indexes
AllowOverride All
DirectoryIndex cgi-bin/qmailadmin
</Directory>
Alias /images/ "/srv/www/htdocs/images/"
</VirtualHost>
---
suse_public_html.conf
---
<IfModule mod_userdir.c>
# Note that the name of the user directory ("public_html") cannot easily be
# changed here, since it is a compile time setting. The apache package
# would have to be rebuilt. You could work around by deleting
# /usr/sbin/suexec, but then all scripts from the directories would be
# executed with the UID of the webserver.
UserDir htdocs
</IfModule>
<Directory /home/web/domains/*/htdocs>
#AllowOverride FileInfo AuthConfig Limit
AllowOverride All
#Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec ExecCGI
Options MultiViews Indexes FollowSymlinks IncludesNoExec ExecCGI
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
---
woran könnte dies liegen? wäre super, wenn mir trotzdem jemand helfen würde, auch wenn es suse linux ist... :oops:
meine apache-konfig sieht auszugsweise so aus:
rewrite.conf
---
<VirtualHost *>
<Directory /home/web/errors/>
Options FollowSymlinks ExecCGI
</Directory>
Alias /errors/ "/home/web/errors/"
ErrorDocument 400 /errors/error.cgi?code=400& # Bad Request
ErrorDocument 401 /errors/error.cgi?code=401& # Authorization Required
ErrorDocument 403 /errors/error.cgi?code=403& # Forbidden
ErrorDocument 404 /errors/error.cgi?code=404& # Not Found
ErrorDocument 500 /errors/error.cgi?code=500& # Internal Server Error
ErrorDocument 501 /errors/error.cgi?code=501& # Not Implemented
UseCanonicalName Off
<Directory /home/web/allocation/>
Options FollowSymLinks IncludesNoExec ExecCGI
</Directory>
RewriteEngine On
RewriteMap lowercase int:tolower
RewriteCond %{REQUEST_URI} !^/icons/
RewriteCond %{REQUEST_URI} !^/errors
#RewriteCond %{REQUEST_URI} !^/cgi-bin
RewriteRule ^(.+) ${lowercase:%{SERVER_NAME}}$1 [C]
RewriteRule ^(www.)*([^/]*)/(.*)$ /home/web/allocation/$2/$3
<Directory /srv/www/htdocs/>
Options FollowSymlinks ExecCGI Indexes
AllowOverride All
DirectoryIndex cgi-bin/qmailadmin
</Directory>
Alias /images/ "/srv/www/htdocs/images/"
</VirtualHost>
---
suse_public_html.conf
---
<IfModule mod_userdir.c>
# Note that the name of the user directory ("public_html") cannot easily be
# changed here, since it is a compile time setting. The apache package
# would have to be rebuilt. You could work around by deleting
# /usr/sbin/suexec, but then all scripts from the directories would be
# executed with the UID of the webserver.
UserDir htdocs
</IfModule>
<Directory /home/web/domains/*/htdocs>
#AllowOverride FileInfo AuthConfig Limit
AllowOverride All
#Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec ExecCGI
Options MultiViews Indexes FollowSymlinks IncludesNoExec ExecCGI
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
---
woran könnte dies liegen? wäre super, wenn mir trotzdem jemand helfen würde, auch wenn es suse linux ist... :oops:
Re: .htaccess wird ignoriert
Wo liegt die .htaccess? Was steht in der .htaccess? Was steht im error_log?
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Re: .htaccess wird ignoriert
die .htaccess-datei liegt im zu schützenden verzeichnis und sollte an und für sich richtig aufgebaut sein.
im error.log unter /var/log/httpd ist diesbezüglich kein einziger eintrag. htaccess wird - wie schon geschrieben - ignoriert. :?
im error.log unter /var/log/httpd ist diesbezüglich kein einziger eintrag. htaccess wird - wie schon geschrieben - ignoriert. :?
Re: .htaccess wird ignoriert
Auch auf die Gefahr hin mich zu wiederholen: Wo liegt die .htaccess (den exakten Pfad bitte) und was steht in der .htaccess?
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
htaccess
den inhalt der dateien habe ich nicht zur hand. aber nachdem 2 reseller dieses problem unabhängig voneinander haben und diesbezüglich ziemlich fit sind, würde ich def. auf ein config-prob tippen.
wenn mir jemand so eine htaccess anfertigen könnte/will, würde ich es mit der in einem user-account von mir testen.
wenn mir jemand so eine htaccess anfertigen könnte/will, würde ich es mit der in einem user-account von mir testen.
Re: .htaccess wird ignoriert
Ich vermute, darauf zielte die vorherige Frage von Joe User ab.(...) würde ich def. auf ein config-prob tippen.
Wozu sollte das dienen, wenn du davon ausgehst, dass die bestehende .htaccess richtig ist?wenn mir jemand so eine htaccess anfertigen könnte/will, würde ich es mit der in einem user-account von mir testen.
htaccess
ich lasse euch die htaccess zukommen und stelle sie nachher ins netz. allerdings dürfe - wie schon erwähnt - dies nicht das problem sein. was könnte an der konfiguration nicht stimmen?
.htaccess wird ignoriert
.htaccess
---
AuthName "Protected Area"
AuthType Basic
AuthUserFile /home/web/domains/***.de/htdocs/admin/.htpasswd
require valid-user
---
.htpasswd
---
user:$8$rKvJzV4K$xopA8wWwSguV7SknKfPQH9
---
das waren die .htaccess-dateien, die leider ignoriert werden. woran kann es also noch liegen?
---
AuthName "Protected Area"
AuthType Basic
AuthUserFile /home/web/domains/***.de/htdocs/admin/.htpasswd
require valid-user
---
.htpasswd
---
user:$8$rKvJzV4K$xopA8wWwSguV7SknKfPQH9
---
das waren die .htaccess-dateien, die leider ignoriert werden. woran kann es also noch liegen?
-
Anonymous
Re: .htaccess wird ignoriert
Ist in deiner HTTPD.CONF diese Sektion vorhanden ?
Code: Select all
#
# AccessFileName: The name of the file to look for in each directory
# for additional configuration directives. See also the AllowOverride
# directive.
#
AccessFileName .htaccess
#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<Files ~ "^.ht">
Order allow,deny
Deny from all
</Files>
.htaccess wird ignoriert
@DeepSurfer
leider ja. also das war das problem bedauerlicherweise nciht :(
leider ja. also das war das problem bedauerlicherweise nciht :(
Re: .htaccess wird ignoriert
Darf man im <directory>-Tag * verwenden?
Mach doch ein extra <directory /pfad/zum/verzeichnis> speziell für dieses eine Verzeichnis mit dem "AllowOverride All". Schau auch mal hier: http://httpd.apache.org/docs/2.0/howto/htaccess.html
Mach doch ein extra <directory /pfad/zum/verzeichnis> speziell für dieses eine Verzeichnis mit dem "AllowOverride All". Schau auch mal hier: http://httpd.apache.org/docs/2.0/howto/htaccess.html
.htaccess wird ignoriert
leider immer noch nix rausgefunden. die httpd.conf eintragungen sind korrekt. echt zum kotzen...
Re: .htaccess wird ignoriert
hat der apache leserechte?
.htaccess wird ignoriert
wo schaut man das nach?
