.htaccess wird ignoriert
Posted: 2005-07-31 20:01
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: