Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

500 internal error and suPHP

#201

Hi,

Sorry to put this message here, since I can not visit Google Groups.(Maybe blocked by our Great Wall).

Our web hosting company just updated on all shared severs with suPHP enabled. Our site (with CMS of Sitellite ) does not work any more.
1.) I would like to know if latest stable Sitellite 5.0.3 can work with suPHP without any problems.
2.) If I have to change the .htacces file to work with suPHP, could somebody please give me detailed instructions? As I don't know much about php.ini and .htaccess and suPHP.
3.) What else I should do to make sitellite to work with suPHP?
Thank you in advance.

Trix

Reported by trix · May 5th, 2011 @ 06:04 AM

State: resolved
Milestone: none
Assigned to: semias semias

Activity

  1. semias
    semias
    • Assigned user set to lux

    Hello Trix,

    We recently released version 5.0.4 (https://github.com/lux/sitellite) which contains many bug fixes and some new features.
    At the link you can download the latest version including the .htaccess file needed for the site to work, or if you wish you can add the following to a file named .htaccess in your website root folder (where your sitellite cms folders are placed).

    ####################################################################
    # Sitellite Content Server
    # http://www.sitellite.org/
    #
    # Copyright (c) 2001-2003 SIMIAN systems Inc.
    #
    # This software is released under the Simian Open License.
    # Please see the accompanying file docs/LICENSE for licensing
    # details!
    ####################################################################
    
    # These directives are necessary in order to tell Apache to treat
    # the file 'index' as a PHP script. Avoiding the .php extension
    # has some benefits, as some search engines don't parse .php files.
    # Otherwise, you can simply rename this file with a .php extension
    # and it should work fine with little or no modification.
    
    # Make sure PATH_INFO is available
    <IfDefine APACHE2>
       AcceptPathInfo On
    </IfDefine>
    
    # Let Apache know that 'index' is really a PHP script in disguise.
    <Files index>
       ForceType application/x-httpd-php5
    </Files>
    
    # Let Apache know that 'sitellite' is also a PHP script in disguise.
    <Files sitellite>
       ForceType application/x-httpd-php5
    </Files>
    
    # Make SCS the directory index handler (instead of index.html or index.php).
    DirectoryIndex index index.html index.php
    
    # Instruct Apache to treat XT templates as HTML files upon direct access.
    # Useful for previewing.
    AddType text/html .tpl
    
    <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteCond %{REQUEST_FILENAME} -f [OR]
       RewriteCond %{REQUEST_FILENAME} -d
       RewriteRule .* - [L]
       RewriteRule ^(.+)$ index?_rewrite_sticky=$1 [QSA,L]
    </IfModule>
    

    May 5th, 2011 @ 08:04 AM

  2. trix
    trix

    Hello, Semias,

    Thanks for your quick reply, the new .htaccess file fix the problem.Thank you.

    I vivisted the link, but I can not find a download link at that site to download 5.0.4 as a zip file or tar.gz file,only 5.0.3 stable, I can only FTP to my website. Could you please give me a link to download 5.0.4 as one file?
    Thanks again.
    best regards.
    Trix

    May 6th, 2011 @ 02:54 AM

  3. semias
    semias
    • State changed from new to resolved
    • Assigned user changed from lux to semias

    Hi Trix,

    I forgot to tag the new release on github so you can't really make out the proper version, I will fix this asap.

    Anyway, to download the latest version just enter either of the following links in your browser:
    zip: https://github.com/lux/sitellite/zipball/master
    tarball: https://github.com/lux/sitellite/tarball/master
    This link will always produce an archive of the latest release.

    Glad I could help.

    May 8th, 2011 @ 06:03 AM

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.