Hi
I'm hosted on a Webhotel with PHP 4.2.2., MySQL
3.23.54 and Apache 1.3.27. I only have ftp access and
cannot run install.sh. The rewrite_module is available.
But when I upload everything and adds the needed info
into the .htaccess file, it just gives me an Internal Server
error.
What can it be? My .htaccess file?
I've attached my .htaccess file so you can see if that's
the one that makes trouble.
Logged In: YES
user_id=467618
If you are using the 1.0.1 release you should definitely
upgrade it to 1.1.0 because of significant changes in the
new release.
The lack of access to the shell account is known constraint
on the xsphpcms installation process and it has been
reported to me. I'll create the installation script which will
be accessible throughout the web interface in the next
release.
I can't find your .htaccess file. Just attach it again or send
it to me by email. I'll revise it and post on this page and it
will be included to the next project release as well.
Logged In: YES
user_id=52836
Okay the downloaded version I installed was 1.1.0 so it
cannot be that :(
This is how my .htaccess looks like:
ErrorDocument 403 http://s6x.dk/cms/error/en/403.html
ErrorDocument 404 http://s6x.dk/cms/error/en/404.html
ErrorDocument 500 http://s6x.dk/cms/error/en/500.html
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteMap lowercase int:tolower
RewriteCond ${lowercase:%{REQUEST_URI}}
^/web/www.s6x.dk/www/cms/
RewriteRule ^(.+) ${lowercase:%{REQUEST_URI}} [C]
RewriteCond %{REQUEST_URI} !
^/web/www.s6x.dk/www/cms/scripts/
RewriteCond %{REQUEST_URI} !
^/web/www.s6x.dk/www/cms/[a-z-]+/img/
RewriteCond %{REQUEST_URI} !
^/web/www.s6x.dk/www/cms/[a-z-]+/css/
RewriteRule ^/web/www.s6x.dk/www/cms/
(.*) /web/www.s6x.dk/www/cms/index.php/$1
</IfModule>
Can you please help me out, this CMS looks real nice.
Cheers
Rasmus
Logged In: YES
user_id=467618
The problem is that you can not use url rewriting for the
xsphpcms using .htaccess file. However you can still use
the xsphpcms without it. In that case you should deny
access to the system directories making the following
entries in your .htaccess file.
ErrorDocument 403
http://s6x.dk/cms/index.php/error/en/403.html
ErrorDocument 404
http://s6x.dk/cms/index.php/error/en/404.html
ErrorDocument 500
http://s6x.dk/cms/index.php/error/en/500.html
<Files ~ "^_(bin|doc|inc|lib|log|pub|tpl)$">
Order allow,deny
Deny from all
</Files>
Make sure that the directory where system resides has
_log and _pub directories. If not then create them. It is
important to notice that _log directory needs to has write
permission for web server user and empty log file with the
name event_log with the same write permission. These all
tasks are maintainded by the secure.sh, which is out of
your control. The _log and _pub directories are not present
by default only when you are extracing the project
distribution under Win using WinZip! (I haven't tested
others).