***: ChanServ sets mode: +o PeterThoeny
ChanServ sets mode: +o PeterThoeny deekthesqueak: So I'm trying to install Twiki 5.1.1 on my Ubuntu server and no matter what I do to the apache config files I can't access anything in the <root>/pub directory PeterThoeny: deekthesqueak: some issue with apache config deekthesqueak: I didn't see it anywhere but are there any problems running it at wiki.domain.com PeterThoeny: did you use the apache config generator on twiki.org? deekthesqueak: I have tried yes
including removing all but the essential directives PeterThoeny: whatis the file path of your twiki root? deekthesqueak: /home/<user>/www/public_html/domian.com/wiki
is it going to cause problems that I have the root at <blah>/wiki instead of <blah>/wiki/twiki? PeterThoeny: should not be an issue
taking einstein as your <user>, set this:
Alias /twiki/pub "/home/einstein/www/public_html/domian.com/wiki/pub" deekthesqueak: that is what it is currently set as PeterThoeny: hold on, the place you put twiki is a security issue deekthesqueak: ? PeterThoeny: do you have control over where cgi-bin is and html doc root is? deekthesqueak: I do PeterThoeny: so, don;t put twiki root into an html doc dir
is /home/einstein/www/public_html an html doc root? deekthesqueak: no PeterThoeny: ah, ok, so this should be ok deekthesqueak: DocumentRoot /home/einstein/www/public_html/domain.com/wiki is the document root
ServerName wiki.domain.com PeterThoeny: that is not good deekthesqueak: ok PeterThoeny: security issue: twiki/data must not be in doc root
here is a scenario: deekthesqueak: so the way all the other subdomains are setup are /home/einstein/www/public_html/domain.com/<subdomain> PeterThoeny: 1. set /home/einstein/www/public_html/domain.com/html as doc root
2. keep /home/einstein/www/public_html/domain.com/wiki as twiki root (containing data, pub, lib, bin etc)
3. Alias /twiki/pub "/home/einstein/www/public_html/domian.com/wiki/pub"
4. ScriptAlias /do "/home/einstein/www/public_html/domian.com/wiki/bin"
5. do <directory> of wiki/pub and wiki/bin as per apache config generator
that way you should be able to access attachments in pub, such as http://www.domain.com/twiki/pub/TWiki/TWikiLogos/T-badge-88x31.gif
then run configure: http://www.domain.com/do/configure and do the initial configuration deekthesqueak: as soon as i change the document root I get Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace PeterThoeny: in your html doc root /home/einstein/www/public_html/domain.com/html put a static html page, your home, or a redirect to the twiki home
make sure you do not have nested html doc roots and/or cgi bins
gotta go... deekthesqueak: thanks for the attempt
be well ***: deekthesqueak has left