Jump to content

Problems with AddHandle and Action parameters in htaccess, causing 500 error


cgm225

Recommended Posts

I am working through a tutorial on how to make an OOP front controller here.  However, I am having trouble just configuring my .htaccess file with AddHandle and Action parameters.

 

I have added the following code::

AddHandler front-controller .site
Action front-controller /Controller.php

 

But get the following error:

////////////////////////////////////////////////////////

500 Internal Server Error

 

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

 

Please contact the server administrator, [email protected] 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.3 (Debian) DAV/2 SVN/1.4.2 mod_python/3.2.10 Python/2.4.4 PHP/5.2.0-8+etch7 Server at example.com Port 80

////////////////////////////////////////////////////////

 

Note: This error does NOT occur when only the AddHandle parameter is included, but occurs when BOTH the Addhandle and Action parameters are included together as above.

 

Any ideas?

 

Thank you in advance!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.