Jump to content
php.lv forumi

Problema ar htaccess un rewrite


RaaapuLis

Recommended Posts

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@gintars.lv and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Apache/2.2.4 (Win32) PHP/5.2.1 Server at localhost Port 80

 

kas tas ir par erroru, un kā viņu atrisināt?

Man ir Win Vista

 

p.s. errors parādās tiak cms`iem vai lietām, kurās ir .htaccess faili. Ja fails tukš iet, kā ierkasta RewriteEngine On/Off neiet

Link to comment
Share on other sites

erroru logs:

 

[Thu Jul 24 23:34:10 2008] [alert] [client 127.0.0.1] C:/AppServ/www/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

 

.htaccess

 

RewriteEngine On
RewriteRule ^lv?(.*)$ lv.php [L]

Link to comment
Share on other sites

[Fri Jul 25 09:29:14 2008] [notice] Apache/2.2.4 (Win32) PHP/5.2.1 configured -- resuming normal operations
[Fri Jul 25 09:29:14 2008] [notice] Server built: Jan  9 2007 23:17:20
[Fri Jul 25 09:29:14 2008] [notice] Parent: Created child process 512
[Fri Jul 25 09:29:14 2008] [notice] Child 512: Child process is running
[Fri Jul 25 09:29:14 2008] [notice] Child 512: Acquired the start mutex.
[Fri Jul 25 09:29:14 2008] [notice] Child 512: Starting 64 worker threads.
[Fri Jul 25 09:29:14 2008] [notice] Child 512: Starting thread to listen on port 80.
[Fri Jul 25 09:29:44 2008] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Fri Jul 25 09:29:44 2008] [notice] Child 512: Exit event signaled. Child process is ending.
[Fri Jul 25 09:29:45 2008] [notice] Child 512: Released the start mutex
[Fri Jul 25 09:29:46 2008] [notice] Child 512: Waiting for 64 worker threads to exit.
[Fri Jul 25 09:29:46 2008] [notice] Child 512: All worker threads have exited.
[Fri Jul 25 09:29:46 2008] [notice] Child 512: Child process is exiting
[Fri Jul 25 09:29:46 2008] [notice] Parent: Child process exited successfully.
[Fri Jul 25 09:29:57 2008] [notice] Apache/2.2.4 (Win32) PHP/5.2.1 configured -- resuming normal operations
[Fri Jul 25 09:29:57 2008] [notice] Server built: Jan  9 2007 23:17:20
[Fri Jul 25 09:29:57 2008] [notice] Parent: Created child process 492
[Fri Jul 25 09:29:57 2008] [notice] Child 492: Child process is running
[Fri Jul 25 09:29:57 2008] [notice] Child 492: Acquired the start mutex.
[Fri Jul 25 09:29:57 2008] [notice] Child 492: Starting 64 worker threads.
[Fri Jul 25 09:29:57 2008] [notice] Child 492: Starting thread to listen on port 80.
[Fri Jul 25 09:30:31 2008] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Fri Jul 25 09:30:31 2008] [notice] Child 492: Exit event signaled. Child process is ending.
[Fri Jul 25 09:30:32 2008] [notice] Child 492: Released the start mutex
[Fri Jul 25 09:30:33 2008] [notice] Child 492: Waiting for 64 worker threads to exit.
[Fri Jul 25 09:30:33 2008] [notice] Child 492: All worker threads have exited.
[Fri Jul 25 09:30:33 2008] [notice] Child 492: Child process is exiting
[Fri Jul 25 09:30:33 2008] [notice] Parent: Child process exited successfully.
[Fri Jul 25 09:35:42 2008] [notice] Apache/2.2.4 (Win32) PHP/5.2.1 configured -- resuming normal operations
[Fri Jul 25 09:35:42 2008] [notice] Server built: Jan  9 2007 23:17:20
[Fri Jul 25 09:35:42 2008] [notice] Parent: Created child process 2248
[Fri Jul 25 09:35:42 2008] [notice] Child 2248: Child process is running
[Fri Jul 25 09:35:42 2008] [notice] Child 2248: Acquired the start mutex.
[Fri Jul 25 09:35:42 2008] [notice] Child 2248: Starting 64 worker threads.
[Fri Jul 25 09:35:42 2008] [notice] Child 2248: Starting thread to listen on port 80.
[Fri Jul 25 09:35:45 2008] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Fri Jul 25 09:35:45 2008] [notice] Child 2248: Exit event signaled. Child process is ending.
[Fri Jul 25 09:35:46 2008] [notice] Child 2248: Released the start mutex
[Fri Jul 25 09:35:47 2008] [notice] Child 2248: Waiting for 64 worker threads to exit.
[Fri Jul 25 09:35:47 2008] [notice] Child 2248: All worker threads have exited.
[Fri Jul 25 09:35:47 2008] [notice] Child 2248: Child process is exiting
[Fri Jul 25 09:35:47 2008] [notice] Parent: Child process exited successfully.
[Fri Jul 25 09:35:51 2008] [notice] Apache/2.2.4 (Win32) PHP/5.2.1 configured -- resuming normal operations
[Fri Jul 25 09:35:51 2008] [notice] Server built: Jan  9 2007 23:17:20
[Fri Jul 25 09:35:51 2008] [notice] Parent: Created child process 2076
[Fri Jul 25 09:35:51 2008] [notice] Child 2076: Child process is running
[Fri Jul 25 09:35:51 2008] [notice] Child 2076: Acquired the start mutex.
[Fri Jul 25 09:35:51 2008] [notice] Child 2076: Starting 64 worker threads.
[Fri Jul 25 09:35:51 2008] [notice] Child 2076: Starting thread to listen on port 80.
[Fri Jul 25 09:35:56 2008] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Fri Jul 25 09:35:56 2008] [notice] Child 2076: Exit event signaled. Child process is ending.
[Fri Jul 25 09:35:57 2008] [notice] Child 2076: Released the start mutex
[Fri Jul 25 09:35:58 2008] [notice] Child 2076: Waiting for 64 worker threads to exit.
[Fri Jul 25 09:35:58 2008] [notice] Child 2076: All worker threads have exited.
[Fri Jul 25 09:35:58 2008] [notice] Child 2076: Child process is exiting
[Fri Jul 25 09:35:58 2008] [notice] Parent: Child process exited successfully.

Link to comment
Share on other sites

×
×
  • Create New...