Tags:
create new tag
view all tags

Question

Hi, I am new to twiki. I have followed the steps that are in http://twiki.org/cgi-bin/view/Codev/SolarisInstallCookbook#Apache_Web_Server After finishing http://localhost/twiki/bin/view I cant see any images and not good look and feel

In /var/apache2/logs/error_log it shows

[Fri Dec 22 16:56:21 2006] [error] [client 167.241.197.88] File does not exist: /var/apache2/htdocs/apps/twiki-root/twiki/pub/TWiki/TWikiPreferences, referer: http://wal2sn001.vis.verizon.com/twiki/bin/view/TWiki/TWikiPreferences

my apache configuration file look likes

# Autogenerated httpd.conf file for TWiki.
# Generated at http://twiki.org/cgi-bin/view/TWiki/ApacheConfigGenerator

#Block access from badly behaving robots and site sucking type programs.
BrowserMatchNoCase ^SiteSucker blockAccess
BrowserMatchNoCase ^iGetter blockAccess
BrowserMatchNoCase ^larbin blockAccess
BrowserMatchNoCase ^LeechGet blockAccess
BrowserMatchNoCase ^RealDownload blockAccess
BrowserMatchNoCase ^Teleport blockAccess
BrowserMatchNoCase ^Webwhacker blockAccess
BrowserMatchNoCase ^WebDevil blockAccess
BrowserMatchNoCase ^Webzip blockAccess
BrowserMatchNoCase ^Attache blockAccess
BrowserMatchNoCase ^SiteSnagger blockAccess
BrowserMatchNoCase ^WX_mail blockAccess
BrowserMatchNoCase ^EmailCollector blockAccess
BrowserMatchNoCase ^WhoWhere blockAccess
BrowserMatchNoCase ^Roverbot blockAccess
BrowserMatchNoCase ^ActiveAgent blockAccess
BrowserMatchNoCase ^EmailSiphon blockAccess
BrowserMatchNoCase ^CrownPeak-HttpAgent blockAccess
BrowserMatchNoCase ^$ blockAccess

# The ScriptAlias defines the bin directory as a directory where CGI
# scripts are allowed.
# The first parameter will be part of the URL to your installation e.g.
# http://my.co.uk/twiki/bin/view/...
# The second parameter must point to the physical path on your disc.
ScriptAlias /twiki/bin "/apps/twiki-root/twiki/bin"

# The Alias defines a url that points to the root of the twiki installation.
# It is used to access files in the pub directory (attachments etc)
# It must come _after_ the ScriptAlias.
Alias /twiki "/apps/twiki-root/twiki"

# This specifies the options on the TWiki scripts directory. The ExecCGI
# and SetHandler tell apache that it contains scripts. "Allow from all"
# lets any IP address access this URL.
<Directory "/apps/twiki-root/twiki/bin">
    AllowOverride All
    Order Allow,Deny
    Allow from all
    Deny from env=blockAccess

    Options ExecCGI FollowSymLinks
    SetHandler cgi-script

    # Password file for TWiki users
    AuthUserFile /apps/twiki-root/twiki/data/.htpasswd
    AuthName 'Enter your WikiName: (First name and last name, no space, no dots, capitalized, e.g. JohnSmith). Cancel to register if you do not have one.'
    AuthType Basic
    
    # File to return on access control error (e.g. wrong password)
    # By convention this is the TWikiRegistration page, that allows users
    # to register with the TWiki. Apache requires this to be a *local* path.
    ErrorDocument 401 /twiki/bin/view/TWiki/TWikiRegistration

# Limit access to configure to specific IP addresses and or users.
# Make sure configure is not open to the general public.
# It exposes system details that can help attackers.
<FilesMatch "^(configure)$">
    SetHandler cgi-script
    Order Deny,Allow
    Deny from all
    Allow from localhost,10.11.23.177,167.241.197.88
    Require user BaskarNamazhwar
    Satisfy Any
</FilesMatch>

</Directory>

# This sets the options on the pub directory, which contains attachments and
# other files like CSS stylesheets and icons. AllowOverride None stops a
# user installing a .htaccess file that overrides these options.
# Note that files in pub are *not* protected by TWiki Access Controls,
# so if you want to control access to files attached to topics you need to
# block access to the specific directories same way as the ApacheConfigGenerator
# blocks access to the pub directory of the Trash web
<Directory "/apps/twiki-root/twiki/pub">
    Options None
    AllowOverride None
    Order Allow,Deny
    Allow from all
    Deny from env=blockAccess

    # This line will redefine the mime type for the most common types of scripts
    # It will also deliver HTML files as if they are text files
    AddType text/plain .html .htm .shtml .php .php3 .phtml .phtm .pl .py .cgi
</Directory>

# Security note: All other directories should be set so
# that they are *not* visible as URLs, so we set them as =deny from all=.
<Directory "/apps/twiki-root/twiki/data">
    deny from all
</Directory>

<Directory "/apps/twiki-root/twiki/templates">
    deny from all
</Directory>

<Directory "/apps/twiki-root/twiki/lib">
    deny from all
</Directory>

<Directory "/apps/twiki-root/twiki/locale">
    deny from all
</Directory>

<Directory "/apps/twiki-root/twiki/tools">
    deny from all
</Directory>

I don’t know why it shows. What are all the steps I have to do to deploy my website with twiki. i am using solaris 10 and apache2

Please give me suggestion if you can send me reply baskarkpm@yahooPLEASENOSPAM.co.in

Thanks in advance

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: default plugins i dont install any extra
Server OS: solaris 10
Web server: apache2
Perl version: 5.8.4
Client OS: windows xp
Web Browser: IE
Categories: Hosting, Missing functionality, Deployment, Skin

-- BaskarNamazhwar - 22 Dec 2006

Answer

ALERT! 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.

I could not find anything odd. You can try to disable the ScriptAlias and Alias directives and see if that fixes the error. Are you on host? if so, then you might want to ask server what path to put into the directory directive because sometimes it is not what it seems to be.

-- SteveStark - 23 Dec 2006

It looks like your {PubDir} and/or {PubUrlPath} are incorrect. Run configure and make sure they point to the right location.

-- PeterThoeny - 24 Dec 2006

I have a quite similar problem with tkwiki 4.2 and 4.3 (tried both) on XP, following mainly the 4.2 installation guide 1. Pub-directory {PubDir} and/or {PubUrlPath} had to be set to twiki/data for finding the right files, the pub-dir was not unzipped during the installation. 2. The file named in the error-log does not exist: C:/WWW/twiki/pub/TWiki/BehaviourContrib, fof apache seem to be a result of the .txt ending of the files, in this example TWikiJavascripts, copying such a file BehaviourContrib.txt to BehaviourContrib this file was found, but an error for behaviour.compressed.js occured. Is it a kind of registration error of the filetype txt?

-- JoergEckardt - 2009-05-20

Problem solved for me: The intallation zip.-file came witout the pub-directory, using the tgz-version everything went fine.

-- JoergEckardt - 2009-05-21

Change status to:
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2009-05-21 - JoergEckardt
 
  • 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.