Current time: 05-18-2024, 04:50 AM Hello There, Guest! (LoginRegister)


Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ERLEDIGT]Bug? 403 while trying to use an ErrorDocument
Author Message
the3rdBIT Offline
Junior Member
*

Posts: 36
Joined: Apr 2010
Reputation: 0
Post: #1
[ERLEDIGT]Bug? 403 while trying to use an ErrorDocument
Moin Leute

Ich habe aus Sicherheitsgründen standardmässig die Zugriffe von Apache auf das gesamte Dateisystem mit /etc/apache2/conf.d/security gesperrt:
Code:
# Disable access to the entire file system except for the directories that
# are explicitly allowed later.
#
# This currently breaks the configurations that come with some web application
# Debian packages. It will be made the default for the release after lenny.
#
<Directory />
       AllowOverride None
       Order Deny,Allow
       Deny from all
</Directory>

Nun erscheint aber bei einer HTTP Fehlermeldung statt der bisherigen von ispCP z.B. sowas:
Code:
Not Found

The requested URL /bjhjkbijbibju was not found on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Nur wenn ich auf die administrations-Subdomain zugreife funktioniert's noch richtig. Ich finde in der ispcp.conf sollte jeweils explizit der Zugriff auf die Fehlermeldungsdateien erlaubt werden. Seht ihr es auch so, dass es sich dabei um einen Bug handelt? Umso mehr, dass anscheinend Debian in Zukunft meine aktuellen Einstellungen standardmässig so aktivieren will...

Grüsse
Fabian Horlacher
(This post was last modified: 04-10-2010 04:47 PM by ZooL.)
04-08-2010 10:11 AM
Visit this user's website Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Bug? 403 while trying to use an ErrorDocument
Du musst natürlich den Zugriff erlauben für /var/www/virtual/<domain>/errors

/J
04-08-2010 06:04 PM
Visit this user's website Find all posts by this user
the3rdBIT Offline
Junior Member
*

Posts: 36
Joined: Apr 2010
Reputation: 0
Post: #3
RE: Bug? 403 while trying to use an ErrorDocument
Es ist mir auch klar, dass diese Zugriffe erlaubt werden müssen. Die Zugriffsrechte von htdocs werden offensichtlich explizit von ispCP in den jeweiligen Konfigurationen festgelegt, /var/www/virtual/<domain>/errors aber nicht. Meine Frage ist aber, ob ich dies als Bug melden soll.
04-09-2010 01:06 AM
Visit this user's website Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: Bug? 403 while trying to use an ErrorDocument
wenn du meinst, dass es wichtig ist: melde den Bug, mit argumenten...

/J
04-09-2010 03:08 AM
Visit this user's website Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)