01.12.2012 Views

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Fig. 10.5<br />

160<br />

��<br />

��<br />

��<br />

fact that <strong>the</strong>re are line breaks in this book where <strong>the</strong>re should not be<br />

in <strong>the</strong> actual configuration file.<br />

You should now see a long list with information under <strong>the</strong> heading<br />

“Test <strong>the</strong> environment for TWiki.” If, instead, you see programming<br />

code beginning with #!, <strong>the</strong> directory twiki\bin has not been released<br />

by <strong>the</strong> server as a CGI directory. Check <strong>the</strong> path in <strong>the</strong><br />

Apache configuration file. If you see <strong>the</strong> error message “Internal<br />

server error,” <strong>the</strong> shebang line does not link to Perl. You can find out<br />

how to remedy this in Appendix A.<br />

Thus concludes <strong>the</strong> Windows-specific portion of <strong>the</strong> installation<br />

process.<br />

10.4<br />

Completing TWiki Installation<br />

The script testenv is intended to be a diagnostic tool with which to<br />

view <strong>the</strong> current configuration and find any errors present. You can<br />

access it in <strong>the</strong> browser via <strong>the</strong> URL http://[hostname]<br />

/twiki/[binpath]/testenv; thus, for example: http://localhost/twiki/<br />

bin/testenv.<br />

A list is first displayed with <strong>the</strong> values of <strong>the</strong> environment variables.<br />

In <strong>the</strong> area “CGI setup,” you will find <strong>the</strong> installed and any required<br />

10 Installing TWiki

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!