#201 ✓resolved
trix

500 internal error and suPHP

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

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

Comments and changes to this ticket

  • semias

    semias May 5th, 2011 @ 08:04 AM

    • 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>
    
  • trix

    trix May 6th, 2011 @ 02:54 AM

    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

  • semias

    semias May 8th, 2011 @ 06:03 AM

    • 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.

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