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.
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> |
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 |
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).
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.
Quellcode |
|
1 |
User apache |
Quellcode |
|
1 |
# sudo -u apache cat /var/www/mollitools/htdocs/index.html |
Zitat von »dyle«
1. Der Account mit dem Apache läuft, ist i.d.R. in der httpd.conf abgelgt:
Zitat von »dyle«
Wenn 2. klappt, dann gib mal die logs des apache durch (v.a. error.log)
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ür Linux. Die MolliBasic Version für Linux wird es nicht geben, da das Projekt MolliBasic vollständig angehalten wurde. Es gab im Mai 2006 einen Hackernagriff auf den MolliBasic Entwicklungscomputer. Seit dem ist die Windows Version vollständig eingestellt. Die Planungen für Linux wurden eingestellt, da Linux bereits bessere Entwicklungsumgebungen verfügt wie HBasic (<a href="downloads/Linux/HBasic-bin/HBasic-2007-2a-bin-molli.tar.bz2">Hier können Sie dien Binär Code runterladen der Version 2007.02</a>) oder KDevelop. Lazarus ist der "Kylix Killer" und für Windows der "Borland Delphi Killer". Lazarus ist auch eine freie Entwicklungsumgebung fü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ö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ösungen zu Gentoo Linux. Ich hoffe, dass ich Ihnen damit weiterhelfen kann, damit Sie Gentoo Linux auf Ihrem Computer betreiben können. Da das Archiv dauernd wächst, bitte ich Sie, dass wenn sie noch nichts passendes zu Ihrem Problem gefunden haben, zu einem spä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ü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önnen ihre Adressen professionell verwalten, ausdrucken etc.. Ausserdem können Sie auch mit MolliAdress eine Verbindung zu Ihrem MySQL Datenbankserver herstellen und anschliessend Ihre Datenbank bearbeiten.Das Programm unterstü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&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">© Copyright 2008 - By Patrice Coni <a href="http://www.gnu.org">(GPL)</a> (weitere info zu admin. unter mySITE/molliwebserver)</span></div> </td> </tr> </tbody> </table> </body> </html> |
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> |
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> |
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.
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)?
Zitat von »dyle«
Was ist mit dem Problem? Ist es noch existent?
Zitat von »dbl81«
... und Eine Änderung zu ...
Deny from All
... hatte plötzlich mein Problem gelöst.
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 |
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 |
Quellcode |
|
1 |
AssignUserId user user |
Quellcode |
|
1 |
LoadModule userdir_module modules/mod_userdir.so |
Quellcode |
|
1 |
ServerEnvironment apache apache |
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