PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : PHP läuft einfach nicht, nach Server-Installation



SUMAS
13.04.08, 19:47
Hallo, ich hab mir ein Linux-Server nach diesem Tutorial (http://www.howtoforge.de/howto/das-perfekte-setup-opensuse-102-32-bit/6/) als virtuellen Server installiert. Der Webserver läuft soweit auch. Aber das PHP5 geht einfach nicht! Ich hab schon alle Einträge in den Apache-Dateien geprüft. Steht überall das richtige drin, und das PHP-Modul scheint auch geladen zu sein. Allerdings wird mir jedes PHP-Skript was ich aufrufe, zum Download angeboten! Hat jemand von euch noch eine Idee, wo der Fehler sein könnte? Mir fällt nix mehr ein!?

Ich danke euch!

SUMAS
13.04.08, 19:57
Hier mal noch ein Auszug aus dem error.log von apache:


[Sat Apr 12 19:55:06 2008] [error] [client 84.19.215.67] File does not exist: /var/www/sharedip/favicon.ico
[Sat Apr 12 19:55:29 2008] [error] [client 84.19.215.67] File does not exist: /var/www/sharedip/favicon.ico
[Sat Apr 12 19:56:12 2008] [error] [client 84.19.215.67] File does not exist: /var/www/sharedip/favicon.ico
[Sat Apr 12 20:59:13 2008] [error] [client 218.7.220.80] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Sun Apr 13 09:15:25 2008] [error] an unknown filter was not added: PHP
[Sun Apr 13 09:15:25 2008] [error] an unknown filter was not added: PHP
[Sun Apr 13 09:32:17 2008] [error] an unknown filter was not added: PHP
[Sun Apr 13 09:32:17 2008] [error] an unknown filter was not added: PHP
[Sun Apr 13 09:32:32 2008] [notice] caught SIGTERM, shutting down
[Sun Apr 13 09:32:34 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Sun Apr 13 09:32:35 2008] [notice] Apache/2.2.3 (Linux/SUSE) configured -- resuming normal operations
[Sun Apr 13 09:32:43 2008] [error] an unknown filter was not added: PHP
[Sun Apr 13 09:32:43 2008] [error] an unknown filter was not added: PHP
[Sun Apr 13 09:38:13 2008] [error] [client 218.7.220.80] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Sun Apr 13 09:44:50 2008] [notice] caught SIGTERM, shutting down
[Sun Apr 13 09:44:51 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Sun Apr 13 09:44:51 2008] [warn] module php5_module is already loaded, skipping
[Sun Apr 13 09:44:52 2008] [notice] Apache/2.2.3 (Linux/SUSE) configured -- resuming normal operations
[Sun Apr 13 09:52:09 2008] [notice] caught SIGTERM, shutting down
[Sun Apr 13 09:52:10 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Sun Apr 13 09:52:10 2008] [warn] module php5_module is already loaded, skipping
[Sun Apr 13 09:52:10 2008] [notice] Apache/2.2.3 (Linux/SUSE) configured -- resuming normal operations
[Sun Apr 13 09:52:26 2008] [error] an unknown filter was not added: PHP
[Sun Apr 13 09:52:26 2008] [error] an unknown filter was not added: PHP
[Sun Apr 13 09:53:59 2008] [notice] caught SIGTERM, shutting down
[Sun Apr 13 11:53:45 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Sun Apr 13 11:53:45 2008] [warn] module php5_module is already loaded, skipping
[Sun Apr 13 11:53:55 2008] [notice] Apache/2.2.3 (Linux/SUSE) configured -- resuming normal operations
[Sun Apr 13 10:00:31 2008] [error] an unknown filter was not added: PHP
[Sun Apr 13 10:00:31 2008] [error] an unknown filter was not added: PHP
[Sun Apr 13 10:00:45 2008] [error] an unknown filter was not added: PHP
[Sun Apr 13 10:00:45 2008] [error] an unknown filter was not added: PHP
[Sun Apr 13 10:00:50 2008] [error] an unknown filter was not added: PHP
[Sun Apr 13 10:00:50 2008] [error] an unknown filter was not added: PHP
[Sun Apr 13 11:06:55 2008] [error] an unknown filter was not added: PHP
[Sun Apr 13 11:06:55 2008] [error] an unknown filter was not added: PHP
[Sun Apr 13 18:40:58 2008] [error] [client 82.80.251.123] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind:)
[Sun Apr 13 20:32:55 2008] [error] an unknown filter was not added: PHP
[Sun Apr 13 20:32:55 2008] [error] an unknown filter was not added: PHP
[Sun Apr 13 20:40:46 2008] [notice] caught SIGTERM, shutting down
[Sun Apr 13 20:40:47 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Sun Apr 13 20:40:48 2008] [notice] Apache/2.2.3 (Linux/SUSE) configured -- resuming normal operations

defcon
13.04.08, 19:58
/etc/mime.type bearbeitet?

marce
13.04.08, 20:03
poste einfach mal die relevanten Einträge aus der Apache-Konfig.

SUMAS
13.04.08, 20:34
Ja die mime.types hab ich wie im Tutorial beschrieben geändert. Hab auch versucht die Kommentare wegzumachen, aber ohne Erfolg.

Hier mal die http.conf:


#
# /etc/apache2/httpd.conf
#
# This is the main Apache 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 about
# the directives.

# Based upon the default apache configuration file that ships with apache,
# which is based upon the NCSA server configuration files originally by Rob
# McCool. This file was knocked together by Peter Poeml <poeml+apache@suse.de>.

# If possible, avoid changes to this file. It does mainly contain Include
# statements and global settings that can/should be overridden in the
# configuration of your virtual hosts.

# Quickstart guide:
# /usr/share/doc/packages/apache2/README.QUICKSTART


# Overview of include files, chronologically:
#
# httpd.conf
# |
# |-- uid.conf . . . . . . . . . . . . . . UserID/GroupID to run under
# |-- server-tuning.conf . . . . . . . . . sizing of the server (how many processes to start, ...)
# |-- sysconfig.d/loadmodule.conf . . . . . load these modules
# |-- listen.conf . . . . . . . . . . . . . IP adresses / ports to listen on
# |-- mod_log_config.conf . . . . . . . . . define logging formats
# |-- sysconfig.d/global.conf . . . . . . . server-wide general settings
# |-- mod_status.conf . . . . . . . . . . . restrict access to mod_status (server monitoring)
# |-- mod_info.conf . . . . . . . . . . . . restrict access to mod_info
# |-- mod_usertrack.conf . . . . . . . . . defaults for cookie-based user tracking
# |-- mod_autoindex-defaults.conf . . . . . defaults for displaying of server-generated directory listings
# |-- mod_mime-defaults.conf . . . . . . . defaults for mod_mime configuration
# |-- errors.conf . . . . . . . . . . . . . customize error responses
# |-- ssl-global.conf . . . . . . . . . . . SSL conf that applies to default server _and all_ virtual hosts
# |
# |-- default-server.conf . . . . . . . . . set up the default server that replies to non-virtual-host requests
# | |--mod_userdir.conf . . . . . . . . enable UserDir (if mod_userdir is loaded)
# | `--conf.d/apache2-manual?conf . . . add the docs ('?' = if installed)
# |
# |-- sysconfig.d/include.conf . . . . . . your include files
# | (for each file to be included here, put its name
# | into APACHE_INCLUDE_* in /etc/sysconfig/apache2)
# |
# `-- vhosts.d/ . . . . . . . . . . . . . . for each virtual host, place one file here
# `-- *.conf . . . . . . . . . . . . . (*.conf is automatically included)
#
#
# Files marked are created from sysconfig upon server restart: instead of
# these files, you edit /etc/sysconfig/apache2



# Filesystem layout:
#
# /etc/apache2/
# |-- charset.conv . . . . . . . . . . . . for mod_auth_ldap
# |-- conf.d/
# | |-- apache2-manual.conf . . . . . . . conf that comes with apache2-doc
# | |-- mod_php4.conf . . . . . . . . . . (example) conf that comes with apache2-mod_php4
# | `-- ... . . . . . . . . . . . . . . . other configuration added by packages
# |-- default-server.conf
# |-- errors.conf
# |-- httpd.conf . . . . . . . . . . . . . top level configuration file
# |-- listen.conf
# |-- magic
# |-- mime.types -> ../mime.types
# |-- mod_autoindex-defaults.conf
# |-- mod_info.conf
# |-- mod_log_config.conf
# |-- mod_mime-defaults.conf
# |-- mod_perl-startup.pl
# |-- mod_status.conf
# |-- mod_userdir.conf
# |-- mod_usertrack.conf
# |-- server-tuning.conf
# |-- ssl-global.conf
# |-- ssl.crl/ . . . . . . . . . . . . . . PEM-encoded X.509 Certificate Revocation Lists (CRL)
# |-- ssl.crt/ . . . . . . . . . . . . . . PEM-encoded X.509 Certificates
# |-- ssl.csr/ . . . . . . . . . . . . . . PEM-encoded X.509 Certificate Signing Requests
# |-- ssl.key/ . . . . . . . . . . . . . . PEM-encoded RSA Private Keys
# |-- ssl.prm/ . . . . . . . . . . . . . . public DSA Parameter Files
# |-- sysconfig.d/ . . . . . . . . . . . . files that are created from /etc/sysconfig/apache2
# | |-- global.conf
# | |-- include.conf
# | `-- loadmodule.conf
# |-- uid.conf
# `-- vhosts.d/ . . . . . . . . . . . . . . put your virtual host configuration (*.conf) here
# |-- vhost-ssl.template
# `-- vhost.template



### Global Environment ################################################## ####
#
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests.

# run under this user/group id
Include /etc/apache2/uid.conf

# - how many server processes to start (server pool regulation)
# - usage of KeepAlive
Include /etc/apache2/server-tuning.conf

# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here. If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
ErrorLog /var/log/apache2/error_log

# generated from APACHE_MODULES in /etc/sysconfig/apache2
Include /etc/apache2/sysconfig.d/loadmodule.conf

# IP addresses / ports to listen on
Include /etc/apache2/listen.conf

# predefined logging formats
Include /etc/apache2/mod_log_config.conf

# generated from global settings in /etc/sysconfig/apache2
Include /etc/apache2/sysconfig.d/global.conf

# optional mod_status, mod_info
Include /etc/apache2/mod_status.conf
Include /etc/apache2/mod_info.conf

# optional cookie-based user tracking
# read the documentation before using it!!
Include /etc/apache2/mod_usertrack.conf

# configuration of server-generated directory listings
Include /etc/apache2/mod_autoindex-defaults.conf

# associate MIME types with filename extensions
TypesConfig /etc/apache2/mime.types
DefaultType text/plain
Include /etc/apache2/mod_mime-defaults.conf

# set up (customizable) error responses
Include /etc/apache2/errors.conf

# global (server-wide) SSL configuration, that is not specific to
# any virtual host
Include /etc/apache2/ssl-global.conf

# forbid access to the entire filesystem by default
<Directory />
Options None
AllowOverride None
Order deny,allow
Deny from all
</Directory>

# use .htaccess files for overriding,
AccessFileName .htaccess
# and never show them
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>

# List of resources to look for when the client requests a directory
DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php5 index.php4 index.php3 index.pl index.html.var index.aspx default.aspx

### 'Main' server configuration #############################################
#
# The directives in this section set up the values used by the 'main'
# server, which responds to any requests that aren't handled by a
# <VirtualHost> definition. These values also provide defaults for
# any <VirtualHost> containers you may define later in the file.
#
# All of these directives may appear inside <VirtualHost> containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
#
Include /etc/apache2/default-server.conf


# Another way to include your own files
#
# The file below is generated from /etc/sysconfig/apache2,
# include arbitrary files as named in APACHE_CONF_INCLUDE_FILES and
# APACHE_CONF_INCLUDE_DIRS
Include /etc/apache2/sysconfig.d/include.conf


### Virtual server configuration ############################################
#
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs-2.2/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
Include /etc/apache2/vhosts.d/*.conf


# Note: instead of adding your own configuration here, consider
# adding it in your own file (/etc/apache2/httpd.conf.local)
# putting its name into APACHE_CONF_INCLUDE_FILES in
# /etc/sysconfig/apache2 -- this will make system updates
# easier :)

<Directory /var/www/sharedip>
Options +Includes -Indexes
AllowOverride None
AllowOverride Indexes AuthConfig Limit FileInfo
Order allow,deny
Allow from all
<Files ~ "^\.ht">
Deny from all
</Files>
</Directory>

###############ispconfig_log###############
LogFormat "%v||||%b||||%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig
CustomLog "|/root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispconfig_access_log_%Y_%m_%d" combined_ispconfig

<Directory /srv/www/*/web>
Options +Includes -Indexes
AllowOverride None
AllowOverride Indexes AuthConfig Limit FileInfo
Order allow,deny
Allow from all
<Files ~ "^\.ht">
Deny from all
</Files>
</Directory>

<Directory /srv/www/*/user/*/web>
Options +Includes -Indexes
AllowOverride None
AllowOverride Indexes AuthConfig Limit FileInfo
Order allow,deny
Allow from all
<Files ~ "^\.ht">
Deny from all
</Files>
</Directory>

<Directory /srv/www/*/cgi-bin>
Options ExecCGI -Indexes
AllowOverride None
AllowOverride Indexes AuthConfig Limit FileInfo
Order allow,deny
Allow from all
<Files ~ "^\.ht">
Deny from all
</Files>
</Directory>

Include /etc/apache2/vhosts/Vhosts_ispconfig.conf

marce
14.04.08, 06:00
poste einfach mal die relevanten Einträge aus der Apache-Konfig.
Sorry, aber die httpd.conf ist im konkreten Fall völlig unbrauchbar - reine relevanten Infos enthalten.

SUMAS
14.04.08, 06:34
Welche Config-Files möchtest du denn. Hier mal noch welche die für mich relevant wären:

mime.types:


# This file controls what Internet media types are sent to the client for
# given file extension(s). Sending the correct media type to the client
# is important so they know how to handle the content of the file.
# For more information about Internet media types, please read
# RFC 2045, 2046, 2047, 2048, and 2077. The Internet media type
# registry is at <ftp://ftp.iana.org/assignments/media-types/>.

# MIME type Extension
application/andrew-inset ez
application/chemtool cht
application/dicom dcm
application/docbook+xml docbook
application/illustrator ai
application/mac-binhex40
application/mathematica nb
application/msword doc
application/octet-stream bin
application/oda oda
application/ogg ogg
application/pdf pdf
application/pgp pgp
application/pgp-encrypted
application/pgp-encrypted pgp gpg
application/pgp-keys
application/pgp-keys skr pkr
application/pgp-signature
application/pgp-signature sig
application/pkcs7-mime
application/pkcs7-signature p7s
application/postscript ps
application/rtf rtf
application/sdp sdp
application/smil smil smi sml
application/stuffit sit
application/vnd.corel-draw cdr
application/vnd.hp-hpgl hpgl
application/vnd.hp-pcl pcl
application/vnd.lotus-1-2-3 123 wk1 wk3 wk4 wks
application/vnd.mozilla.xul+xml xul
application/vnd.ms-excel xls xlc xll xlm xlw xla xlt xld
application/vnd.ms-powerpoint ppz ppt pps pot
application/vnd.oasis.opendocument.chart odc
application/vnd.oasis.opendocument.database odb
application/vnd.oasis.opendocument.formula odf
application/vnd.oasis.opendocument.graphics odg
application/vnd.oasis.opendocument.graphics-template otg
application/vnd.oasis.opendocument.image odi
application/vnd.oasis.opendocument.presentation odp
application/vnd.oasis.opendocument.presentation-template otp
application/vnd.oasis.opendocument.spreadsheet ods
application/vnd.oasis.opendocument.spreadsheet-template ots
application/vnd.oasis.opendocument.text odt
application/vnd.oasis.opendocument.text-master odm
application/vnd.oasis.opendocument.text-template ott
application/vnd.oasis.opendocument.text-web oth
application/vnd.palm pdb
application/vnd.rn-realmedia
application/vnd.rn-realmedia rm
application/vnd.rn-realmedia-secure rms
application/vnd.rn-realmedia-vbr rmvb
application/vnd.stardivision.calc sdc
application/vnd.stardivision.chart sds
application/vnd.stardivision.draw sda
application/vnd.stardivision.impress sdd sdp
application/vnd.stardivision.mail smd
application/vnd.stardivision.math smf
application/vnd.stardivision.writer sdw vor sgl
application/vnd.sun.xml.calc sxc
application/vnd.sun.xml.calc.template stc
application/vnd.sun.xml.draw sxd
application/vnd.sun.xml.draw.template std
application/vnd.sun.xml.impress sxi
application/vnd.sun.xml.impress.template sti
application/vnd.sun.xml.math sxm
application/vnd.sun.xml.writer sxw
application/vnd.sun.xml.writer.global sxg
application/vnd.sun.xml.writer.template stw
application/vnd.wordperfect wpd
application/x-abiword abw abw.CRASHED abw.gz zabw
application/x-amipro sam
application/x-anjuta-project prj
application/x-applix-spreadsheet as
application/x-applix-word aw
application/x-arc
application/x-archive a
application/x-arj arj
application/x-asax asax
application/x-ascx ascx
application/x-ashx ashx
application/x-asix asix
application/x-asmx asmx
application/x-asp asp
application/x-aspx aspx
application/x-awk
application/x-axd axd
application/x-bcpio bcpio
application/x-bittorrent torrent
application/x-blender blender blend BLEND
application/x-bzip bz bz2
application/x-bzip bz2 bz
application/x-bzip-compressed-tar tar.bz tar.bz2
application/x-bzip-compressed-tar tar.bz tar.bz2 tbz tbz2
application/x-cd-image iso
application/x-cgi cgi
application/x-chess-pgn pgn
application/x-chm chm
application/x-class-file
application/x-cmbx cmbx
application/x-compress Z
application/x-compressed-tar tar.gz tar.Z tgz taz
application/x-compressed-tar tar.gz tgz
application/x-config config
application/x-core
application/x-cpio cpio
application/x-cpio-compressed cpio.gz
application/x-csh csh
application/x-cue cue
application/x-dbase dbf
application/x-dbm
application/x-dc-rom dc
application/x-deb deb
application/x-designer ui
application/x-desktop desktop kdelnk
application/x-devhelp devhelp
application/x-dia-diagram dia
application/x-disco disco
application/x-dvi dvi
application/x-e-theme etheme
application/x-egon egon
application/x-executable exe
application/x-font-afm afm
application/x-font-bdf bdf
application/x-font-dos
application/x-font-framemaker
application/x-font-libgrx
application/x-font-linux-psf psf
application/x-font-otf
application/x-font-pcf pcf
application/x-font-pcf pcf.gz
application/x-font-speedo spd
application/x-font-sunos-news
application/x-font-tex
application/x-font-tex-tfm
application/x-font-ttf ttc TTC
application/x-font-ttf ttf
application/x-font-type1 pfa pfb gsf pcf.Z
application/x-font-vfont
application/x-frame
application/x-frontline aop
application/x-gameboy-rom gb
application/x-gdbm
application/x-gdesklets-display display
application/x-genesis-rom gen md
application/x-gettext-translation gmo
application/x-glabels glabels
application/x-glade glade
application/x-gmc-link
application/x-gnome-db-connection connection
application/x-gnome-db-database database
application/x-gnome-stones caves
application/x-gnucash gnucash gnc xac
application/x-gnumeric gnumeric
application/x-graphite gra
application/x-gtar gtar
application/x-gtktalog
application/x-gzip gz
application/x-gzpostscript ps.gz
application/x-hdf hdf
application/x-ica ica
application/x-ipod-firmware
application/x-jamin jam
application/x-jar jar
application/x-java class
application/x-java-archive jar ear war
application/x-java-jnlp-file jnlp
application/x-javascript js
application/x-jbuilder-project jpr jpx
application/x-karbon karbon
application/x-kchart chrt
application/x-kformula kfo
application/x-killustrator kil
application/x-kivio flw
application/x-kontour kon
application/x-kpovmodeler kpm
application/x-kpresenter kpr kpt
application/x-krita kra
application/x-kspread ksp
application/x-kspread-crypt
application/x-ksysv-package
application/x-kugar kud
application/x-kword kwd kwt
application/x-kword-crypt
application/x-lha lha lzh
application/x-lha lzh
application/x-lhz lhz
application/x-linguist ts
application/x-lyx lyx
application/x-lzop lzo
application/x-lzop-compressed-tar tar.lzo tzo
application/x-macbinary
application/x-machine-config
application/x-magicpoint mgp
application/x-master-page master
application/x-matroska mkv
application/x-mdp mdp
application/x-mds mds
application/x-mdsx mdsx
application/x-mergeant mergeant
application/x-mif mif
application/x-mozilla-bookmarks
application/x-mps mps
application/x-ms-dos-executable exe
application/x-mswinurl
application/x-mswrite wri
application/x-msx-rom msx
application/x-n64-rom n64
application/x-nautilus-link
application/x-nes-rom nes
application/x-netcdf cdf nc
application/x-netscape-bookmarks
application/x-object o
application/x-ole-storage
application/x-oleo oleo
application/x-palm-database
application/x-palm-database pdb prc
application/x-par2 PAR2 par2
application/x-pef-executable
application/x-perl pl pm al perl
application/x-php php php3 php4
application/x-pkcs12 p12 pfx
application/x-planner planner mrproject
application/x-planperfect pln
application/x-prjx prjx
application/x-profile
application/x-ptoptimizer-script pto
application/x-pw pw
application/x-python-bytecode pyc pyo
application/x-quattro-pro wb1 wb2 wb3
application/x-quattropro wb1 wb2 wb3
application/x-qw qif
application/x-rar rar
application/x-rar-compressed rar
application/x-rdp rdp
application/x-reject rej
application/x-remoting rem
application/x-resources resources
application/x-resourcesx resx
application/x-rpm rpm
application/x-ruby
application/x-sc
application/x-sc sc
application/x-scribus sla sla.gz scd scd.gz
application/x-shar shar
application/x-shared-library-la la
application/x-sharedlib so
application/x-shellscript sh
application/x-shockwave-flash swf
application/x-siag siag
application/x-slp
application/x-smil kino
application/x-smil smi smil
application/x-sms-rom sms gg
application/x-soap-remoting soap
application/x-streamingmedia ssm
application/x-stuffit
application/x-stuffit bin sit
application/x-sv4cpio sv4cpio
application/x-sv4crc sv4crc
application/x-tar tar
application/x-tarz tar.Z
application/x-tex-gf gf
application/x-tex-pk k
application/x-tgif obj
application/x-theme theme
application/x-toc toc
application/x-toutdoux
application/x-trash bak old sik
application/x-troff tr roff t
application/x-troff-man man
application/x-troff-man-compressed
application/x-tzo tar.lzo tzo
application/x-ustar ustar
application/x-wais-source src
application/x-web-config
application/x-wpg wpg
application/x-wsdl wsdl
application/x-x509-ca-cert der cer crt cert pem
application/x-xbel xbel
application/x-zerosize
application/x-zoo zoo
application/xhtml+xml xhtml
application/zip zip
audio/ac3 ac3
audio/basic au snd
audio/midi mid midi
audio/mpeg mp3
audio/prs.sid sid psid
audio/vnd.rn-realaudio ra
audio/x-aac aac
audio/x-adpcm
audio/x-aifc
audio/x-aiff aif aiff
audio/x-aiff aiff aif aifc
audio/x-aiffc
audio/x-flac flac
audio/x-it it
audio/x-m4a m4a
audio/x-mod mod ult uni XM m15 mtm 669
audio/x-mp3-playlist
audio/x-mpeg
audio/x-mpegurl m3u
audio/x-ms-asx
audio/x-pn-realaudio ra ram rm
audio/x-pn-realaudio ram rmm
audio/x-riff
audio/x-s3m s3m
audio/x-scpls pls
audio/x-scpls pls xpl
audio/x-stm stm
audio/x-voc voc
audio/x-wav wav
audio/x-xi xi
audio/x-xm xm
image/bmp bmp
image/cgm cgm
image/dpx
image/fax-g3 g3
image/g3fax
image/gif gif
image/ief ief
image/jpeg jpeg jpg jpe
image/jpeg2000 jp2
image/png png
image/rle rle
image/svg+xml svg
image/tiff tif tiff
image/vnd.djvu djvu djv
image/vnd.dwg dwg
image/vnd.dxf dxf
image/x-3ds 3ds
image/x-applix-graphics ag
image/x-cmu-raster ras
image/x-compressed-xcf xcf.gz xcf.bz2
image/x-dcraw bay BAY bmq BMQ cr2 CR2 crw CRW cs1 CS1 dc2 DC2 dcr DCR fff FFF k25 K25 kdc KDC mos MOS mrw MRW nef NEF orf ORF pef PEF raf RAF rdc RDC srf SRF x3f X3F
image/x-dib
image/x-eps eps epsi epsf
image/x-fits fits
image/x-fpx
image/x-icb icb
image/x-ico ico
image/x-iff iff
image/x-ilbm ilbm
image/x-jng jng
image/x-lwo lwo lwob
image/x-lws lws
image/x-msod msod
image/x-niff
image/x-pcx
image/x-photo-cd pcd
image/x-pict pict pict1 pict2
image/x-portable-anymap pnm
image/x-portable-bitmap pbm
image/x-portable-graymap pgm
image/x-portable-pixmap ppm
image/x-psd psd
image/x-rgb rgb
image/x-sgi sgi
image/x-sun-raster sun
image/x-tga tga
image/x-win-bitmap cur
image/x-wmf wmf
image/x-xbitmap xbm
image/x-xcf xcf
image/x-xfig fig
image/x-xpixmap xpm
image/x-xwindowdump xwd
inode/blockdevice
inode/chardevice
inode/directory
inode/fifo
inode/mount-point
inode/socket
inode/symlink
message/delivery-status
message/disposition-notification
message/external-body
message/news
message/partial
message/rfc822
message/x-gnu-rmail
model/vrml wrl
multipart/alternative
multipart/appledouble
multipart/digest
multipart/encrypted
multipart/mixed
multipart/related
multipart/report
multipart/signed
multipart/x-mixed-replace
text/calendar vcs ics
text/css css CSSL
text/directory vcf vct gcrd
text/enriched
text/html html htm
text/htmlh
text/mathml mml
text/plain txt asc
text/rdf rdf
text/rfc822-headers
text/richtext rtx
text/rss rss
text/sgml sgml sgm
text/spreadsheet sylk slk
text/tab-separated-values tsv
text/vnd.rn-realtext rt
text/vnd.wap.wml wml
text/x-adasrc adb ads
text/x-authors
text/x-bibtex bib
text/x-boo boo
text/x-c++hdr hh
text/x-c++src cpp cxx cc C c++
text/x-chdr h h++ hp
text/x-comma-separated-values csv
text/x-copying
text/x-credits
text/x-csharp cs
text/x-csrc c
text/x-dcl dcl
text/x-dsl dsl
text/x-dsrc d
text/x-dtd dtd
text/x-emacs-lisp el
text/x-fortran f
text/x-gettext-translation po
text/x-gettext-translation-template pot
text/x-gtkrc
text/x-haskell hs
text/x-idl idl
text/x-install
text/x-java java
text/x-js js
text/x-ksysv-log
text/x-literate-haskell lhs
text/x-log log
text/x-makefile
text/x-moc moc
text/x-msil il
text/x-nemerle n
text/x-objcsrc m
text/x-pascal p pas
text/x-patch diff patch
text/x-python py
text/x-readme
text/x-rng rng
text/x-scheme scm
text/x-setext etx
text/x-speech
text/x-sql sql
text/x-tcl tcl tk
text/x-tex tex ltx sty cls
text/x-texinfo texi texinfo
text/x-texmacs tm ts
text/x-troff-me me
text/x-troff-mm mm
text/x-troff-ms ms
text/x-uil uil
text/x-uri uri url
text/x-vb vb
text/x-xds xds
text/x-xmi xmi
text/x-xsl xsl
text/x-xslfo fo xslfo
text/x-xslt xslt xsl
text/xmcd
text/xml xml
video/3gpp 3gp
video/dv dv dif
video/isivideo
video/mpeg mpeg mpg mp2 mpe vob dat
video/quicktime qt mov moov qtvr
video/vivo
video/vnd.rn-realvideo rv
video/wavelet
video/x-3gpp2 3g2
video/x-anim anim[1-9j]
video/x-avi
video/x-flic fli flc
video/x-mng mng
video/x-ms-asf asf asx
video/x-ms-wmv wmv
video/x-msvideo avi
video/x-nsv nsv NSV
video/x-real-video
video/x-sgi-movie movie


loadmodule.conf


#
# Files in this directory are created at apache start time by /usr/sbin/rcapache2
# Do not edit them!
#

# as listed in APACHE_MODULES (/etc/sysconfig/apache2)

LoadModule php5_module /usr/lib/apache2/mod_php5.so
LoadModule actions_module /usr/lib/apache2-prefork/mod_actions.so
LoadModule alias_module /usr/lib/apache2-prefork/mod_alias.so
LoadModule auth_basic_module /usr/lib/apache2-prefork/mod_auth_basic.so
LoadModule authn_file_module /usr/lib/apache2-prefork/mod_authn_file.so
LoadModule authz_host_module /usr/lib/apache2-prefork/mod_authz_host.so
LoadModule authz_groupfile_module /usr/lib/apache2-prefork/mod_authz_groupfile.so
LoadModule authz_default_module /usr/lib/apache2-prefork/mod_authz_default.so
LoadModule authz_user_module /usr/lib/apache2-prefork/mod_authz_user.so
LoadModule authn_dbm_module /usr/lib/apache2-prefork/mod_authn_dbm.so
LoadModule autoindex_module /usr/lib/apache2-prefork/mod_autoindex.so
LoadModule cgi_module /usr/lib/apache2-prefork/mod_cgi.so
LoadModule dir_module /usr/lib/apache2-prefork/mod_dir.so
LoadModule env_module /usr/lib/apache2-prefork/mod_env.so
LoadModule expires_module /usr/lib/apache2-prefork/mod_expires.so
LoadModule include_module /usr/lib/apache2-prefork/mod_include.so
LoadModule log_config_module /usr/lib/apache2-prefork/mod_log_config.so
LoadModule mime_module /usr/lib/apache2-prefork/mod_mime.so
LoadModule negotiation_module /usr/lib/apache2-prefork/mod_negotiation.so
LoadModule setenvif_module /usr/lib/apache2-prefork/mod_setenvif.so
LoadModule ssl_module /usr/lib/apache2-prefork/mod_ssl.so
LoadModule suexec_module /usr/lib/apache2-prefork/mod_suexec.so
LoadModule userdir_module /usr/lib/apache2-prefork/mod_userdir.so
LoadModule rewrite_module /usr/lib/apache2-prefork/mod_rewrite.so
#


/etc/sysconfig/apache2:


## Path: Network/WWW/Apache2
## Description: Configuration for Apache 2
## Type: string
## Default: ""
## ServiceRestart: apache2
#
# Here you can name files, separated by spaces, that should be Include'd from
# httpd.conf.
#
# This allows you to add e.g. VirtualHost statements without touching
# /etc/apache2/httpd.conf itself, which makes upgrading easier.
#
APACHE_CONF_INCLUDE_FILES=""

## Type: string
## Default: ""
## ServiceRestart: apache2
#
# Here you can name directories, separated by spaces, that should be Include'd
# from httpd.conf.
#
# All files contained in these directories will be recursively included by apache.
# If a pattern like *.conf is appended, apache will use it.
#
# Examples: "/etc/apache2/my_conf/"
# "/etc/apache2/virtual_hosts/*.conf"
# "local/*.conf /srv/www/virtual/"
#
APACHE_CONF_INCLUDE_DIRS=""

## Type: string
## Default: "actions alias auth_basic authz_host authn_file authz_groupfile authz_default authz_user autoindex cgi dir env expires include log_config mime negotiation setenvif ssl suexec userdir php5"
## ServiceRestart: apache2
#
# [It might look silly to not simply edit httpd.conf for the LoadModule statements.
# However, since the LoadModule statements might need an absolute path to the modules,
# switching between MPMs can be quite a hassle. It's easier to just give the names here.]
#
# * list of all modules shipped with the base distribution:
#
# actions alias asis auth_basic auth_digest authn_alias authn_anon
# authn_dbd authn_dbm authn_default authn_file authnz_ldap authz_dbm
# authz_default authz_groupfile authz_host authz_owner authz_user
# autoindex bucketeer cache case_filter case_filter_in cern_meta cgi
# charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio
# echo env expires ext_filter file_cache filter headers ident imagemap
# include info ldap log_config log_forensic logio mem_cache mime mime_magic
# negotiation optional_fn_export optional_fn_import optional_hook_export
# optional_hook_import proxy proxy_ajp proxy_balancer proxy_connect
# proxy_ftp proxy_http rewrite setenvif speling ssl status suexec unique_id
# userdir usertrack version vhost_alias
#
# see http://httpd.apache.org/docs-2.2/mod/ !
#
# * It pays to use IfDefine statements... like
# <IfModule mod_xyz.c>
# ....
# </IfModule>
#
# * In the APACHE_MODULES variable, you can use mod_xyz or just xyz syntax.
# You may also name an absolute path if you like.
#
# * NOTE ON MOD_SSL: before you can enable this module, you need a server certificate.
# A test certificate can be created by entering
# 'cd /usr/share/doc/packages/apache2; ./certificate.sh' as root.
# Also, you need to set the ServerName inside the <VirtualHost _default_:443>
# block to the fully qualified domain name (see /etc/HOSTNAME).
#
# * if your server certificate is protected by a passphrase you should increase the
# APACHE_START_TIMEOUT (see above)
#
# * modules listed here will be ignored if they are not installed
#
#
# EXAMPLES:
#
# fairly minimal
# APACHE_MODULES="authz_host alias auth dir log_config mime setenvif"
#
# apache's default installation
# APACHE_MODULES="authz_host actions alias asis auth autoindex cgi dir imap include log_config mime negotiation setenvif status userdir"
# your settings
APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile authz_default authz_user authn_dbm autoindex cgi dir env expires include log_config mime negotiation setenvif ssl suexec userdir php5 rewrite"


## Type: string
## Default: ""
## ServiceRestart: apache2
#
# Additional server flags:
#
# Put here any server flags ("Defines") that you want to hand over to
# httpd at start time, or other command line flags.
#
# Background: Any directives within an <IfDefine flag>...</IfDefine>
# section are only processed if the flag is defined.
# This allows to write configuration which is active only in a
# special cases, like during server maintenance, or for testing
# something temporarily.
#
# Notably, to enable SSL support, 'SSL' needs to be added here.
# To enable the server-status, 'STATUS' needs to be added here.
#
# It does not matter if you write flag1, -D flag1 or -Dflag1.
# Multiple flags can be given as "-D flag1 -D flag2" or simply "flag1 flag2".
#
# Specifying such flags here is equivalent to giving them on the commandline.
# (e.g. via rcapache2 start -DReverseProxy)
#
# Example:
# "SSL STATUS AWSTATS SVN_VIEWCVS no_subversion_today"
#
APACHE_SERVER_FLAGS="SSL"

## Type: string
## Default: ""
## ServiceRestart: apache2
#
# Which config file do you want to use?
# (if not set, /etc/apache2/httpd.conf is used.)
# It is unusual to need to use this setting.
#
APACHE_HTTPD_CONF=""

## Type: list(prefork,worker)
## Default: ""
## ServiceRestart: apache2
#
# MPM (multi-processing module) to use.
#
# Needed to determine with which MPM apache will run, as well as
# against which header files modules will be built.
#
# If not set, the system will simply pick one of the installed MPMs.
#
# The implementation of the logic is in /usr/share/apache2/find_mpm,
# a script which can be used standalone as well if needed.
#
APACHE_MPM=""

## Type: string
## Default: ""
## ServiceReload: apache2
#
# email address of the server administrator (ServerAdmin directive)
# This address is added to the server's responses if APACHE_SERVERSIGNATURE
# is set to "email".
#
# If empty ("") it defaults to webmaster@$FQHOSTNAME, where FQHOSTNAME is
# taken from /etc/HOSTNAME.
#
# Note that ServerAdmin directives inside VirtualHost statements are not
# changed, even not the one in the stock SSL virtual host block.
#
APACHE_SERVERADMIN=""

## Type: string
## Default: ""
## ServiceReload: apache2
#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If this is not set to valid DNS name for your host, server-generated
# redirections will not work. See also the UseCanonicalName directive.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address anyway, and this will make
# redirections work in a sensible way.
#
APACHE_SERVERNAME=""

## Type: integer
## Default: 2
#
# timeout during server startup (seconds)
# after this time, the start script decides wether the httpd process started without error.
#
# Increase it, if you use mod_ssl and your certificate is passphrase protected!
#
APACHE_START_TIMEOUT="2"

## Type: list(on,off,email)
## Default: "on"
## ServiceReload: apache2
#
# Configures the footer on server-generated documents
# This correlates to the ServerSignature directive.
#
APACHE_SERVERSIGNATURE="on"

## Type: list(debug,info,notice,warn,error,crit,alert,emerg )
## Default: "warn"
## ServiceReload: apache2
#
# LogLevel: Control the number of messages logged to the error_log.
#
APACHE_LOGLEVEL="warn"

## Type: string
## Default: "/var/log/apache2/access_log combined"
## ServiceRestart: apache2
#
# The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a <VirtualHost>
# container, they will be logged here. Contrarywise, if you *do*
# define per-<VirtualHost> access logfiles, transactions will be
# logged therein and *not* in this file.
#
# Simply set it to empty, if you configure it yourself somewhere else.
#
# Examples:
#
# If you would like to have agent and referer logfiles:
#
# setting it to "/var/log/apache2/referer_log referer, /var/log/apache2/agent_log agent"
# corresponds to
# CustomLog /var/log/apache2/referer_log referer
# CustomLog /var/log/apache2/agent_log agent
#
# If you prefer a single logfile with access, agent, and referer information
# (Combined Logfile Format):
#
# setting it to "/var/log/apache2/access_log combined"
# corresponds to
# CustomLog /var/log/apache2/access_log combined
#
APACHE_ACCESS_LOG="/var/log/apache2/access_log combined"

## Type: list(On,Off,DNS)
## Default: "Off"
## ServiceReload: apache2
#
# UseCanonicalName: Determines how Apache constructs self-referencing
# URLs and the SERVER_NAME and SERVER_PORT variables.
# When set "Off", Apache will use the Hostname and Port supplied
# by the client. When set "On", Apache will use the value of the
# ServerName directive.
#
APACHE_USE_CANONICAL_NAME="off"

## Type: list(Major,Minor,Minimal,ProductOnly,OS,Full)
## Default: "OS"
## ServiceReload: apache2
#
# How much information the server response header field contains about the server.
# (installed modules, versions, etc.)
# see http://httpd.apache.org/docs-2.2/mod/core.html#servertokens
#
APACHE_SERVERTOKENS="OS"

## Type: list(on,off)
## Default: "off"
## ServiceReload: apache2
#
# If mod_status is used, include extended information about the server, like
# CPU usage, in the status report. It is a server-wide setting, and it can cost
# some performance!
#
APACHE_EXTENDED_STATUS="off"

## Type: list(on,off)
## Default: "off"
## ServiceRestart: apache2
#
# Enable buffered logging
#
APACHE_BUFFERED_LOGS="off"

## Type: integer
## Default: 300
## ServiceReload: apache2
#
# Timeout: The number of seconds before receives and sends time out.
# It is a server wide setting.
#
APACHE_TIMEOUT="300"

marce
14.04.08, 06:44
Ich hätte gerne noch die Def. des vhost / der Domain und den Part, wo die Verknüpfungen zu php definiert werden... (sowas in der Art von AddType application/x-httpd-php .php)

SUMAS
14.04.08, 06:52
hab auch schon versucht

AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps

der http.conf hinzuzufügen, aber ohne erfolg. aber explizit hab ich die einträge nirgendwo gefunden.

nur in der oben genannten mime.types ist das hier:
application/x-php php php3 php4
vorhanden!

meinst du die?

/etc/apache2/vhosts/Vhosts_ispconfig.conf


###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 81.19.215.81:80
<VirtualHost 81.19.215.81:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: paperdesign.irgendeinedomain.org:80
######################################
#
#
<VirtualHost 81.19.215.81:80>
ServerName paperdesign.irgendeinedomain.org:80
ServerAdmin webmaster@irgendeinedomain.org
DocumentRoot /srv/www/web14/web
ServerAlias ibes.org
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
Alias /cgi-bin/ /srv/www/web14/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /srv/www/web14/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode Off
Alias /error/ "/srv/www/web14/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /srv/www/web14/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /srv/www/web14/user/$1/web/$3
</VirtualHost>
#
#
#


kann das sein, dass

SetOutputFilter PHP
SetInputFilter PHP

veraltet ist? hatte ich mal irgendwo gelesen!?

marce
14.04.08, 07:06
Was willst Du mit den Filtern denn errreichen?

... und - in Verbindung mit der Fehlermeldung
an unknown filter was not added: PHP - was sagt Dir das?


edit: übrigens würde ich Dir empfehlen, solche Experimente nicht an einem Root-Server zu machen sondern an einer Kiste, die irgendwo abgeschottet im stillen Kämmerlein steht. Weitergehende Vermutungen unterlasse ich einfach mal...

SUMAS
14.04.08, 07:26
Ich hab den Filter nicht eingerichtet! Ist der denn das Problem? Hatte mich mit der Fehlermeldung schon beschäftigt. Ich sollte einfach nur

<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>

durch

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

ersetzen (siehe hier (http://bugs.php.net/bug.php?id=22881)).

Aber dadurch läuft das immer noch nicht. woran kann es denn noch liegen?

Zu deinem edit: Das ist nur ein selbst augesetzter virtueller Server auf einem anderen Root-Server. Von daher erstmal nicht so wild.

marce
14.04.08, 07:45
"Es läuft nicht" ist keine Fehlermeldung.

Wenn Du die Änderung machst - was kommt dann nach dem Apache-Neustart als Meldung im Logfile (alternativ ein configtest), was steht ansonsten im error- oder access-log, Browsercache gelehrt, wie sieht nun die konkrete vhost-Konfiguration aus, ...?

Für konkrete Hilfe brauchen wir konkrete Fakten. Auf Ratespielchen hat hier keiner Lust.

... und doch, es ist wild. Auf produktiven Systemen "spielt" man nicht herum.

SUMAS
14.04.08, 08:01
Browser-Cache geleert -> Keine Änderung.

Die vHost sieht jetzt so aus:


###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 81.19.215.81:80
<VirtualHost 81.19.215.81:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: paperdesign.irgendeinedomain.org:80
######################################
#
#
<VirtualHost 81.19.215.81:80>
ServerName paperdesign.irgendeinedomain.org:80
ServerAdmin webmaster@irgendeinedomain.org
DocumentRoot /srv/www/web14/web
ServerAlias ibes.org
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
Alias /cgi-bin/ /srv/www/web14/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /srv/www/web14/log/error.log

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

php_admin_flag safe_mode Off
Alias /error/ "/srv/www/web14/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /srv/www/web14/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /srv/www/web14/user/$1/web/$3
</VirtualHost>
#
#
#


ErrorLog von /srv/www/web14/log/error.log


[Mon Apr 14 08:52:11 2008] [error] [client 84.19.215.67] File does not exist: /srv/www/web14/web/favicon.ico
[Mon Apr 14 08:52:11 2008] [error] [client 84.19.215.67] File does not exist: /srv/www/web14/web/favicon.ico


error_log von apache nach letztem neustart:


[Mon Apr 14 08:40:14 2008] [notice] Graceful restart requested, doing restart
[Mon Apr 14 08:40:14 2008] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Mon Apr 14 08:40:14 2008] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Mon Apr 14 08:40:14 2008] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Mon Apr 14 08:40:15 2008] [notice] Apache/2.2.3 (Linux/SUSE) configured -- resuming normal operations
[Mon Apr 14 08:40:17 2008] [warn] long lost child came home! (pid 24185)
[Mon Apr 14 08:40:17 2008] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/htdocs/
[Mon Apr 14 08:40:17 2008] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/htdocs/
[Mon Apr 14 08:40:17 2008] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/htdocs/
[Mon Apr 14 08:40:17 2008] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/htdocs/
[Mon Apr 14 08:40:17 2008] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/htdocs/
[Mon Apr 14 08:40:17 2008] [error] [client ::1] Directory index forbidden by Options directive: /srv/www/htdocs/
[Mon Apr 14 08:40:25 2008] [notice] caught SIGTERM, shutting down
[Mon Apr 14 08:40:26 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Mon Apr 14 08:40:27 2008] [notice] Apache/2.2.3 (Linux/SUSE) configured -- resuming normal operations



access_log von apache2:


84.19.215.67 - - [14/Apr/2008:08:39:12 +0200] "GET /test.php HTTP/1.1" 200 42 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5"
::1 - - [14/Apr/2008:08:40:15 +0200] "GET / HTTP/1.0" 403 1049 "-" "Apache/2.2.3 (Linux/SUSE) (internal dummy connection)"
::1 - - [14/Apr/2008:08:40:16 +0200] "GET / HTTP/1.0" 403 1049 "-" "Apache/2.2.3 (Linux/SUSE) (internal dummy connection)"
::1 - - [14/Apr/2008:08:40:16 +0200] "GET / HTTP/1.0" 403 1049 "-" "Apache/2.2.3 (Linux/SUSE) (internal dummy connection)"
::1 - - [14/Apr/2008:08:40:16 +0200] "GET / HTTP/1.0" 403 1049 "-" "Apache/2.2.3 (Linux/SUSE) (internal dummy connection)"
::1 - - [14/Apr/2008:08:40:16 +0200] "GET / HTTP/1.0" 403 1049 "-" "Apache/2.2.3 (Linux/SUSE) (internal dummy connection)"
::1 - - [14/Apr/2008:08:40:17 +0200] "GET / HTTP/1.0" 403 1049 "-" "Apache/2.2.3 (Linux/SUSE) (internal dummy connection)"
84.19.215.67 - - [14/Apr/2008:08:52:11 +0200] "GET /favicon.ico HTTP/1.1" 404 1256 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5"
84.19.215.67 - - [14/Apr/2008:08:52:11 +0200] "GET /favicon.ico HTTP/1.1" 404 1256 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5"

SUMAS
14.04.08, 09:44
Hat keiner eine Idee?

marce
14.04.08, 09:47
Öhm, immer langsam mit den jungen Pferden - wir haben hier parallel auch noch anderes zu tun...


edit: wenn ich übrigens den virt. Host von Dir nehme und in einen Apache einbaue - funktioniert er problemlos.

heatwalker
14.04.08, 10:13
Du bist Dir sicher, was den Pfad betrifft?


LoadModule php5_module /usr/lib/apache2/mod_php5.so

Wenn du php5 über Yast installiert hast, sollte der Pfad eigentlich identisch mit den anderen Moduleinträgen sein und
so aussehen.

LoadModule php5_module /usr/lib/apache2-prefork/mod_php5.so

Kontrollier einfach mal in welchen Pfad das Modul nun tatsächlich liegt.

marce
14.04.08, 10:14
das sollte der Apache eigentlich beim configtest oder Start anmeckern...

heatwalker
14.04.08, 10:15
Das ist schon richtig. Ist allerdings der einzige Knackpunkt den ich bis jetzt
entdecken konnte. :)

SUMAS
14.04.08, 17:27
der pfad /usr/lib/apache2/mod_php5.so ist schon richtig so!

wie du kosten mein vHost auf einem Apache zu laufen bekommen?

marce
14.04.08, 18:02
wie du kosten mein vHost auf einem Apache zu laufen bekommen?
Gibt's den Satz auch in verständlich?

SUMAS
14.04.08, 18:23
ups, sorry ;O) ich weiß jetzt garnicht mehr, was ich noch fragen soll...und wo ich noch nach dem problem suchen soll...?