.htaccess Problem

Alles, was den Apache betrifft, kann hier besprochen werden.

.htaccess Problem

Postby Mokus » 30. November 2007 16:53

Hi,
ich habe ein kleines Problem mit der benutzung von einer .htaccess Datei. Ich möchte meine Seite auf meinem rechner bearbeiten habe aber mit htaccess die links vereinfacht.

Das Problem besteht jetzt darin das ich die Seite nicht mehr starten kann wenn ich die .htaccess Datei in den root Ordner verschiebe. Es kommt die ganze Zeit ein Error 500 und ich weiß ehrlich nicht wodran es liegt.
Mokus
 
Posts: 9
Joined: 23. October 2007 13:51

Postby Stepke-DSL » 30. November 2007 17:18

Was steht in den Error-Logs?
Stepke-DSL
 
Posts: 313
Joined: 12. July 2007 16:08
Operating System: Win XP Pro SP3 + SuSe Linux

Postby Mokus » 30. November 2007 18:55

Code: Select all
[Fri Nov 30 16:51:32 2007] [alert] [client 127.0.0.1] C:/xampp/htdocs/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration, referer: http://localhost/Lammpee/extra/Design_BlueSky/lammpee.css
[Fri Nov 30 16:51:33 2007] [alert] [client 127.0.0.1] C:/xampp/htdocs/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration, referer: http://localhost/
[Fri Nov 30 16:51:35 2007] [alert] [client 127.0.0.1] C:/xampp/htdocs/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration, referer: http://localhost/
[Fri Nov 30 16:53:11 2007] [alert] [client 127.0.0.1] C:/xampp/htdocs/.htaccess: Invalid command 'RewriteBase', perhaps misspelled or defined by a module not included in the server configuration, referer: http://localhost/
[Fri Nov 30 16:53:12 2007] [alert] [client 127.0.0.1] C:/xampp/htdocs/.htaccess: Invalid command 'RewriteBase', perhaps misspelled or defined by a module not included in the server configuration, referer: http://localhost/
[Fri Nov 30 16:53:12 2007] [alert] [client 127.0.0.1] C:/xampp/htdocs/.htaccess: Invalid command 'RewriteBase', perhaps misspelled or defined by a module not included in the server configuration, referer: http://localhost/
[Fri Nov 30 16:53:13 2007] [alert] [client 127.0.0.1] C:/xampp/htdocs/.htaccess: Invalid command 'RewriteBase', perhaps misspelled or defined by a module not included in the server configuration, referer: http://localhost/
[Fri Nov 30 16:53:13 2007] [alert] [client 127.0.0.1] C:/xampp/htdocs/.htaccess: Invalid command 'RewriteBase', perhaps misspelled or defined by a module not included in the server configuration, referer: http://localhost/
[Fri Nov 30 16:53:21 2007] [alert] [client 127.0.0.1] C:/xampp/htdocs/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration, referer: http://localhost/
[Fri Nov 30 17:08:05 2007] [alert] [client 134.76.3.92] C:/xampp/htdocs/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration, referer: http://lammpee.homeip.net/
[Fri Nov 30 17:08:23 2007] [alert] [client 134.76.3.92] C:/xampp/htdocs/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration, referer: http://lammpee.homeip.net/
[Fri Nov 30 17:08:23 2007] [alert] [client 134.76.3.92] C:/xampp/htdocs/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration, referer: http://lammpee.homeip.net/
[Fri Nov 30 17:08:23 2007] [alert] [client 134.76.3.92] C:/xampp/htdocs/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration, referer: http://lammpee.homeip.net/
[Fri Nov 30 17:08:41 2007] [warn] (OS 64)Der angegebene Netzwerkname ist nicht mehr verfügbar.  : winnt_accept: Asynchronous AcceptEx failed.
[Fri Nov 30 17:20:49 2007] [alert] [client 127.0.0.1] C:/xampp/htdocs/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[Fri Nov 30 17:20:49 2007] [alert] [client 127.0.0.1] C:/xampp/htdocs/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[Fri Nov 30 17:20:51 2007] [alert] [client 127.0.0.1] C:/xampp/htdocs/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration


Wo schalte ich die jeweiligen Module an?
Mokus
 
Posts: 9
Joined: 23. October 2007 13:51

Postby Wiedmann » 30. November 2007 18:57

Wo schalte ich die jeweiligen Module an?

In der "httpd.conf": LoadModule ...
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Mokus » 30. November 2007 21:20

Ich habe es jetzt so gemacht, aber ich bekomme immer noch einen Fehler.

#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so

LoadModule rewrite_module modules/mod_rewrite.so
AddModule mod_rewrite.c

LoadModule setenvif_module modules/mod_setenvif.so


Code: Select all
[Fri Nov 30 21:18:27 2007] [alert] [client 127.0.0.1] C:/xampp/htdocs/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
Mokus
 
Posts: 9
Joined: 23. October 2007 13:51


Return to Apache

Who is online

Users browsing this forum: No registered users and 6 guests