#165 new
Jim

.htaccess is causing 500 internal server error.

Reported by Jim | September 8th, 2010 @ 09:47 PM

I've have the latest version of sitellite on my webserver. I have yet to install it do to a 500 internal server error.

the error log reports this.

/home/c835966/public_html/cms/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration.

Comments and changes to this ticket

  • Jamieson Christian

    Jamieson Christian September 19th, 2010 @ 04:10 PM

    Sitellite .htaccess does not work with suPHP-based web hosts out of the box. Here is an exerpt from a LunarPages support article:

    Your .htaccess file has php_values or php_flags in it. This causes a 500 Internal server error when attempting to execute the script.

    The php_values and php_flags will need to be removed from your .htaccess file. Take the contents removed from .htaccess and place it into a file you create called php.ini. Remember to remove the php_flag and php_value part before the directives as php.ini files do not require those in front of the values.

    Because php.ini values are not shared across directories, you would need a separate php.ini file in each folder that has .htaccess or that requires the php_values or php_flags. In order to avoid doing this, you can place a line in the .htaccess file to have all values in your public_html php.ini to be shared across all folder. This line would be the following:

    suPHP_ConfigPath /path/to/document/root

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Sitellite web content management system.

People watching this ticket

Pages