exithh
Grünschnabel
Hallo leute,
ich sitze seit um 9 vor der kiste und versuche das verflixte mod_rewrite modul zum laufen zu bekommen.
als os benutze ich open suse 10.2
so wie ich das sehe habe ich mod_rewrite aktiviert blos zeigt er mir nur ERROR 404 an?
ein ausschnitt aus dem Error-Log
Ausschnitt von der datei
/etc/sysconfig/apache2
und ein Ausschnitt meiner .htaccess
und ein Ausschnitt meiner .httpd.conf
ich sitze seit um 9 vor der kiste und versuche das verflixte mod_rewrite modul zum laufen zu bekommen.
als os benutze ich open suse 10.2
so wie ich das sehe habe ich mod_rewrite aktiviert blos zeigt er mir nur ERROR 404 an?
ein ausschnitt aus dem Error-Log
Code:
[Thu Sep 13 16:43:44 2007] [notice] Apache/2.2.3 (Linux/SUSE) configured -- resuming normal operations
[Thu Sep 13 16:45:21 2007] [error] [client 127.0.0.1] File does not exist: /srv/www/htdocs/info.html
[Thu Sep 13 16:45:23 2007] [error] [client 127.0.0.1] File does not exist: /srv/www/htdocs/info.html
[Thu Sep 13 16:45:23 2007] [error] [client 127.0.0.1] File does not exist: /srv/www/htdocs/info.html
[Thu Sep 13 16:45:24 2007] [error] [client 127.0.0.1] File does not exist: /srv/www/htdocs/info.html
[Thu Sep 13 16:46:25 2007] [notice] caught SIGTERM, shutting down
[Thu Sep 13 16:46:26 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Sep 13 16:46:26 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Thu Sep 13 16:46:26 2007] [notice] Apache/2.2.3 (Linux/SUSE) configured -- resuming normal operations
[Thu Sep 13 16:46:43 2007] [error] [client 127.0.0.1] File does not exist: /srv/www/htdocs/info.
[Thu Sep 13 16:46:48 2007] [error] [client 127.0.0.1] File does not exist: /srv/www/htdocs/info.html
[Thu Sep 13 16:54:55 2007] [error] [client 127.0.0.1] File does not exist: /srv/www/htdocs/info.html
[Thu Sep 13 16:54:58 2007] [error] [client 127.0.0.1] File does not exist: /srv/www/htdocs/info.html
Ausschnitt von der datei
/etc/sysconfig/apache2
Code:
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 proxy"
und ein Ausschnitt meiner .htaccess
Code:
RewriteEngine On
RewriteRule info.html$ info.php
und ein Ausschnitt meiner .httpd.conf
Code:
### 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
#AddModule mod_rewrite.c
# - 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.html.var
### '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 :)