On 2013-03-09 08:57, Simon Tremblay wrote:
Hello,
I installed Fossil version 1.22 easily on my shared web host, but I'm
unable to install any version higher than this one.
My CGI script is simple:
#!/home/reallyho/public_html/cgi-bin/fossil
repository: /home/reallyho/public_html/rhs.fossil
I set these permissions on Fossil files (it might be too much?):
CGI: rhs.cgi 755 (in /home/reallyho/public_html/)
Repo: rhs.fossil 755 (in /home/reallyho/public_html/)
Fossil: fossil 755 (in /home/reallyho/public_html/cgi-bin/)
I also adjusted my .htaccess file to:
<FilesMatch ".(htaccess|fossil)$">
Deny from all
</FilesMatch>
I'm really a novice with Linux, but my hosting seems quite standard.
Here are what my CPanel gives as specs:
Apache version 2.2.22
PHP version 5.3.15
MySQL version 5.1.66-cll
Architecture i686
Operating system linux
Perl version 5.8.8
Kernel version 2.6.18-308.11.1.el5PAE
My phpinfo is available here if it might help:
http://reallyhotstuff.com/phpinfo.php [1]
A working Fossil with version 1.22 is here:
http://reallyhotstuff.com/rhs.cgi/index [2]
I get an error 500 whenever I try the same configuration with an
earlier version (1.23 onward).
I would really like to be able to install the latest Fossil version
on this webhost.
Is there a configuration change I'm missing? What do you recommend I
try?
If you need more information I'll gladly try to give it.
Thanks a lot for your help.
Links:
------
[1] http://reallyhotstuff.com/phpinfo.php
[2] http://reallyhotstuff.com/rhs.cgi/index
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
I have made executables with Uclibc which is quite involving you need
to build a whole toolchain.
today I Used dietc. which is much easier.
1) cvs -d :pserver:[email protected]:/cvs -z9 co dietlibc
2) cd dietlibc
3) make
4) cp bin-x86_64/diet $home/bin (and have that in your PATH also notice
that it support 64 bit))
5) cd fossil
6) CC="diet gcc" ./configure --static
7) make
Dietc warned of these things:
bld/attach.o: In function `attachadd_page':
/home/renez/src/scm/./src/attach.c:318: warning: warning: your code
still has assertions enabled!
bld/allrepo.o: In function `all_cmd':
/home/renez/src/scm/./src/allrepo.c:225: warning: warning: your code
uses stdio (7+k bloat).
bld/cgi.o: In function `cgi_http_server':
/home/renez/src/scm/./src/cgi.c:1334: warning: warning: system() is a
security risk. Use fork and execvp instead!
bld/http_socket.o: In function `socket_open':
/home/renez/src/scm/./src/http_socket.c:148: warning: warning:
gethostbyname() leaks memory. Use gethostbyname_r instead!
/home/renez/src/dietlibc/bin-i386/dietlibc.a(vsscanf.o): In function
`vsscanf':
vsscanf.c:(.text+0x6f): warning: warning: the scanf functions add
several kilobytes of bloat.
/home/renez/src/dietlibc/bin-i386/dietlibc.a(vfprintf.o): In function
`vfprintf':
vfprintf.c:(.text+0x56): warning: warning: the printf functions add
several kilobytes of bloat.
--
Rene
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users