Question
I am new to Twiki and am having trouble getting past the first installation steps. When I click on 'Configure' from the default twiki screen (
http://domain.com/twiki
), the configure page/script displays in the browser as text. No other configurations have been made yet because I cannot get past this screen. Any suggestions or assistance would be greatly appreciated.
I created a new .htaccess file in the bin directory with default settings and reloaded the twiki configure page. This time, I got prompted for a login and to click Cancel if no Twiki login exists. I clicked 'Cancel' and received the following error:
{ScriptUrlPath}/view/TWiki/TWikiRegistration as text in the browser. Which file(s) do I need to edit to change the URLPath? Thanks for all the help!
The {ScriptURLPath} in the
LocalSite.cfg in the lib directory has "/twiki/bin" as the default setting. I did take the .txt off the original
LocalSite.cfg file to use that rather than twiki.cfg for global settings.
Environment
--
WesShi - 28 Jun 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Please check your htaccess files : the SetHandler cgi-script directive may be not set up.
--
BenoitFauvel - 28 Jun 2006
We need more than 3 lines to help you.
Can you take us through the steps you have taken until you get to where you are now? Especially how did you configure apache? On a hosted site this may either be in a special config file or using .htaccess files.
--
KennethLavrsen - 28 Jun 2006
This is on Dreamhost (shared hosting), so apache cannot be configured with a normal account. I use Dreamhost for TWiki, and it works well except for the speed.
You can leave the
.htaccess file as is. But the
bin directory should have
chmod 711, and all residing files within
chmod 755. Other files will be fine with
644.
--
ArthurClemens - 28 Jun 2006
Given the number of times I repeat this in Support web and irc, I need to create a macro for entering this info: see the note at the end of INSTALL.html for info on a quick way to adjust the permissions in the pub (and data) directories for hosted sites. I pushed for including this specifically because my experience with dreamhost was that TWiki would not run correctly without these changes to permissions. Regarding use of the bin/.htaccess file in a dreamhost installation, I simply copy the htacces.txt file that's in the distribution and delete everything
except the "set handler" line. That's the only thing you need.
--
LynnwoodBrown - 29 Jun 2006
This asks for a Dreamhost install
SupplementalDocument in the TWiki web.
--
PeterThoeny - 29 Jun 2006
I'm not so sure if additional documentation is needed in this case. Neither of the issues I mention above are specific to dreamhost but seem to be common to most hosted installations.
--
LynnwoodBrown - 29 Jun 2006
Good point. The standard installation docs should be updated for hosted installs, or a generic supplemental install doc for hosted sites should be created.
--
PeterThoeny - 01 Jul 2006
DreamhostSetupNotes is probably a bit out of date, but does provide a generic setup approach for Dreamhost. Due to their use of
suexec as part of
SecureSetup, it's important to get the directory permissions exactly right.
--
RichardDonkin - 05 Jul 2006