.htaccess help

3 views
Skip to first unread message

Joey

unread,
Jul 15, 2008, 8:35:50 PM7/15/08
to ccTiddly
I wanted to start off by saying I'm very excited about the direction
of TiddlyWiki and in particular ccTiddly. I work in cultural
anthropology and have loved the features of TW but have had concerns
about LOTS of information. (Hence my excitement for a PHP/SQL version
of TW)

So you know, I don't write PHP or Javascript, but I have a decent
knowledge of how scripting languages work and am fairly knowledgeable
about the find/replace function. :P (I have also put together a
customized Joomla website.)

Okay, I am running XAMPP with Apache HTTPD 2.2.9, MySQL 5.0.51b and
PHP 5.2.6. I had the problem with the ccVariables window.url not
getting the correct path, so I entered it in manually. Moreover, the
only way I could access the site was by commenting out all the lines
in the .htaccess.

As of right now it's just in the test bed of XAMPP so for now it's not
a problem. However, I plan to get the site onto a public webserver and
would like some direction as to having a functional .htaccess file.
Any help is appreciated.

Joey

simon mcmanus

unread,
Jul 16, 2008, 3:00:42 AM7/16/08
to ccTi...@googlegroups.com
Hi Joey,

For information on how to get mod-rewrite and .htaccess files working
take a look at the below post :

http://simonmcmanus.com/2007/10/22/enable-and-use-mod-rewrite/

Let me know if that helps.

Manually changing the ccVariables tiddler is not a good idea because
it stores your login state. By overriding the tiddler you will also
be overriding your login state. You may not be able to log out.

Can I suggest for the time being you delete the ccVariables tiddler
(from the TiddlyWiki UI)

Other people have mentioned similar issues when running ccTiddly in
the root folder of their web server. I will try to investigate this
issue soon and get it fixed for 1.7.

In order to get window.url working can you try moving ccTiddly into a
sub folder.

eg

from :

127.0.0.1/

to

127.0.0.1/ccTiddly

Let me know if that helps.

Thanks

Simon

You should then

--
Simon McManus

blog : http://simonmcmanus.com

Joey

unread,
Jul 16, 2008, 9:49:06 AM7/16/08
to ccTiddly
Well, I fixed the window.url issue by replacing the ccVariable.php
with the original file, deleting the ccVariable tiddly through the
tiddlywiki UI and then put ccTiddly files into a folder called
"tiddly". Now my address is http://127.0.0.1/tiddly/; so that works
now!
However, I tried your suggestions with the .htaccess file and still
couldn't get it to run. =( So as of right now, my .htaccess file is
completely commented out.
I have an earlier version of XAMPP; should I give that a whirl? I can
just back up my data and reinstall it. I don't know if that would help
though.
Thanks for the help!
Joey

Oh, I figured I should put the error I was getting:
Server error!
The server encountered an internal error and was unable to complete
your request. Either the server is overloaded or there was an error in
a CGI script.
If you think this is a server error, please contact the webmaster.
Error 500
127.0.0.1
07/16/08 21:24:28
Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h
mod_autoindex_color PHP/5.2.6

David Gardiner

unread,
Jul 16, 2008, 1:10:34 PM7/16/08
to ccti...@googlegroups.com
Hi Joey
 
I got that error and solved it by going to httpd.conf file in xampp/apache/conf  and removing the # from the line
LoadModule rewrite_module modules/mod_rewrite.so
 
 I hope that helps you
 
David
 
 







> Date: Wed, 16 Jul 2008 06:49:06 -0700
> Subject: Re: .htaccess help
> From: thelinu...@gmail.com
> To: ccTi...@googlegroups.com

simon mcmanus

unread,
Jul 16, 2008, 4:11:17 PM7/16/08
to ccTi...@googlegroups.com
Hi Joey,

Let me know if David's suggestion does not help.

Thanks

Simon

Joey

unread,
Jul 17, 2008, 12:21:23 AM7/17/08
to ccTiddly
Yup that did it! By using the original .htaccess file that came with
ccTiddly 1.6.2 and uncommenting the line in httpd.conf it worked just
fine. I also restarted XAMPP for good measure. (Though I'm not sure if
that was a necessary step.)

Thanks for the help guys.

Joey

On Jul 17, 6:11 am, "simon mcmanus" <mcmanus.si...@gmail.com> wrote:
> Hi Joey,
>
> Let me know if David's suggestion does not help.
>
> Thanks
>
> Simon
>
>
>
> On Wed, Jul 16, 2008 at 6:10 PM, David Gardiner <gle...@hotmail.com> wrote:
> > Hi Joey
>
> > I got that error and solved it by going to httpd.conf file in
> > xampp/apache/conf  and removing the # from the line
> > LoadModule rewrite_module modules/mod_rewrite.so
>
> >  I hope that helps you
>
> > David
>
> > ________________________________
> >> Date: Wed, 16 Jul 2008 06:49:06 -0700
> >> Subject: Re: .htaccess help
> >> From: thelinuxnew...@gmail.com
> >> To: ccTi...@googlegroups.com
>
> >> Well, I fixed the window.url issue by replacing the ccVariable.php
> >> with the original file, deleting the ccVariable tiddly through the
> >> tiddlywiki UI and then put ccTiddly files into a folder called
> >> "tiddly". Now my address ishttp://127.0.0.1/tiddly/;so that works
Reply all
Reply to author
Forward
0 new messages