Kein mod_rewrite

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

Postby StefanRHRO » 19. March 2006 20:31

Hy, ich habe das gleiche Problem... habe das selbe Projekt unter Debian Sarge ausgecheckt und da läuft das wunder bar... nur halt unter Xampp irgendwie net... :( bekomme den Fehler, den ihr hier sehen könnt: und meine .htaccess sieht so aus:
Code: Select all
# Some important php settings
php_value session.use_trans_sid 0
php_value session.use_only_cookies 1
php_value session.auto_start 0
php_value session.gc_maxlifetime 3600
php_value register_globals 0
php_value magic_quotes_gpc 0

# max. 6 files + 512 Byte other form data
php_value post_max_size         62915072

# Rewrite engine
RewriteEngine On
RewriteBase     /

RewriteRule     robots.txt - [L]
RewriteRule     favicon.ico - [L]
RewriteRule     ^$ /index.php [L]
RewriteRule     ^/$ /index.php [L]
RewriteCond     %{REQUEST_URI} !-d
RewriteCond     %{REQUEST_URI} !-f
RewriteCond     %{QUERY_STRING} !^lang=
RewriteRule      ^([a-z]{2,2})/(.*) $2?lang=$1 [QSA,L]

RewriteRule     (.+).html$ /$1.php [L]

RewriteCond     %{REQUEST_URI} !-d
RewriteCond     %{REQUEST_URI} !-f
RewriteCond     %{REQUEST_URI} !^/$
RewriteRule     !.(gif|htm|html|php|css|png|jpg|pdf|js\.(.+)|txt)$ /index.php [L]

Und im Errorlog steht halt, dass er das Verzeichnis /de nicht finden kann... was ja durch mod_rewrite gebaut wird... und hier nochmal die Vhost.conf

Code: Select all
# Virtual Hosts
# 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:>
# for further details before you try to setup virtual hosts.
# You may use the command line option '-S' to verify your virtual host
# configuration.

# Use name-based virtual hosting.
NameVirtualHost *:6010
Listen 6010
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
<VirtualHost *:6010>
   <Directory "C:/xampp/xampp/htdocs/friends/htdocs">
      Options Indexes FollowSymLinks Includes ExecCGI
       AllowOverride None
       Order allow,deny
       Allow from all
    DocumentRoot "C:/xampp/xampp/htdocs/friends/htdocs"
    ErrorLog "C:/xampp/xampp/apache/logs/friends_error.log"
    CustomLog "C:/xampp/xampp/apache/logs/friends_error.log" common

Würde mich über Hilfe freuen...
Posts: 1
Joined: 19. March 2006 20:17


Return to XAMPP für Windows

Who is online

Users browsing this forum: MichaelHi and 16 guests