Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: GentooForum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

mollilinux

unregistriert

1

14.12.2008, 10:43

Apache2: Forbidden - You don't have permission to access / on this server.

Hallo zusammen,

Ich habe nun meinen Server fertig eingerichtet und habe nun ein Problem. Ich verwende Apache2. Habe alles konfiguriert. Bei meinem Server zuvor funktionierte alles bestens, mit den Zugriffsrechten. Doch jetzt passt gar nichts mehr. Verwende dieselbe konfiguration, aber da scheint was nicht zu laufen. Habe gegoogled nach diesem Fehler und die Konfigurationsdate entsprechend angepasst, aber nichts hilft.

Ich hoffe, dass ihr damit Erfahrung habt. Hier meine Konfigurationsdatei mollitools.conf aus dem Verzeichnis /etc/apache2/vhosts.d:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Sockets vergeben
Listen 443
Listen 4040
Listen 80
Listen 8080

# Benutze Namen-basiertes Virtual Hosting
# NameVirtualHost *.:443
# NameVirtualHost *.:4040
# NameVirtualHost *.:80
# NameVirtualHost *.:8080

# NameVirtualHost 192.168.1.101:443
<VirtualHost 192.168.1.100:443>
	# Zugriffsrechte für Alle
 	<Location />
    	allow from all
	</Location>

#   	Listen 80
    	ServerAdmin mollilinux@bluewin.ch
    	ServerName 192.168.1.100:443

    	DocumentRoot "/var/www/mollitools/htdocs/"
    	<Directory "/var/www/mollitools/htdocs">
            	Options FollowSymLinks
            	AllowOverride None
    	</Directory>
    	ScriptAlias /cgi-bin/ /var/www/mollitools/cgi-bin/
    	<Directory "/var/www/mollitools/cgi-bin">
            	AllowOverride None
            	Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
            	Order allow,deny
            	Allow from all
    	</Directory>

    	ErrorLog /var/log/apache2/error.log

    	# Possible values include: debug, info, notice, warn, error, crit,
    	# alert, emerg.
    	LogLevel warn

    	CustomLog /var/log/apache2/access.log combined
    	ServerSignature On

</VirtualHost>


und hier meine httpd.conf:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
# This is a modification of the default Apache 2.2 configuration file
# for Gentoo Linux.
#
# Support:
#   http://www.gentoo.org/main/en/lists.xml   [mailing lists]
#   http://forums.gentoo.org/             	[web forums]
#   irc://irc.freenode.net#gentoo-apache  	[irc chat]
#
# Bug Reports:
#   http://bugs.gentoo.org                	[gentoo related bugs]
#   http://httpd.apache.org/bug_report.html   [apache httpd related bugs]
#
#
# This is the main Apache HTTP server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are unsure
# consult the online docs. You have been warned.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path.  If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "var/log/apache2/foo_log"
# with ServerRoot set to "/usr" will be interpreted by the
# server as "/usr/var/log/apache2/foo.log".

# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# Do not add a slash at the end of the directory path.  If you point
# ServerRoot at a non-local disk, be sure to point the LockFile directive
# at a local disk.  If you wish to share the same ServerRoot for multiple
# httpd daemons, you will need to change at least LockFile and PidFile.
ServerRoot "/usr/lib/apache2"

# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
# Example:
# LoadModule foo_module modules/mod_foo.so
#
# GENTOO: Automatically defined based on APACHE2_MODULES USE_EXPAND variable.
#     	Do not change manually, it will be overwritten on upgrade.
#
# The following modules are considered as the default configuration.
# If you wish to disable one of them, you may have to alter other
# configuration directives.
#
# Change these at your own risk!

LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule authn_alias_module modules/mod_authn_alias.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
<IfDefine CACHE>
LoadModule cache_module modules/mod_cache.so
</IfDefine>
LoadModule cgi_module modules/mod_cgi.so
<IfDefine DAV>
LoadModule dav_module modules/mod_dav.so
</IfDefine>
<IfDefine DAV>
LoadModule dav_fs_module modules/mod_dav_fs.so
</IfDefine>
<IfDefine DAV>
LoadModule dav_lock_module modules/mod_dav_lock.so
</IfDefine>
LoadModule deflate_module modules/mod_deflate.so
LoadModule dir_module modules/mod_dir.so
<IfDefine CACHE>
LoadModule disk_cache_module modules/mod_disk_cache.so
</IfDefine>
LoadModule env_module modules/mod_env.so
LoadModule expires_module modules/mod_expires.so
LoadModule ext_filter_module modules/mod_ext_filter.so
<IfDefine CACHE>
LoadModule file_cache_module modules/mod_file_cache.so
</IfDefine>
LoadModule filter_module modules/mod_filter.so
LoadModule headers_module modules/mod_headers.so
LoadModule include_module modules/mod_include.so
<IfDefine INFO>
LoadModule info_module modules/mod_info.so
</IfDefine>
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
<IfDefine CACHE>
LoadModule mem_cache_module modules/mod_mem_cache.so
</IfDefine>
LoadModule mime_module modules/mod_mime.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule speling_module modules/mod_speling.so
<IfDefine SSL>
LoadModule ssl_module modules/mod_ssl.so
</IfDefine>
<IfDefine STATUS>
LoadModule status_module modules/mod_status.so
</IfDefine>
LoadModule unique_id_module modules/mod_unique_id.so
<IfDefine USERDIR>
LoadModule userdir_module modules/mod_userdir.so
</IfDefine>
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so

# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
User apache
Group apache

# Supplemental configuration
#
# Most of the configuration files in the /etc/apache2/modules.d/ directory can
# be turned on using APACHE2_OPTS in /etc/conf.d/apache2 to add extra features
# or to modify the default configuration of the server.
#
# To know which flag to add to APACHE2_OPTS, look at the first line of the
# the file, which will usually be an <IfDefine OPTION> where OPTION is the
# flag to use.
Include /etc/apache2/modules.d/*.conf

# Virtual-host support
#
# Gentoo has made using virtual-hosts easy. In /etc/apache2/vhosts.d/ we
# include a default vhost (enabled by adding -D DEFAULT_VHOST to
# APACHE2_OPTS in /etc/conf.d/apache2).
Include /etc/apache2/vhosts.d/*.conf

# vim: ts=4 filetype=apache


Ich hoffe, dass ihr mir helfen könnt.

Grüsse mollilinux

2

16.12.2008, 12:01

<Directory "/var/www/mollitools/htdocs">

Soweit ich weis muss das Diektory mit / aufhören also

<Directory "/var/www/mollitools/htdocs/">
Techno4ever

mollilinux

unregistriert

3

16.12.2008, 21:49

Zitat von »Freier Radikaler«

Soweit ich weis muss das Diektory mit / aufhören also


Ja, habe ich versucht. Vergebens. Bei meinem vorherigem Server funktionierte dies ohne Probleme. Es ist die selbe Konfig. Datei.

Ich finde es komisch warum dies beim neuen Server nicht funktioniert. ?(

4

17.12.2008, 00:52

Dumme Frage: Sicher, dass das Verzeichnis auch tatsächlich für den apache-User lesbar ist? Verzeichnisse, die nicht World-Readable sind, ergeben bei mir zumindest auch einen 403er.

5

17.12.2008, 07:51

oder owner apache haben ^^
Techno4ever

6

17.12.2008, 22:07

Noch ne weitere "dumme" Frage, hat Apache auch auf alle Oberverzeichnisse, inkl. /var/www/mollitools/htdocs selbst das Ausführungsrecht? Hatte jetzt vermehrt auf Systemen Zugriffsplobleme, weil auf irgenteinem Verzeichnis im Pfad der Apache kein Ausführungsrecht hatte und entsprechend nicht dorthin wechseln darf (Read ist dann übrigens nicht notwendig).

mfg pyjo

mollilinux

unregistriert

7

20.12.2008, 13:35

Zitat von »pyjo«


weil auf irgenteinem Verzeichnis im Pfad der Apache kein Ausführungsrecht hatte und entsprechend nicht dorthin wechseln darf (Read ist dann übrigens nicht notwendig).


Habe nun das Publizierverzeichnis auf den Apache User zugeteilt. Nichts zu machen. Ich kenne mich mit den Ausführungsrechten nicht aus. Kann mir jemand helfen oder genaue Befehle posten? Denn habe nie viel mit ausführungsrechte zu tun und habe mich auch nie gross damit auseinandergesetzt.

Zitat von »janjan«


Sicher, dass das Verzeichnis auch tatsächlich für den apache-User lesbar ist? Verzeichnisse, die nicht World-Readable sind, ergeben bei mir zumindest auch einen 403er.


Das Verzeichnis habe ich dem Apache User übergeben. Scheint nichts dranzusein, was brauchbar ist. Er scheint es nicht auszuführen. Was meinst du genau damit? Kannst du mir einen Befehl posten?

8

22.12.2008, 10:37

Um mal zu testen, ob es an den Apache rechten liegt:
1. Der Account mit dem Apache läuft, ist i.d.R. in der httpd.conf abgelgt:

Quellcode

1
User apache

2. Werde root und check mal mit dem Kommando, ob du lesen darfst:

Quellcode

1
# sudo -u apache cat /var/www/mollitools/htdocs/index.html
(nach -u setzt du deinen user ein)

Wenn 2. klappt, dann gib mal die logs des apache durch (v.a. error.log)
http://www.dyle.org
IM-Account (Jabber!) sind auf meiner HP ...
There is no place like /home

http://www.gentooforum.de
http://www.gentoofreunde.org

<div>how to annoy a web developer?</span>

mollilinux

unregistriert

9

22.12.2008, 20:55

Zitat von »dyle«


1. Der Account mit dem Apache läuft, ist i.d.R. in der httpd.conf abgelgt:


"User apache" ist in der httpd.conf eingetragen, auch "Group apache" ist in httpd.conf abgespeichert.

Zitat von »dyle«


Wenn 2. klappt, dann gib mal die logs des apache durch (v.a. error.log)


Habe auch sämtliche Log Files gepostet. Die Datei error.log ist leer. Aber die anderen haben Einträge. [Das Datum auf dem Server ist extra so eingestellt (July 08), macht euch keine Kopf darum.]

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
molliserver molli # sudo -u molli cat /var/www/mollitools/htdocs/index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
  <title>MolliTools by P. Coni</title>
  <link rel="stylesheet" type="text/css" href="design.css">
</head>
<body>
<table align="center" border="0" cellpadding="0" cellspacing="0"
 width="752">
  <tbody>
    <tr>
      <td style="padding-left: 5px;" bgcolor="#000000" height="80">
      <div align="center"><img
 src="imgs/willkommen.jpg"> <img
 src="imgs/pconi.png"></div>
      </td>
    </tr>
  </tbody>
</table>
<table align="center" border="0" cellpadding="0" cellspacing="0"
 width="752">
  <tbody>
    <tr>
      <td style="padding-left: 5px;" valign="top" width="150"> <br>
<!-- Navigation -->
      <table cellspcing="0" cellpadding="0">
        <tbody>
          <tr>
            <td><a href="downloads"><img
 src="imgs/buttons/downloads.png"></a></td>
          </tr>
          <tr>
            <td><a href="tutorial"><img
 src="imgs/buttons/tutorials.png"></a></td>
          </tr>
          <tr>
            <td><a href="info"><img
 src="imgs/buttons/seiteninfo.png"></a></td>
          </tr>
          <tr>
            <td><a href="kontakt"><img
 src="imgs/buttons/kontakt.png"></a></td>
          </tr>
          <tr>
            <td><a href="screenshots"><img
 src="imgs/buttons/screenshots.png"></a></td>
          </tr>
          <tr>
            <td><a href="aktuelles/index.html"><img
 src="imgs/buttons/aktuelles.png"> </a></td>
          </tr>
          <tr>
            <td><a href="http://www.gimp.org"><img
 src="imgs/buttons/gfx_by_gimp.gif"></a></td>
          </tr>
        </tbody>
      </table>
<!-- Navigation ende --> </td>
      <td valign="top" width="550"> <br>
      <div style="text-align: center;"> <strong><br>
Molli Tools und deren
Funktionen </strong> <br>
      </div>
      <br>
      <img
 src="imgs/blitzeklein.jpg"
 alt="Bild 1" class="bild" border="1"><a
 href="imgs/blitze.jpg">[Bild
Originalgroesse]</a> Ich arbeite an MolliAdress f&uuml;r
Linux. Die MolliBasic Version f&uuml;r Linux wird es nicht geben, da
das Projekt MolliBasic vollst&auml;ndig angehalten wurde. Es gab im Mai
2006 einen Hackernagriff auf den MolliBasic Entwicklungscomputer. Seit
dem ist die Windows Version vollst&auml;ndig eingestellt. Die Planungen
f&uuml;r Linux wurden eingestellt, da Linux bereits bessere
Entwicklungsumgebungen verf&uuml;gt wie HBasic (<a
 href="downloads/Linux/HBasic-bin/HBasic-2007-2a-bin-molli.tar.bz2">Hier
k&ouml;nnen Sie dien Bin&auml;r Code runterladen der Version 2007.02</a>)
oder KDevelop. Lazarus ist der "Kylix Killer" und f&uuml;r Windows der
"Borland Delphi Killer". Lazarus ist auch eine freie
Entwicklungsumgebung f&uuml;r Linux /Windows/Mac OS X, der Unterschied
zwischen Borland Delhpi und Lazarus ist gering<br>
      <br style="font-weight: bold;">
      <div style="text-align: center;"><span style="font-weight: bold;">Gentoo
Probleml&ouml;sungen</span><br>
      </div>
      <br>
      <img style="width: 80px; height: 80px;" alt=""
 src="aktuelles/gentoo_logo.jpg" align="left">Gibt es Probleme bei der
Instalaltion von Gentoo Linux? Ich habe ein Archiv vorbereitet, mit
vielen Probleml&ouml;sungen zu Gentoo Linux. Ich hoffe, dass ich Ihnen
damit weiterhelfen kann, damit Sie Gentoo Linux auf Ihrem Computer
betreiben k&ouml;nnen. Da das Archiv dauernd w&auml;chst, bitte ich
Sie, dass wenn sie noch nichts passendes zu Ihrem Problem gefunden
haben, zu einem sp&auml;teren Zeitpunkt wieder vorbeizuschauen. <a
 href="probleme.html">Klicken Sie hier, um in das Archiv zu gelangen</a>
(Noch nicht ausgearbeitet) Besuchen Sie: <a
 href="http://www.gentooforum.de">www.gentooforum.de</a><br>
      <br>
      <br>
      <div style="text-align: center;"><strong>Wissenswertes zu
MolliTools</strong> <br>
      </div>
      <br>
      <img
 src="imgs/molliwordpic.jpg"
 alt="Bild 2" class="bild" border="1"> <a
 href="imgs/molliword.jpg">[Bild
Originalgroesse (MolliWord)]</a>
Die MolliTools, die man runterladen kann sind Linux und Windows
kompatiebel. Wer auf seinem Computer Linux hat, wie ich, der kann
MolliBasic, MolliWord etc. problemlos unter Linux
emulieren, mit dem WINE Emulator (<a href="http://www.winehq.org">www.winehq.org</a>).
Bei mir funktioniert es ohne
Probleme, wenn es trotztem Probleme geben soll mit der Emulation (nicht
mit dem Emulator), der kann sich an mich wenden. Es wird in den
kommenden Tagen noch eine Molli OS Startdiskette hochgeladen werden, um
Programm Probleme zu vermeiden (Muss mit QEMU emuliert werden, wenn ein
virtuelles System verwendet wird.) <br>
      <span class="textklein"><br>
      <br>
      </span>
      <div style="text-align: center; font-weight: bold;"><span
 class="textklein"> </span>MolliAdress f&uuml;r Linux - ein
professionelles Adressprogramm<br>
      <br>
      <a
 href="aktuelles/molliadress-img-big.png"><img
 alt="" src="aktuelles/molliadress-img-thumb.png"
 style="border: 0px solid ; width: 197px; height: 156px;" align="left"></a><br>
      <br>
      </div>
MolliAdress ist ein freiesAdressprogramm, wie es der Name schon sagt.
Sie k&ouml;nnen&nbsp; ihre Adressen professionell verwalten, ausdrucken
etc.. Ausserdem k&ouml;nnen
Sie auch mit MolliAdress eine Verbindung zu Ihrem MySQL Datenbankserver
herstellen und anschliessend Ihre Datenbank bearbeiten.Das Programm
unterst&uuml;tzt 4 verschiedene Datenbankformate:<br>
      <br>
      <br>
      <ul style="text-align: left;">
        <li>
          <h3>dBASE III</h3>
        </li>
        <li>
          <h3>dBASE IV (Standard)</h3>
        </li>
        <li>
          <h3>Visual dBASE VII</h3>
        </li>
        <li>
          <h3>Visual FoxPro Datenbankformat</h3>
        </li>
        <li>
          <h3>Paradox Datenbankformat. Kann Paradox nur lesen nicht
schreiben</h3>
        </li>
      </ul>
      <span class="textklein"></span><br>
      <br>
      <h3 style="text-align: center;"><a
 href="https://sourceforge.net/project/showfiles.php?group_id=233332&amp;package_id=283107">Klicken
Sie hier um die aktuellste Version runterzuladen.</a></h3>
      <div style="text-align: center;">
      <h3><a href="http://molliadress.sourceforge.net">Klicken Sie
hier, um auf die MolliAdress Entwickler Page zu gelangen.</a></h3>
      </div>
      <span class="textklein"> <br>
      <br>
      <br>
      <br>
      </span>
      <div style="text-align: center;"><span class="textklein">&copy;
Copyright 2008 - By Patrice Coni &nbsp;<a href="http://www.gnu.org">(GPL)</a>
(weitere info zu admin. unter mySITE/molliwebserver)</span></div>
      </td>
    </tr>
  </tbody>
</table>
</body>
</html>
»mollilinux« hat folgende Dateien angehängt:
  • error_log.txt (37,33 kB - 4 mal heruntergeladen - zuletzt: 26.11.2013, 14:15)
  • access_log.txt (5,79 kB - 3 mal heruntergeladen - zuletzt: 05.07.2010, 21:42)

10

23.12.2008, 11:38

Hehehe ... mich hat nur interessiert, ob der Apache-User *grundsätzlich* auf die index.html zugreifen kann. Nicht deren Content.

Setzte doch mal den LogLevel von "warn" auf "debug", zumal du *das* ja gerade jetzt brauchst. Dann sollten die logs auch wesentlich ausführlicher werden.

Weiters: ist dir klar, das du da etwas vermischts?

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
        # Zugriffsrechte für Alle
        <Location />
        allow from all
        </Location>

#       Listen 80
        ServerAdmin mollilinux@bluewin.ch
        ServerName 192.168.1.100:443

        DocumentRoot "/var/www/mollitools/htdocs/"
        <Directory "/var/www/mollitools/htdocs">
                Options FollowSymLinks
                AllowOverride None
        </Directory>


Was macht der Location-Tag da? Zumal du ja auch das gleiche Directory-Tag angibst. Auch hast du keine "Order"-Directive. AFAIK ist die zwar defaultmäßig auf "Deny, Allow", aber ...

Ich würde diesen Auschnitt deiner Config so ansetzten:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
#       Listen 80
        ServerAdmin mollilinux@bluewin.ch
        ServerName 192.168.1.100:443

        DocumentRoot "/var/www/mollitools/htdocs/"
        <Directory "/var/www/mollitools/htdocs">
                Order Deny, Allow
                Allow from all
                Options FollowSymLinks
                AllowOverride None
        </Directory>

Kein Location-Entry.
http://www.dyle.org
IM-Account (Jabber!) sind auf meiner HP ...
There is no place like /home

http://www.gentooforum.de
http://www.gentoofreunde.org

<div>how to annoy a web developer?</span>

mollilinux

unregistriert

11

23.12.2008, 18:16

Zitat von »dyle«


Setzte doch mal den LogLevel von "warn" auf "debug", zumal du *das* ja gerade jetzt brauchst. Dann sollten die logs auch wesentlich ausführlicher werden.


Also ich habe das LogLevel auf debug gesetzt und deine Änderung eingetragen. Die Reaktion ist gleich. Er verweigert wie üblich das Zugriffsrecht. (Nach den Änderungen habe ich natürlich den Apache2 neugestartet.) Die error.log ist weiterhin leer.

12

27.12.2008, 10:58

Hm, also das würde ich mir gerne mal direkt via ssh angucken. Allerdings habe ich über die Feiertage eigentlich keine Zeit.

Wie sieht es da mit dir aus? Würde das von deiner Seite her funken (abgesehen von der Zeit)?
http://www.dyle.org
IM-Account (Jabber!) sind auf meiner HP ...
There is no place like /home

http://www.gentooforum.de
http://www.gentoofreunde.org

<div>how to annoy a web developer?</span>

mollilinux

unregistriert

13

27.12.2008, 14:20

Zitat von »dyle«



Hm, also das würde ich mir gerne mal direkt via ssh angucken. Allerdings habe ich über die Feiertage eigentlich keine Zeit.

Wie sieht es da mit dir aus? Würde das von deiner Seite her funken (abgesehen von der Zeit)?


Das würde gehen, das währe supper! Ich habe gestern Gentoo Linux gelöscht und OpenSuse 11 installiert. Bin es noch am einrichten... Hoffe dass es mit den Rechten klappt. Währe aber trotzdem froh, wenn du mal einen Blick draufwerfen würdest, in die Konfig und soweiter...

Ich muss zuerst noch ein SSH einrichten. Weis nicht wie das funktioniert, hast du irgendein Tutorial dazu?

Vielen Dank

Grüsse mollilinux

14

21.07.2009, 16:22

Stammverzeichnis Einstellen

Hi,

ich hatte das selbe Problem und es ließ sich überraschend dadurch lösen. Dass ich die Directiven des Stammverzeichnisses restriktiviert habe.

Zuvor hatte ich ...

<Directory />
Order Allow,Deny
Allow from All
</Directory>

... und Eine Änderung zu ...

Deny from All

... hatte plötzlich mein Problem gelöst.
Vielleicht weiß da jemand näheres.

15

17.08.2009, 10:32

Sorry. War ein ganzes Monat weg. :(

Was ist mit dem Problem? Ist es noch existent?
http://www.dyle.org
IM-Account (Jabber!) sind auf meiner HP ...
There is no place like /home

http://www.gentooforum.de
http://www.gentoofreunde.org

<div>how to annoy a web developer?</span>

mollilinux

unregistriert

16

13.09.2009, 19:56

Zitat von »dyle«

Was ist mit dem Problem? Ist es noch existent?


hehe, ja, das Problem ist noch topaktuell... Ich schaute grad mal hier vorbei: http://www.unixboard.de/vb3/showthread.php?t=15376

Hat auch nix gebracht...

Seit Dec. 08 bin ich irgendwie nicht weiter gekommen... Nun, vieleicht ist das auch noch eine Möglichkeit, wenn ich das /etc/apache2 Verzeichnis hier anhänge. Habe momentan die Übersicht verlohren.

Zitat von »dbl81«

... und Eine Änderung zu ...

Deny from All

... hatte plötzlich mein Problem gelöst.



Das Deny from All blockiert bei mir alle Zugriffsrechte.

Vielen Dank im Voraus.

Grüsse mollilinux
»mollilinux« hat folgende Datei angehängt:
  • apache2.tar.gz (26,3 kB - 1 mal heruntergeladen - zuletzt: 14.09.2009, 00:56)

17

14.09.2009, 00:59

auf dateisystem ebene stimmen die rechte?


mach mal bitte ein ls -l /var/www bzw ls -l /var/www/molilinux
Intel core 2 duo E6600
XFX Geforce 7950 gt
4096 MB DDR2
Intel DP35DP

mollilinux

unregistriert

18

14.09.2009, 18:36

Hallo, also hier sind die folgenden befehle:

Quellcode

1
2
3
4
molli@mollitools:~/nfs/mollitools-net-01/public_html> ls -l mollitools
insgesamt 8
drwxr-xr-x  2 molli users 4096 26. Dez 2008  cgi-bin
drwxr-xr-x 11 molli users 4096  4. Jul 23:07 htdocs


und noch das public_html Verzeichnis:

Quellcode

1
2
3
4
5
molli@mollitools:~/nfs/mollitools-net-01> ls -l public_html
insgesamt 12
drwxr-xr-x 4 molli users 4096 26. Dez 2008  elfire
drwxr-xr-x 3 molli users 4096 26. Dez 2008  molliadress
drwxr-xr-x 4 molli users 4096 29. Dez 2008  mollitools


Ich hoffe das dies weiterhilft.

Vielen Dank

Grüsse mollilinux

19

05.07.2010, 21:50

ist zwar lange her aber ich würde gern mein Senf dazu tun:

in die *.conf der domain unter /etc/apache2/vhosts.d
sollte folgendes eingetragen werden:

# automatic itk userid assignment

Quellcode

1
AssignUserId user user


in der /etc/apache2/httpd.conf
sollte das Modul USERDIR an sein

Quellcode

1
LoadModule userdir_module modules/mod_userdir.so

somit ist dem Apache egal welchem User das Verzeichnis gehört,

ohne diese config gehört das Verzeichnis in dem http webseiten liegen
immer Benutzer / Gruppe apache / apache

unter /etc/apache2/vhosts.d/00_default_vhost.conf bitte folgendes eintragen:

Quellcode

1
ServerEnvironment apache apache


/etc/apache2/vhosts.d/default_vhost.include

Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all

das hier liegt an der falschen config in einer *.conf

Zitat

[Sat Jun 28 20:41:58 2008] [warn] Init: (192.168.1.100:443) You configured HTTP(80) on the standard HTTPS(443) port!
[Sat Jun 28 20:41:59 2008] [warn] Init: (192.168.1.100:443) You configured HTTP(80) on the standard HTTPS(443) port


du kannst 80 und 443 nicht mischen entweder oder!