Tags:
create new tag
view all tags
Question

I am a novice trying an install on my hosted site. I have set up my directories like this:

/bin/
/dev/
/etc/
/home/
/lib/
/temp/
/usr/
	  /bin/
	  /lib/
	  /local/
				/bin/
				/cpanel/
				/frontpage/		
				/etc/
						/counter/
						/httpd/
								 /cgi-bin/
											/twiki/
													/bin/
								 /cgi-src/
								 /conf/
								 /htdocs/
										  /twiki/
												 /pub/ 
								 /icons/
								 /logs/
								 /twiki/	 
										 /data/
										 /templates/
				
/var/

I'm making a little progress. Does this look ok so far?

Made a few more changes, and finally got the message; "Forbidden, you don't have access on this server", when I typed in http://my.domain.com/cgi-bin/twiki/bin/. I must be making a little progress...

  • TWiki version:
  • Web server:
  • Server OS:

-- GlennTamura - 26 Mar 2001

Answer

The "Forbidden" message you get for accessing http://my.domain.com/cgi-bin/twiki/bin/ is actually what you want because you should not be able to see the content of a cgi-enabled directory. Try http://my.domain.com/cgi-bin/twiki/bin/testenv to see if you can execute cgi scripts.

Here are the wikicfg.pm settings you probably need in your case:

$wikiHomeUrl		= "http://my.domain.com/cgi-bin/twiki/bin/view";
$defaultUrlHost	= "http://my.domain.com";
$scriptUrlPath	 = "/cgi-bin/twiki/bin";
$pubUrlPath		 = "/twiki/pub";
$pubDir			  = "/usr/local/etc/home/httpd/htdocs/twiki/pub";
$templateDir		= "/usr/local/etc/home/httpd/twiki/templates";
$dataDir			 = "/usr/local/etc/home/httpd/twiki/data";

-- PeterThoeny - 28 Mar 2001

Thank you. I was able to execute CGI scripts at first, (testenv), but now I get "Internal Server Error". I have some "warnings", and some "errors" on the original "Test the CGI environment for TWiki" report. I will keep working on it. If I can't get it working, should I post the original "Test the CGI Environment for TWiki" report?

SupportStatus:
AnsweredQuestions
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2001-03-30 - GlennTamura
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.